here is my rdf document which is generated by the rowlex library :
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:ns="http://xmlns.com/foaf/0.1/"
xmlns:privateinfos="http://domain/privateinfos/">
<ns:Person rdf:about="Node 1">
<ns:depiction rdf:resource="Default.png" />
<privateinfos:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Description</privateinfos:description>
<ns:knows>
<ns:Person rdf:about="6779ac10-210b-40d2-8111-711db6988bb9" />
</ns:knows>
</ns:Person>
<ns:Person rdf:about="Node 2">
<ns:depiction rdf:resource="Default.png" />
<privateinfos:description rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Description 2</privateinfos:description>
</ns:Person>
</rdf:RDF>
And I am trying to retrieve the Node 1 and Node 2 individuals with this code :
List<Person> person_list = new List<Document>();
OwlThing[] Persons = _rdfDocument.GetIndividuals(Person.Uri, true);
foreach (Person item_found in Persons)
{
person_list.Add(item_found);
}
return person_list;
unfortunatly person_list returns with the following data :
[0] : Node 1
[1] : 6779ac10-210b-40d2-8111-711db6988bb9
[2] : Node 2
So is there a way/methode to get only the node 1 and 2 without their sub elements in the list ? (of courses the individuals ID's are dynamically generated so i can't search for a specific ID)
Thanks.