Give me {association football club} that {head coach} {José Mourinho} and which contains the word {porto} in their name
Tell me the big party that the Social Democratic Party chairman holds the office as the organization's head and whose name contains the word democracy?
What is the football team that was coached by José Mourinho that contains the word "Porto " in its name ?
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:association_football_club . ?e property:head_coach resource:José_Mourinho . FILTER ( CONTAINS ( LCASE ( ?e ) , 'porto' ) ) }
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/Q476028>. ?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/P286> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q79983>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'porto')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q476028 . ?sbj wdt:P286 wd:Q79983 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'porto')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 