Simple Question (Direct)
Simple Question
Q631416
P102
Q7210356
USER
Which party is H. H. Kung affiliated with ?
(Q631416,P102,c(Q7210356))
action filter_type
action find
entity Q631416
relation P102
type Q7210356
['Q631416', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q631416 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
H. H. Kung
action filter_type
action find
entity H. H. Kung
relation member of political party
type political organization
['H. H. Kung', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:H._H._Kung property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q31113
SYSTEM
Kuomintang
Q31113
(Q631416,P102,c(Q7210356))
action filter_type
action find
entity Q631416
relation P102
type Q7210356
H. Kung is affiliated with [ANSWER]
['Q631416', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q631416 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Kuomintang
H. Kung is affiliated with Kuomintang
Kuomintang
action filter_type
action find
entity H. H. Kung
relation member of political party
type political organization
['H. H. Kung', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:H._H._Kung property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31113
P138
Q7210356
USER
Which political organization has that one as its namesake ?
(c(Q7210356),P138,Q31113)
action filter_type
action find_reverse
entity Q31113
relation P138
type Q7210356
[{'concept': 'Q7210356'}, 'P138', 'Q31113']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . ?n property:P138 resource:Q31113 }
Kuomintang
action filter_type
action find_reverse
entity Kuomintang
relation named after
type political organization
[{'concept': 'political organization'}, 'named after', 'Kuomintang']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . ?n property:named_after resource:Kuomintang }
[]
political organization
Q1202612
SYSTEM
Revolutionary Committee of the Kuomintang
Q1202612
(c(Q7210356),P138,Q31113)
action filter_type
action find_reverse
entity Q31113
relation P138
type Q7210356
[ANSWER] has that one as its namesake
[{'concept': 'Q7210356'}, 'P138', 'Q31113']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q7210356 . ?n property:P138 resource:Q31113 }
Revolutionary Committee of the Kuomintang
Revolutionary Committee of the Kuomintang has that one as its namesake
Revolutionary Committee of the Kuomintang
action filter_type
action find_reverse
entity Kuomintang
relation named after
type political organization
[{'concept': 'political organization'}, 'named after', 'Kuomintang']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_organization . ?n property:named_after resource:Kuomintang }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1202612
P159
Q56061
USER
Where is the headquarter of that political organization located ?
(Q1202612,P159,c(Q56061))
action filter_type
action find
entity Q1202612
relation P159
type Q56061
['Q1202612', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1202612 property:P159 ?o . ?o rdf:type ontology:Q56061 }
Revolutionary Committee of the Kuomintang
action filter_type
action find
entity Revolutionary Committee of the Kuomintang
relation headquarters location
type administrative territorial entity
['Revolutionary Committee of the Kuomintang', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Revolutionary_Committee_of_the_Kuomintang property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q956
SYSTEM
Beijing
Q956
(Q1202612,P159,c(Q56061))
action filter_type
action find
entity Q1202612
relation P159
type Q56061
[ANSWER] is the headquarter of that political organization located
['Q1202612', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q1202612 property:P159 ?o . ?o rdf:type ontology:Q56061 }
Beijing
Beijing is the headquarter of that political organization located
Beijing
action filter_type
action find
entity Revolutionary Committee of the Kuomintang
relation headquarters location
type administrative territorial entity
['Revolutionary Committee of the Kuomintang', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Revolutionary_Committee_of_the_Kuomintang property:headquarters_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q515
USER
How many administrative territories and cities are twin city of that administrative territory ?
(c(Q56061),P190,Q956) (c(Q515),P190,Q956) (c(Q56061),P190,Q956) (c(Q515),P190,Q956)
action count
action union
action filter_type
action find_reverse
entity Q956
relation P190
type Q56061
action filter_type
action find_reverse
entity Q956
relation P190
type Q515
[{'concept': 'Q56061'}, 'P190', 'Q956'] [{'concept': 'Q515'}, 'P190', 'Q956'] [{'concept': 'Q56061'}, 'P190', 'Q956'] [{'concept': 'Q515'}, 'P190', 'Q956']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P190 resource:Q956 . ?e rdf:type ontology:Q56061 } UNION { ?e property:P190 resource:Q956 . ?e rdf:type ontology:Q515 } }
action count
action union
action filter_type
action find_reverse
entity Beijing
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Beijing
relation sister city
type city
[{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing'] [{'concept': 'city'}, 'sister city', 'Beijing'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing'] [{'concept': 'city'}, 'sister city', 'Beijing']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:sister_city resource:Beijing . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e property:sister_city resource:Beijing . ?e rdf:type ontology:city } }
[]
administrative territorial entity city
SYSTEM
33 administrative territories and 15 cities
Q3624 Q8684 Q727 Q649 Q1861 Q365 Q3114 Q1773 Q9005 Q34820 Q1524 Q1748 Q19660 Q1520 Q1781 Q1489 Q1486 Q23661 Q3616 Q64 Q3630 Q3711 Q33935 Q1362 Q3561 Q1858 Q1490 Q1461 Q84 Q85 Q1761 Q1930 Q174 Q19689 Q2868 Q2887 Q8678 Q239 Q34647 Q490 Q2807 Q2280 Q1899 Q3640 Q3805 Q210987 Q60 Q61
(c(Q56061),P190,Q956) (c(Q515),P190,Q956) (c(Q56061),P190,Q956) (c(Q515),P190,Q956)
action count
action union
action filter_type
action find_reverse
entity Q956
relation P190
type Q56061
action filter_type
action find_reverse
entity Q956
relation P190
type Q515
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q956'] [{'concept': 'Q515'}, 'P190', 'Q956'] [{'concept': 'Q56061'}, 'P190', 'Q956'] [{'concept': 'Q515'}, 'P190', 'Q956']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:P190 resource:Q956 . ?e rdf:type ontology:Q56061 } UNION { ?e property:P190 resource:Q956 . ?e rdf:type ontology:Q515 } }
Addis Ababa Seoul Amsterdam Moscow Bangkok Cologne Canberra Riga Brussels Santo Domingo Athens Copenhagen Bucharest Astana Budapest Mexico City Buenos Aires Wellington Tehran Berlin Jakarta Belgrade Tel Aviv Islamabad Algiers Hanoi Tokyo Manila London Cairo Dublin Ottawa São Paulo Tirana Lima Santiago Rio de Janeiro Brussels Johannesburg Milan Madrid Minsk Kyiv Ankara Amman Salo New York City Washington, D.C.
33 administrative territories and 15 cities
action count
action union
action filter_type
action find_reverse
entity Beijing
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Beijing
relation sister city
type city
[{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing'] [{'concept': 'city'}, 'sister city', 'Beijing'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Beijing'] [{'concept': 'city'}, 'sister city', 'Beijing']
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { ?e property:sister_city resource:Beijing . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e property:sister_city resource:Beijing . ?e rdf:type ontology:city } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2282017 Q956
P190 P937
Q56061
USER
Which administrative territories are twin cities of Beijing and are the work locations of Sidonie Grünwald-Zerkowitz ?
AND((Q956,P190,c(Q56061)), (Q2282017,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q956
relation P190
action find
entity Q2282017
relation P937
type Q56061
{'AND': [['Q956', 'P190', {'concept': 'Q56061'}], ['Q2282017', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q956 property:P190 ?t . resource:Q2282017 property:P937 ?t }
Sidonie Grünwald-Zerkowitz Beijing
action filter_type
action intersection
action find
entity Beijing
relation sister city
action find
entity Sidonie Grünwald-Zerkowitz
relation work location
type administrative territorial entity
{'AND': [['Beijing', 'sister city', {'concept': 'administrative territorial entity'}], ['Sidonie Grünwald-Zerkowitz', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Beijing property:sister_city ?t . resource:Sidonie_Grünwald-Zerkowitz property:work_location ?t }
[]
administrative territorial entity
Q1524 Q1781
SYSTEM
Athens, Budapest
Q1524 Q1781
AND((Q956,P190,c(Q56061)), (Q2282017,P937,c(Q56061)))
action filter_type
action intersection
action find
entity Q956
relation P190
action find
entity Q2282017
relation P937
type Q56061
[ANSWERS] are twin cities of Beijing and are the work locations of Sidonie Grünwald-Zerkowitz
{'AND': [['Q956', 'P190', {'concept': 'Q56061'}], ['Q2282017', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q956 property:P190 ?t . resource:Q2282017 property:P937 ?t }
Athens Budapest
Athens and Budapest are twin cities of Beijing and are the work locations of Sidonie Grünwald-Zerkowitz
Athens Budapest
action filter_type
action intersection
action find
entity Beijing
relation sister city
action find
entity Sidonie Grünwald-Zerkowitz
relation work location
type administrative territorial entity
{'AND': [['Beijing', 'sister city', {'concept': 'administrative territorial entity'}], ['Sidonie Grünwald-Zerkowitz', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Beijing property:sister_city ?t . resource:Sidonie_Grünwald-Zerkowitz property:work_location ?t }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q988620
P840
Q15416
USER
Do El talismán have a setting location of those administrative territories ?
(Q988620,P840,Q1524) (Q988620,P840,Q1781)
action is_in
entity prev_answer
action find
entity Q988620
relation P840
['Q988620', 'P840', 'Q1524'] ['Q988620', 'P840', 'Q1781']
ASK WHERE { VALUES ( ?j ) { ( resource:Q1524 ) ( resource:Q1781 ) } . resource:Q988620 property:P840 ?j }
El talismán
action is_in
entity prev_answer
action find
entity El talismán
relation narrative location
['El talismán', 'narrative location', 'Athens'] ['El talismán', 'narrative location', 'Budapest']
ASK WHERE { VALUES ( ?j ) { ( resource:Athens ) ( resource:Budapest ) } . resource:El_talismán property:narrative_location ?j }
[]
television program
SYSTEM
NO
(Q988620,P840,Q1524) (Q988620,P840,Q1781)
action is_in
entity prev_answer
action find
entity Q988620
relation P840
[ANSWER]
['Q988620', 'P840', 'Q1524'] ['Q988620', 'P840', 'Q1781']
ASK WHERE { VALUES ( ?j ) { ( resource:Q1524 ) ( resource:Q1781 ) } . resource:Q988620 property:P840 ?j }
No
action is_in
entity prev_answer
action find
entity El talismán
relation narrative location
['El talismán', 'narrative location', 'Athens'] ['El talismán', 'narrative location', 'Budapest']
ASK WHERE { VALUES ( ?j ) { ( resource:Athens ) ( resource:Budapest ) } . resource:El_talismán property:narrative_location ?j }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q31113 Q21264339 Q16441527
P112
Q502895
USER
Was Kuomintang established by Maria Rita Braga Marquilhas and Tescelin de Fontaine ?
(Q31113,P112,Q21264339) (Q31113,P112,Q16441527)
action is_in
entity Q31113
action intersection
action find_reverse
entity Q21264339
relation P112
action find_reverse
entity Q16441527
relation P112
['Q31113', 'P112', 'Q21264339'] ['Q31113', 'P112', 'Q16441527']
ASK WHERE { resource:Q31113 property:P112 resource:Q21264339 . resource:Q31113 property:P112 resource:Q16441527 }
Kuomintang Maria Rita Braga Marquilhas Tescelin de Fontaine
action is_in
entity Kuomintang
action intersection
action find_reverse
entity Maria Rita Braga Marquilhas
relation founder
action find_reverse
entity Tescelin de Fontaine
relation founder
['Kuomintang', 'founder', 'Maria Rita Braga Marquilhas'] ['Kuomintang', 'founder', 'Tescelin de Fontaine']
ASK WHERE { resource:Kuomintang property:founder resource:Maria_Rita_Braga_Marquilhas . resource:Kuomintang property:founder resource:Tescelin_de_Fontaine }
[]
common name
SYSTEM
NO
(Q31113,P112,Q21264339) (Q31113,P112,Q16441527)
action is_in
entity Q31113
action intersection
action find_reverse
entity Q21264339
relation P112
action find_reverse
entity Q16441527
relation P112
[ANSWER]
['Q31113', 'P112', 'Q21264339'] ['Q31113', 'P112', 'Q16441527']
ASK WHERE { resource:Q31113 property:P112 resource:Q21264339 . resource:Q31113 property:P112 resource:Q16441527 }
No
action is_in
entity Kuomintang
action intersection
action find_reverse
entity Maria Rita Braga Marquilhas
relation founder
action find_reverse
entity Tescelin de Fontaine
relation founder
['Kuomintang', 'founder', 'Maria Rita Braga Marquilhas'] ['Kuomintang', 'founder', 'Tescelin de Fontaine']
ASK WHERE { resource:Kuomintang property:founder resource:Maria_Rita_Braga_Marquilhas . resource:Kuomintang property:founder resource:Tescelin_de_Fontaine }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1781 Q648586 Q4802457
P190
Q56061
USER
Is Budapest sister town of Dumbrăvioara and Arvij ?
(Q1781,P190,Q648586) (Q1781,P190,Q4802457)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q648586
relation P190
action find_reverse
entity Q4802457
relation P190
['Q1781', 'P190', 'Q648586'] ['Q1781', 'P190', 'Q4802457']
ASK WHERE { resource:Q1781 property:P190 resource:Q648586 . resource:Q1781 property:P190 resource:Q4802457 }
Budapest Dumbrăvioara Arvij
action is_in
entity Budapest
action intersection
action find_reverse
entity Dumbrăvioara
relation sister city
action find_reverse
entity Arvij
relation sister city
['Budapest', 'sister city', 'Dumbrăvioara'] ['Budapest', 'sister city', 'Arvij']
ASK WHERE { resource:Budapest property:sister_city resource:Dumbrăvioara . resource:Budapest property:sister_city resource:Arvij }
[]
administrative territorial entity
SYSTEM
NO
(Q1781,P190,Q648586) (Q1781,P190,Q4802457)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q648586
relation P190
action find_reverse
entity Q4802457
relation P190
[ANSWER]
['Q1781', 'P190', 'Q648586'] ['Q1781', 'P190', 'Q4802457']
ASK WHERE { resource:Q1781 property:P190 resource:Q648586 . resource:Q1781 property:P190 resource:Q4802457 }
No
action is_in
entity Budapest
action intersection
action find_reverse
entity Dumbrăvioara
relation sister city
action find_reverse
entity Arvij
relation sister city
['Budapest', 'sister city', 'Dumbrăvioara'] ['Budapest', 'sister city', 'Arvij']
ASK WHERE { resource:Budapest property:sister_city resource:Dumbrăvioara . resource:Budapest property:sister_city resource:Arvij }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q631416 Q256411 Q22110239
P26
Q502895
USER
Is H. H. Kung the life partner of Soong Ai-ling and Robert Owen Hutchinson ?
(Q631416,P26,Q256411) (Q631416,P26,Q22110239)
action is_in
entity Q631416
action intersection
action find_reverse
entity Q256411
relation P26
action find_reverse
entity Q22110239
relation P26
['Q631416', 'P26', 'Q256411'] ['Q631416', 'P26', 'Q22110239']
ASK WHERE { resource:Q631416 property:P26 resource:Q256411 . resource:Q631416 property:P26 resource:Q22110239 }
H. H. Kung Soong Ai-ling Robert Owen Hutchinson
action is_in
entity H. H. Kung
action intersection
action find_reverse
entity Soong Ai-ling
relation spouse
action find_reverse
entity Robert Owen Hutchinson
relation spouse
['H. H. Kung', 'spouse', 'Soong Ai-ling'] ['H. H. Kung', 'spouse', 'Robert Owen Hutchinson']
ASK WHERE { resource:H._H._Kung property:spouse resource:Soong_Ai-ling . resource:H._H._Kung property:spouse resource:Robert_Owen_Hutchinson }
[]
common name
SYSTEM
YES and NO respectively
(Q631416,P26,Q256411) (Q631416,P26,Q22110239)
action is_in
entity Q631416
action intersection
action find_reverse
entity Q256411
relation P26
action find_reverse
entity Q22110239
relation P26
[ANSWER]
['Q631416', 'P26', 'Q256411'] ['Q631416', 'P26', 'Q22110239']
ASK WHERE { resource:Q631416 property:P26 resource:Q256411 . resource:Q631416 property:P26 resource:Q22110239 }
YES and NO respectively
action is_in
entity H. H. Kung
action intersection
action find_reverse
entity Soong Ai-ling
relation spouse
action find_reverse
entity Robert Owen Hutchinson
relation spouse
['H. H. Kung', 'spouse', 'Soong Ai-ling'] ['H. H. Kung', 'spouse', 'Robert Owen Hutchinson']
ASK WHERE { resource:H._H._Kung property:spouse resource:Soong_Ai-ling . resource:H._H._Kung property:spouse resource:Robert_Owen_Hutchinson }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q631416
P140
Q874405
USER
What is the religious affiliation of H. H. Kung?
action filter_type
action find
entity Q631416
relation P140
type Q874405
SELECT DISTINCT ?b WHERE { resource:Q631416 property:P140 ?b . ?b rdf:type ontology:Q874405 }
H. H. Kung
action filter_type
action find
entity H. H. Kung
relation religion
type social group
SELECT DISTINCT ?b WHERE { resource:H._H._Kung property:religion ?b . ?b rdf:type ontology:social_group }
[]
social group
Q5043
SYSTEM
Christianity
Q5043
action filter_type
action find
entity Q631416
relation P140
type Q874405
The religious affiliation of H. Kung is of [ANSWER]
SELECT DISTINCT ?b WHERE { resource:Q631416 property:P140 ?b . ?b rdf:type ontology:Q874405 }
Christianity
The religious affiliation of H. Kung is of Christianity
Christianity
action filter_type
action find
entity H. H. Kung
relation religion
type social group
SELECT DISTINCT ?b WHERE { resource:H._H._Kung property:religion ?b . ?b rdf:type ontology:social_group }
[]