What is {stock exchange} of {Industrial and Commercial Bank of China} that is {ticker symbol} is {1398} ?
Which stock exchange does the Industrial and Commercial Bank of China have the ticker symbol, 1398?
On what stock exchange does the Industrial and Commercial Bank of China have the ticker symbol, 1398?
SELECT ?f WHERE { ?j property:stock_exchange ?f . ?j property:ticker_symbol ?b . resource:Industrial_and_Commercial_Bank_of_China property:stock_exchange ?j . FILTER ( ?b = 1398 ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q26463> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P414> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P249> <1398>
} 

SELECT ?obj WHERE { wd:Q26463 p:P414 ?s . ?s ps:P414 ?obj . ?s pq:P249 ?x filter(contains(?x , '1398')) }