What is {used language} of {James A. Garfield}, that has {history} is {history of the English language} ?
What language is used by James A. Garfield, whom has history with the English language?
"What is the used language of James A.Garfield,that has history in history of the English language?"
SELECT ?f WHERE { resource:James_A._Garfield property:languages_spoken,_written_or_signed ?f . ?f property:history_of_topic resource:history_of_the_English_language }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34597> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1412>. ?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/P2184> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q784975> . }
SELECT ?answer WHERE { wd:Q34597 wdt:P1412 ?answer . ?answer wdt:P2184 wd:Q784975}