Simple Question (Direct)
Simple Question
Q5019339
P1412
Q34770
USER
Which language is spoken by Caledon Du Pré ?
(Q5019339,P1412,c(Q34770))
action filter_type
action find
entity Q5019339
relation P1412
type Q34770
['Q5019339', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q5019339 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Caledon Du Pré
action filter_type
action find
entity Caledon Du Pré
relation languages spoken, written or signed
type language
['Caledon Du Pré', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Caledon_Du_Pré property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5019339,P1412,c(Q34770))
action filter_type
action find
entity Q5019339
relation P1412
type Q34770
Are [ANSWER] is spoken by Caledon Du Pré
['Q5019339', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q5019339 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
Are English is spoken by Caledon Du Pré
English
action filter_type
action find
entity Caledon Du Pré
relation languages spoken, written or signed
type language
['Caledon Du Pré', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Caledon_Du_Pré property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5019339
P39
Q12737077
USER
What was the position held by that person ?
(Q1860,P39,c(Q12737077))
action filter_type
action find
entity Q5019339
relation P39
type Q12737077
['Q1860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q5019339 property:P39 ?q }
Caledon Du Pré
action filter_type
action find
entity Caledon Du Pré
relation position held
type occupation
['English', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Caledon_Du_Pré property:position_held ?q }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q1860,P39,c(Q12737077))
action filter_type
action find
entity Q5019339
relation P39
type Q12737077
The position held by that person was a [ANSWER]
['Q1860', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q5019339 property:P39 ?q }
Member of Parliament in the United Kingdom
The position held by that person was a Member of Parliament in the United Kingdom
Member of Parliament in the United Kingdom
action filter_type
action find
entity Caledon Du Pré
relation position held
type occupation
['English', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Caledon_Du_Pré property:position_held ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5019339
P937
Q56061
USER
What is the work location of that person ?
(Q16707842,P937,c(Q56061))
action filter_type
action find
entity Q5019339
relation P937
type Q56061
['Q16707842', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q5019339 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Caledon Du Pré
action filter_type
action find
entity Caledon Du Pré
relation work location
type administrative territorial entity
['Member of Parliament in the United Kingdom', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Caledon_Du_Pré property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q16707842,P937,c(Q56061))
action filter_type
action find
entity Q5019339
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q16707842', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q5019339 property:P937 ?z . ?z rdf:type ontology:Q56061 }
London
The work location of that person is in London
London
action filter_type
action find
entity Caledon Du Pré
relation work location
type administrative territorial entity
['Member of Parliament in the United Kingdom', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Caledon_Du_Pré property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q84
P190
Q56061
USER
Which administrative territories are sister town of that one ?
(c(Q56061),P190,Q84)
action filter_type
action find
entity Q84
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q84']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q84 property:P190 ?t }
London
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'London']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:London property:sister_city ?t }
[]
administrative territorial entity
Q649 Q8686 Q64
SYSTEM
Moscow, Shanghai, Berlin
Q8686 Q1353 Q649 Q472 Q34820 Q9248 Q987 Q1156 Q3630 Q466221 Q585 Q1490 Q23564 Q1850 Q3561 Q406 Q34647 Q956 Q159273 Q64 Q65 Q60
(c(Q56061),P190,Q84)
action filter_type
action find
entity Q84
relation P190
type Q56061
[ANSWERS] are sister town of that one
[{'concept': 'Q56061'}, 'P190', 'Q84']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q84 property:P190 ?t }
Shanghai Delhi Moscow Sofia Santo Domingo Baku New Delhi Mumbai Jakarta Sylhet Oslo Tokyo Podgorica Phnom Penh Algiers Istanbul Johannesburg Beijing Arequipa Berlin Los Angeles New York City
Moscow, Shanghai and Berlin are sister town of that one
Moscow Shanghai Berlin
action filter_type
action find
entity London
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'London']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:London property:sister_city ?t }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q649 Q8686 Q64
P190
Q56061
USER
Which administrative territories are twin city of Moscow, Shanghai and Berlin ?
(c(Q56061),P190,Q649) (c(Q56061),P190,Q8686) (c(Q56061),P190,Q64)
action union
action filter_type
action find_reverse
entity Q649
relation P190
type Q56061
action filter_type
action find_reverse
entity Q8686
relation P190
type Q56061
action filter_type
action find_reverse
entity Q64
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q649'] [{'concept': 'Q56061'}, 'P190', 'Q8686'] [{'concept': 'Q56061'}, 'P190', 'Q64']
SELECT DISTINCT ?q WHERE { { ?q property:P190 resource:Q8686 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P190 resource:Q649 . ?q rdf:type ontology:Q56061 } }
Moscow Shanghai Berlin
action union
action filter_type
action find_reverse
entity Moscow
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Shanghai
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Berlin
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Moscow'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Shanghai'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Berlin']
SELECT DISTINCT ?q WHERE { { ?q property:sister_city resource:Shanghai . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:sister_city resource:Moscow . ?q rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q1085 Q1085 Q649
SYSTEM
Moscow for 3rd, Prague for 1st, 2nd
Q1524 Q1520 Q987 Q994 Q2807 Q956 Q1297 Q727 Q1218 Q1085 Q179830 Q133026 Q472 Q3630 Q216 Q270 Q25409 Q23564 Q1353 Q42308 Q3640 Q13498 Q437 Q1718 Q33935 Q1770 Q3561 Q1741 Q5582862 Q178373 Q18808 Q1780 Q131290 Q19566 Q64 Q1491 Q486282 Q41572 Q196678 Q186576 Q3805 Q1490 Q43070 Q3820 Q84 Q85 Q807 Q239 Q1861 Q140147 Q34370 Q34713 Q959 Q597491 Q47034 Q340 Q12892 Q41621 Q1492 Q585 Q133073 Q648 Q612 Q269 Q131694 Q35381 Q490 Q13580 Q174 Q25287 Q33986 Q24826 Q43509 Q49227 Q36433 Q3889 Q109356 Q36647 Q78 Q62 Q58976 Q1850 Q87 Q84 Q52535 Q406 Q1861 Q3856 Q37806 Q23311 Q2807 Q956 Q1085 Q649 Q472 Q3630 Q270 Q269 Q1748 Q34820 Q3561 Q1781 Q65 Q1489 Q1490 Q84 Q406 Q239
(c(Q56061),P190,Q649) (c(Q56061),P190,Q8686) (c(Q56061),P190,Q64)
action union
action filter_type
action find_reverse
entity Q649
relation P190
type Q56061
action filter_type
action find_reverse
entity Q8686
relation P190
type Q56061
action filter_type
action find_reverse
entity Q64
relation P190
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P190', 'Q649'] [{'concept': 'Q56061'}, 'P190', 'Q8686'] [{'concept': 'Q56061'}, 'P190', 'Q64']
SELECT DISTINCT ?q WHERE { { ?q property:P190 resource:Q8686 . ?q rdf:type ontology:Q56061 } UNION { ?q property:P190 resource:Q649 . ?q rdf:type ontology:Q56061 } }
Athens Astana New Delhi Tbilisi Madrid Beijing Chicago Amsterdam Jerusalem Prague Jelgava Kolomna Sofia Jakarta Vilnius Warsaw Košice Podgorica Delhi Kharkiv Ankara Taranto Ljubljana Düsseldorf Tel Aviv Tallinn Algiers Vienna Cusco Rasht Pyongyang Bratislava Ganja Simferopol Berlin La Paz Pavlodar Mykolaiv Torzhok Pazardzhik Amman Tokyo Donetsk Beirut London Cairo Lausanne Brussels Bangkok Brest Rotterdam Salzburg Vladivostok Okahandja Espoo Montreal Antwerp Haifa Barcelona Oslo Dunedin Lille Dubai Tashkent Aden Colombo Milan Metro Manila São Paulo Gothenburg Valparaíso Liverpool Guayaquil Winston-Salem Porto Maputo Hamhung Cork Basel San Francisco Piraeus Phnom Penh Alexandria London Rosario Istanbul Bangkok Nicosia Port Vila City of London Madrid Beijing Prague Moscow Sofia Jakarta Warsaw Tashkent Copenhagen Santo Domingo Algiers Budapest Los Angeles Mexico City Tokyo London Istanbul Brussels
Prague, Prague and Moscow are twin city of Moscow, Shanghai and Berlin
Prague Prague Moscow
action union
action filter_type
action find_reverse
entity Moscow
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Shanghai
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Berlin
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Moscow'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Shanghai'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Berlin']
SELECT DISTINCT ?q WHERE { { ?q property:sister_city resource:Shanghai . ?q rdf:type ontology:administrative_territorial_entity } UNION { ?q property:sister_city resource:Moscow . ?q rdf:type ontology:administrative_territorial_entity } }
[]