Give me {subsidiary company} that {manager/director} {Daniel Schwartz} and which contains the word {burger} in their name
Which is the subsidiary organization that is managed by using Daniel Schwartz and incorporates the phrase burger in it's name?
Which is the subsidiary company that is managed by Daniel Schwartz and contains the word burger in it's name?
SELECT DISTINCT ?q WHERE { ?q property:director_/_manager resource:Daniel_Schwartz . FILTER ( CONTAINS ( LCASE ( ?q ) , 'burger' ) ) . ?q rdf:type ontology:subsidiary }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q658255>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1037> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q28229358>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'burger')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q658255 . ?sbj wdt:P1037 wd:Q28229358 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'burger')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 