Give me {ice giant} that {parent astronomical body} {Sun} and which contains the word {uranus} in their name
Which is the ice monster that has Sun as parent cosmic body and contains the word uranus in it's name?
Which is the ice giant that has Sun as parent astronomical body and contains the word uranus in it's name?
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:ice_giant . FILTER ( CONTAINS ( LCASE ( ?j ) , 'uranus' ) ) . ?j property:parent_astronomical_body resource:Sun }
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/Q1319599>. ?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/P397> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q525>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'uranus')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q1319599 . ?sbj wdt:P397 wd:Q525 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'uranus')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Uranus Uranus