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

            foreach (List <string> s in  results)
            {
                relations.Add(new Relation(s));
            }
            return(relations);
        }
Ejemplo n.º 2
0
 public List <List <string> > simpleGetRelations(List <string> uri, int Distance, int Limit = 50)
 {
     return(RelFinder.getRelations(uri, Distance, Limit));
 }