What is the {business} for {headquarters location} of {Barcelona}
The headquarters of which business is located in Barcelona?
Which is the business with the headquarters location in Barcelona?
SELECT DISTINCT ?l WHERE { ?l property:headquarters_location resource:Barcelona . ?l rdf:type ontology:business }
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/Q4830453> } 
 select distinct ?sbj where { ?sbj wdt:P159 wd:Q1492 . ?sbj wdt:P31 wd:Q4830453 } 
Desigual Grifols Chupa Chups Almirall Bodegas Torres Festina H10 Hotels Moritz Transports Metropolitans de Barcelona Lust Films Caprabo Ninco BRB Internacional MACOSA Byphasse S.A. Damm Galactic Suite Design La Maquinista Terrestre y Maritima Ediciones Zinco Fluendo Flumotion CatalunyaCaixa Grupo Compás Web Medica Acreditada SEPU Abiquo Akamon Entertainment Alstom Wind COMSA EMTE Edesa Enasa Euroleague Basketball Ficosa Gigle Networks Magatzems El Siglo BD Barcelona Design Catalana de Gas Cromosoma Frigo imm sound Inbenta InfoJobs Le cool Mazel Group Engineering Pangea.org Production Paradise Robot Comics TSS – Transport Simulation Systems Eurostars Hotels FECSA Selecta Visión Banca Catalana Editorial Bosch Neufville Typefoundry Abantia IDAPT VOILÀ Hotel Rewards COMSA EMTE Rakuten TV ALBEDO telecom Metalogenia Inter Electrónica SOM Biotech LetsBonus SOM Esteve Unipost Typeform.com Majestic Hotel Group Alstom (Spain) CA Technologies (Spain) Schneider Electric (Spain) Boluda División Industrial (Spain) Enide Solutions (Spain) GTD (Spain) Barcelona Digital Centro Tecnológico Ames (Spain) AIA (Spain) Buildair (Spain) Applied Research Using OMIC Sciences (Spain) Competitive Design Network (Spain) Ecosystem (Spain) GTD System & Software Engineering (Spain) Cap Eiger (Spain) Senso (Spain) Going Green (Spain) ImpactMedia (Spain) Institut Universitari de Ciencia i Tecnologia (Spain) Industrial Galvanizadora (Spain) Enreco 2000 (Spain) Otsuka Pharmaceutical (Spain) AB-Biotics (Spain) Ability Pharmaceuticals (Spain) Avizorex Pharma (Spain) Bioibérica Barcelonabeta Gebro Pharma (Spain) Salvat (Spain) Ordesa (Spain) Uriach (Spain) Indukern (Spain) Ipsen (Spain) MedSIR (Spain) Mesoestetic Pharma (Spain) Reig Jofre (Spain) Laboratorio De Aplicaciones Farmacodinamicas (Spain) Palobiofarma (Spain) Novartis (Spain) Thrombotargets (Spain) Sanofi (Spain) Zambon (Spain) Kao Corporation (Spain) Prous Institute for Biomedical Research (Spain) Oblikue Consulting (Spain) Starlab Barcelona Sl Ferrer Grupo (Spain) Centro Radiológico Computarizado Corporació Sanitària (Spain) Ateknea Solutions (Spain) Bax & Willems Altamira Information (Spain) Amphos 21 (Spain) Anaxomics Biotech Ecoserveis (Spain) Intelligent Software Components (Spain) Iquadrat (Spain) Quantech ATZ (Spain) Mcrit (Spain) Exide Technologies (Spain) Sensing & Control Systems (Spain) Synapse (Spain) T-Systems (Spain) Trama TecnoAmbiental (Spain) Teulades i Façanes Multifuncionals (Spain) Information & Image Management Systems (Spain) Information Highway Group (Spain) Hydrometeorological Innovate Solutions (Spain) Lenz Instruments (Spain) Imagina (Spain) Piaggio (Spain) Oryzon Genomics (Spain) Pedro Roquet (Spain) Procoat Tecnologias (Spain) Plastia (Spain) S21sec (Spain) Polinter (Spain) Sidasa Engineering (Spain) Scytl Air Products (Spain) Synthesia Group (Spain) Tecnologías y Equipos para el Medio Ambiente (Spain) Typsa (Spain) Worldsensing Eticas Research & Consulting Polisilk (Spain) Olive Quimica (Spain) Lundbeck (Spain) ID Finance Mango Protocol Catalunya Ràdio BlitWorks B. Braun (Spain) Isdin (Spain) Nutrition & Santé (Spain) Recuperat-ion (Spain) Across (Spain) ABA English GP Pharm (Spain) Indutherm (Spain) DETURSA, S.A. Belter, S.L. Vale Music Spain, S.L. Sociedad Anónima Cros Libelista Les Punxes Distribuidora, S.L. Engineering for Noise Control Sonoblok Kosmos Holding Pontas Agency Metalúrgica de San Martín Lavinia Group Covestro (Spain) Sociedad Productora de Fuerzas Motrices Hidrodata Energia Elèctrica de Catalunya Laboratoris Fides La Machi Communication for Good Causes Laie Llibreria Cinc d'Oros Quside Technologies Nogueras Comas, S.A. Companyia Barcelonina d'Electricitat Coca-Cola Iberian Partners Photoslurp Perro Positivo Dr. Romeu Barcelona Multimedia Aerial productions Cobega Group Atrápalo Qilimanjaro Quantum Tech