Give me {weekly newspaper} that {owner of} {StarWipe} and which contains the word {onion} in their name
Which is the weekly newspaper proprietor of which is StarWipe and carries the phrase onion in it's name?
Which is the weekly newspaper owner of which is StarWipe and contains the word onion in it's name?
SELECT DISTINCT ?g WHERE { FILTER ( CONTAINS ( LCASE ( ?g ) , 'onion' ) ) . ?g property:owner_of resource:StarWipe . ?g rdf:type ontology:weekly_newspaper }
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/Q2305295>. ?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/P1830> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q21189788>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'onion')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q2305295 . ?sbj wdt:P1830 wd:Q21189788 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'onion')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
The Onion The Onion