What is {words by} of {Macarena}, that has {born as} is {Antonio Romero Márquez} ?
gsdfhgdfh
gsdfhgdfh
SELECT ?h WHERE { FILTER ( CONTAINS ( ?p , 'Antonio Romero Márquez' ) ) . ?h property:birth_name ?p . resource:Macarena property:lyrics_by ?h }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1149738> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P676>. ?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/P1477> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <Antonio Romero Márquez> . }
SELECT ?answer WHERE { wd:Q1149738 wdt:P676 ?answer . ?answer wdt:P1477 ?x FILTER(contains(?x , 'Antonio Romero Márquez'))}