Ejemplo n.º 1
0
        public List <Relation> getRelationWithLabels(List <string> uri, int Distance, int Limit = 50)
        {
            List <List <KeyValuePair <string, string> > > results = RelFinder.getRelationWithLabels(uri, Distance, Limit);
            List <Relation> relations = new List <Relation>();

            foreach (List <KeyValuePair <string, string> > s in results)
            {
                relations.Add(new Relation(s));
            }

            return(relations);
        }
Ejemplo n.º 2
0
 public List <List <KeyValuePair <string, string> > > simpleGetRelationWithLabels(List <string> uri, int Distance, int Limit = 50)
 {
     return(RelFinder.getRelationWithLabels(uri, Distance, Limit));
 }