What is {craft} of {Patrick Henry}, that has {field of this craft} is {law} ?
What is the create of Patrick Henry, whose field of this create is law.
What is the craft of Patrick Henry, whose field of this craft is law.
SELECT ?p WHERE { ?p property:field_of_this_occupation resource:law . resource:Patrick_Henry property:occupation ?p }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q311885> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P106>. ?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/P425> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q7748> . }
SELECT ?answer WHERE { wd:Q311885 wdt:P106 ?answer . ?answer wdt:P425 wd:Q7748}
lawyer