What is {capital city} of {Eastern Wu}, that has {surface} is {1504.0} ?
What is the capital city of Eastern Wu that incorporates a surface of 1504.0?
What is the capital city of Eastern Wu that has a surface of 1504.0?
SELECT ?d WHERE { ?d property:area ?i . resource:Eastern_Wu property:capital ?d . FILTER ( ?i = 1504.0 ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q274488> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2046> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1504.0> . }
SELECT ?answer WHERE { wd:Q274488 wdt:P36 ?answer . ?answer wdt:P2046 ?x FILTER(contains(?x , '1504.0'))}