what is the {ticker symbol} for {NEC} has {stock exchange} as {Nagoya Stock Exchange} ?
On the Nagoya Stock Exchange, what is the stock ticker symbol for NEC?
What is the ticker symbol for NEC which has Nagoya as Stock Exchange?
SELECT ?t WHERE { ?t property:stock_exchange resource:Nagoya_Stock_Exchange . resource:NEC property:stock_exchange ?t . ?t property:ticker_symbol ?t }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q219203> .
?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> <http://wikidata.dbpedia.org/resource/Q1188840> .
?statement <http://www.wikidata.org/entity/P249> ?value. 
} 

SELECT ?value WHERE { wd:Q219203 p:P414 ?s . ?s ps:P414 wd:Q1188840 . ?s pq:P249 ?value}