What is the {kinship} with the {MIN(family relationship degree)} whose {series} is {Ahnentafel}  ?
Name the Kinship with the lowest family relationship degree whose series is Ahnentafel
What is the kinship with the lowest family relationship degree whose series is Ahnentafel ?
SELECT ?h WHERE { ?h rdf:type ontology:kinship . ?h property:family_relationship_degree ?v . ?h property:part_of_the_series resource:Ahnentafel }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q171318>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P4500>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P179> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q267388> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q171318 . ?ent wdt:P4500 ?obj . ?ent wdt:P179 wd:Q267388} ORDER BY ASC(?obj)LIMIT 5 
mother father maternal grandmother maternal grandfather paternal grandmother