What is the {trademark} for {headquarters location} of {Barcelona}
Where is the headquarters of Barcelona and what is the trademark?
What is the trademark of Barcelona, and where is their headquarters located?
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Barcelona . ?w rdf:type ontology:trademark }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P159> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1492> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q167270> } 
 select distinct ?sbj where { ?sbj wdt:P159 wd:Q1492 . ?sbj wdt:P31 wd:Q167270 } 
eDreams Majorica Heartbrand