Give me {gas giant} that {child astronomical body} {Prometheus} and which contains the word {saturn} in their name
What is the National Constituent Record that contains the word "citizen" in its name?
Which is the gas giant that is a child astronomical body of Prometheus and contains the word saturn in it's name?
SELECT DISTINCT ?m WHERE { ?m property:child_astronomical_body resource:Prometheus . ?m rdf:type ontology:gas_giant . FILTER ( CONTAINS ( LCASE ( ?m ) , 'saturn' ) ) }
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/Q121750>. ?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/P398> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q17739>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'saturn')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q121750 . ?sbj wdt:P398 wd:Q17739 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'saturn')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Saturn Saturn