Give me {automobile manufacturer} that {stock exchange} {Tokyo Stock Exchange} and which contains the word {toyota} in their name
Let me know which car producer is in stock trade of Tokyo Stock Trade whose title contains the word toyota?
Tell me which automobile manufacturer is in stock exchange of Tokyo Stock Exchange whose name contains the word toyota?
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:automobile_manufacturer . ?m property:stock_exchange resource:Tokyo_Stock_Exchange . FILTER ( CONTAINS ( LCASE ( ?m ) , 'toyota' ) ) }
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/Q786820>. ?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/P414> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q217475>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'toyota')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q786820 . ?sbj wdt:P414 wd:Q217475 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'toyota')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Toyota Toyota