What is {toponym} of {thorium}, that has {parent} is {Odin} ?
Who is the toponym of thorium, and encompasses a parent named Odin?
Who is the toponym of thorium, and has a parent named Odin?
SELECT ?k WHERE { resource:thorium property:named_after ?k . ?k property:father resource:Odin }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1115> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P138>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P22> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q43610> . }
SELECT ?answer WHERE { wd:Q1115 wdt:P138 ?answer . ?answer wdt:P22 wd:Q43610}
Thor