What is {last name} of {Carlos Vives}, that has {used language} is {Spanish} ?
What is the remaining name of Carlos Vives, whose language is Spanish?
What is the last name of Carlos Vives, whose language is Spanish?
SELECT ?h WHERE { resource:Carlos_Vives property:family_name ?h . ?h property:language_of_work_or_name resource:Spanish }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q965888> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P734>. ?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/P407> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1321> . }
SELECT ?answer WHERE { wd:Q965888 wdt:P734 ?answer . ?answer wdt:P407 wd:Q1321}
Vives