Simple Question (Direct)
Simple Question
Q1195296
P20
Q515
USER
Where did Jōsei Toda expire ?
(Q1195296,P20,c(Q515))
action filter_type
action find
entity Q1195296
relation P20
type Q515
['Q1195296', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q1195296 property:P20 ?a }
Jōsei Toda
action filter_type
action find
entity Jōsei Toda
relation place of death
type city
['Jōsei Toda', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Jōsei_Toda property:place_of_death ?a }
[]
city
Q7473516
SYSTEM
Tokyo
Q7473516
(Q1195296,P20,c(Q515))
action filter_type
action find
entity Q1195296
relation P20
type Q515
Jōsei Toda expired [ANSWER]
['Q1195296', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q1195296 property:P20 ?a }
Tokyo
Jōsei Toda expired Tokyo
Tokyo
action filter_type
action find
entity Jōsei Toda
relation place of death
type city
['Jōsei Toda', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Jōsei_Toda property:place_of_death ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7473516
P190
Q56061
USER
Which administrative territory is sister town of that city ?
(Q7473516,P190,c(Q56061))
action filter_type
action find
entity Q7473516
relation P190
type Q56061
['Q7473516', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q7473516 property:P190 ?g }
Tokyo
action filter_type
action find
entity Tokyo
relation sister city
type administrative territorial entity
['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Tokyo property:sister_city ?g }
[]
administrative territorial entity
Q85
SYSTEM
Cairo
Q85
(Q7473516,P190,c(Q56061))
action filter_type
action find
entity Q7473516
relation P190
type Q56061
[ANSWER] is sister town of that city
['Q7473516', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q7473516 property:P190 ?g }
Cairo
Cairo is sister town of that city
Cairo
action filter_type
action find
entity Tokyo
relation sister city
type administrative territorial entity
['Tokyo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Tokyo property:sister_city ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7473516
P1376
Q15617994
USER
Which administrative territory has Tokyo as its county seat ?
(Q7473516,P1376,c(Q15617994))
action filter_type
action find
entity Q7473516
relation P1376
type Q15617994
['Q7473516', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q7473516 property:P1376 ?u }
Tokyo
action filter_type
action find
entity Tokyo
relation capital of
type designation for an administrative territorial entity
['Tokyo', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tokyo property:capital_of ?u }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q7473516,P1376,c(Q15617994))
action filter_type
action find
entity Q7473516
relation P1376
type Q15617994
In [ANSWER] has Tokyo as its county seat
['Q7473516', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q7473516 property:P1376 ?u }
Japan
In Japan has Tokyo as its county seat
Japan
action filter_type
action find
entity Tokyo
relation capital of
type designation for an administrative territorial entity
['Tokyo', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tokyo property:capital_of ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P463
Q484652
USER
What were that administrative territory a member of ?
(Q17,P463,c(Q484652))
action filter_type
action find
entity Q17
relation P463
type Q484652
['Q17', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?h WHERE { resource:Q17 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Japan
action filter_type
action find
entity Japan
relation member of
type international organization
['Japan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?h WHERE { resource:Japan property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
international organization
Q19771 Q1065 Q188822
SYSTEM
G20, United Nations, Asian Development Bank
Q188822 Q19771 Q37143 Q1065 Q1043527
(Q17,P463,c(Q484652))
action filter_type
action find
entity Q17
relation P463
type Q484652
[ANSWERS] a member of
['Q17', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?h WHERE { resource:Q17 property:P463 ?h . ?h rdf:type ontology:Q484652 }
Asian Development Bank G20 G8 United Nations Multilateral Investment Guarantee Agency
G20, United Nations and Asian Development Bank a member of
G20 United Nations Asian Development Bank
action filter_type
action find
entity Japan
relation member of
type international organization
['Japan', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?h WHERE { resource:Japan property:member_of ?h . ?h rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P6
Q502895
USER
Which person is Japan the head of goverment of ?
(Q17,P6,c(Q502895))
action filter_type
action find
entity Q17
relation P6
type Q502895
['Q17', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q17 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Japan
action filter_type
action find
entity Japan
relation head of government
type common name
['Japan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Japan property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q132345
SYSTEM
Shinzō Abe
Q132345
(Q17,P6,c(Q502895))
action filter_type
action find
entity Q17
relation P6
type Q502895
[ANSWER] is Japan the head of goverment of
['Q17', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q17 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Shinzō Abe
Shinzō Abe is Japan the head of goverment of
Shinzō Abe
action filter_type
action find
entity Japan
relation head of government
type common name
['Japan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Japan property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q132345
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q132345)
action filter_type
action find
entity Q132345
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q132345']
SELECT DISTINCT ?n WHERE { resource:Q132345 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Shinzō Abe
action filter_type
action find
entity Shinzō Abe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Shinzō Abe']
SELECT DISTINCT ?n WHERE { resource:Shinzō_Abe property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q73358
SYSTEM
Akie Abe
Q73358
(c(Q502895),P26,Q132345)
action filter_type
action find
entity Q132345
relation P26
type Q502895
He [ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q132345']
SELECT DISTINCT ?n WHERE { resource:Q132345 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Akie Abe
He Akie Abe is married to that one
Akie Abe
action filter_type
action find
entity Shinzō Abe
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Shinzō Abe']
SELECT DISTINCT ?n WHERE { resource:Shinzō_Abe property:spouse ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q132345
P39
Q12737077
USER
What were the positions held by Shinzō Abe ?
(Q132345,P39,c(Q12737077))
action filter_type
action find
entity Q132345
relation P39
type Q12737077
['Q132345', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q132345 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Shinzō Abe
action filter_type
action find
entity Shinzō Abe
relation position held
type occupation
['Shinzō Abe', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Shinzō_Abe property:position_held ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q274948 Q1078482 Q17506823
SYSTEM
Prime Minister of Japan, Chief Cabinet Secretary, member of the House of Representatives of Japan
Q274948 Q1078482 Q17506823
(Q132345,P39,c(Q12737077))
action filter_type
action find
entity Q132345
relation P39
type Q12737077
The positions held by Shinzō Abe were [ANSWERS]
['Q132345', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q132345 property:P39 ?p . ?p rdf:type ontology:Q12737077 }
Prime Minister of Japan Chief Cabinet Secretary member of the House of Representatives of Japan
The positions held by Shinzō Abe were Prime Minister of Japan, Chief Cabinet Secretary and member of the House of Representatives of Japan
Prime Minister of Japan Chief Cabinet Secretary member of the House of Representatives of Japan
action filter_type
action find
entity Shinzō Abe
relation position held
type occupation
['Shinzō Abe', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Shinzō_Abe property:position_held ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q132345
P50
Q2342494
USER
Which collectable is written by that person ?
(c(Q2342494),P50,Q274948) (c(Q2342494),P50,Q1078482) (c(Q2342494),P50,Q17506823)
action filter_type
action find_reverse
entity Q132345
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q274948'] [{'concept': 'Q2342494'}, 'P50', 'Q1078482'] [{'concept': 'Q2342494'}, 'P50', 'Q17506823']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2342494 . ?q property:P50 resource:Q132345 }
Shinzō Abe
action filter_type
action find_reverse
entity Shinzō Abe
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Prime Minister of Japan'] [{'concept': 'collectable'}, 'author', 'Chief Cabinet Secretary'] [{'concept': 'collectable'}, 'author', 'member of the House of Representatives of Japan']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:collectable . ?q property:author resource:Shinzō_Abe }
[]
collectable
Q11608669
SYSTEM
Towards a Beautiful Nation
Q11608669
(c(Q2342494),P50,Q274948) (c(Q2342494),P50,Q1078482) (c(Q2342494),P50,Q17506823)
action filter_type
action find_reverse
entity Q132345
relation P50
type Q2342494
[ANSWER] is written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q274948'] [{'concept': 'Q2342494'}, 'P50', 'Q1078482'] [{'concept': 'Q2342494'}, 'P50', 'Q17506823']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q2342494 . ?q property:P50 resource:Q132345 }
Towards a Beautiful Nation
Towards a Beautiful Nation is written by that person
Towards a Beautiful Nation
action filter_type
action find_reverse
entity Shinzō Abe
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Prime Minister of Japan'] [{'concept': 'collectable'}, 'author', 'Chief Cabinet Secretary'] [{'concept': 'collectable'}, 'author', 'member of the House of Representatives of Japan']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:collectable . ?q property:author resource:Shinzō_Abe }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11608669 Q132345 Q21401954
P50
Q502895
USER
Was that collectable written by Shinzō Abe and Ray Dimas ?
(Q11608669,P50,Q132345) (Q11608669,P50,Q21401954)
action is_in
entity Q11608669
action intersection
action find_reverse
entity Q132345
relation P50
action find_reverse
entity Q21401954
relation P50
['Q11608669', 'P50', 'Q132345'] ['Q11608669', 'P50', 'Q21401954']
ASK WHERE { resource:Q11608669 property:P50 resource:Q132345 . resource:Q11608669 property:P50 resource:Q21401954 }
Towards a Beautiful Nation Shinzō Abe Ray Dimas
action is_in
entity Towards a Beautiful Nation
action intersection
action find_reverse
entity Shinzō Abe
relation author
action find_reverse
entity Ray Dimas
relation author
['Towards a Beautiful Nation', 'author', 'Shinzō Abe'] ['Towards a Beautiful Nation', 'author', 'Ray Dimas']
ASK WHERE { resource:Towards_a_Beautiful_Nation property:author resource:Shinzō_Abe . resource:Towards_a_Beautiful_Nation property:author resource:Ray_Dimas }
[]
common name
SYSTEM
YES and NO respectively
(Q11608669,P50,Q132345) (Q11608669,P50,Q21401954)
action is_in
entity Q11608669
action intersection
action find_reverse
entity Q132345
relation P50
action find_reverse
entity Q21401954
relation P50
[ANSWER]
['Q11608669', 'P50', 'Q132345'] ['Q11608669', 'P50', 'Q21401954']
ASK WHERE { resource:Q11608669 property:P50 resource:Q132345 . resource:Q11608669 property:P50 resource:Q21401954 }
YES and NO respectively
action is_in
entity Towards a Beautiful Nation
action intersection
action find_reverse
entity Shinzō Abe
relation author
action find_reverse
entity Ray Dimas
relation author
['Towards a Beautiful Nation', 'author', 'Shinzō Abe'] ['Towards a Beautiful Nation', 'author', 'Ray Dimas']
ASK WHERE { resource:Towards_a_Beautiful_Nation property:author resource:Shinzō_Abe . resource:Towards_a_Beautiful_Nation property:author resource:Ray_Dimas }
[]