Simple Question (Direct)
Simple Question
Q4185600
P840
Q15617994
USER
Where is Tokyo Trial set in ?
(Q4185600,P840,c(Q15617994))
action filter_type
action find
entity Q4185600
relation P840
type Q15617994
['Q4185600', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q4185600 property:P840 ?j . ?j rdf:type ontology:Q15617994 }
Tokyo Trial
action filter_type
action find
entity Tokyo Trial
relation narrative location
type designation for an administrative territorial entity
['Tokyo Trial', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Tokyo_Trial property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q4185600,P840,c(Q15617994))
action filter_type
action find
entity Q4185600
relation P840
type Q15617994
Tokyo Trial is set in [ANSWER] in
['Q4185600', 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q4185600 property:P840 ?j . ?j rdf:type ontology:Q15617994 }
Japan
Tokyo Trial is set in Japan in
Japan
action filter_type
action find
entity Tokyo Trial
relation narrative location
type designation for an administrative territorial entity
['Tokyo Trial', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Tokyo_Trial property:narrative_location ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17
P1376
Q5119
USER
Which capitals are the county seat for that administrative territory ?
(c(Q5119),P1376,Q17)
action filter_type
action find_reverse
entity Q17
relation P1376
type Q5119
[{'concept': 'Q5119'}, 'P1376', 'Q17']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5119 . ?i property:P1376 resource:Q17 }
Japan
action filter_type
action find_reverse
entity Japan
relation capital of
type capital
[{'concept': 'capital'}, 'capital of', 'Japan']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:capital . ?i property:capital_of resource:Japan }
[]
capital
Q1052803 Q862509 Q751907
SYSTEM
Nagaoka-kyō, Heijō-kyō, Heian-kyō
Q6031707 Q1052803 Q862509 Q751907
(c(Q5119),P1376,Q17)
action filter_type
action find_reverse
entity Q17
relation P1376
type Q5119
[ANSWERS] are the county seat for that administrative territory
[{'concept': 'Q5119'}, 'P1376', 'Q17']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5119 . ?i property:P1376 resource:Q17 }
Fukuhara-kyō Nagaoka-kyō Heijō-kyō Heian-kyō
Nagaoka-kyō, Heijō-kyō and Heian-kyō are the county seat for that administrative territory
Nagaoka-kyō Heijō-kyō Heian-kyō
action filter_type
action find_reverse
entity Japan
relation capital of
type capital
[{'concept': 'capital'}, 'capital of', 'Japan']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:capital . ?i property:capital_of resource:Japan }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1052803
P17
Q15617994
USER
Which administrative territory is Nagaoka-kyō situated in ?
(Q1052803,P17,c(Q15617994))
action filter_type
action find
entity Q1052803
relation P17
type Q15617994
['Q1052803', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1052803 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Nagaoka-kyō
action filter_type
action find
entity Nagaoka-kyō
relation country
type designation for an administrative territorial entity
['Nagaoka-kyō', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Nagaoka-kyō property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q1052803,P17,c(Q15617994))
action filter_type
action find
entity Q1052803
relation P17
type Q15617994
Which administrative territory is Nagaoka-kyō situated in
['Q1052803', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q1052803 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Japan
Which administrative territory is Nagaoka-kyō situated in
Japan
action filter_type
action find
entity Nagaoka-kyō
relation country
type designation for an administrative territorial entity
['Nagaoka-kyō', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Nagaoka-kyō property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19003196
Q15617994
USER
And how about Damzijl?
(Q19003196,P17,c(Q15617994))
action filter_type
action find
entity Q19003196
relation P17
type Q15617994
['Q19003196', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q19003196 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Damzijl
action filter_type
action find
entity Damzijl
relation country
type designation for an administrative territorial entity
['Damzijl', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Damzijl property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19003196,P17,c(Q15617994))
action filter_type
action find
entity Q19003196
relation P17
type Q15617994
[ANSWER]
['Q19003196', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q19003196 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Damzijl
relation country
type designation for an administrative territorial entity
['Damzijl', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Damzijl property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q55 Q642046 Q183
P47
Q1048835
USER
Does Netherlands share border with Calahorra and Germany ?
(Q55,P47,Q642046) (Q55,P47,Q183)
action is_in
entity Q55
action intersection
action find_reverse
entity Q642046
relation P47
action find_reverse
entity Q183
relation P47
['Q55', 'P47', 'Q642046'] ['Q55', 'P47', 'Q183']
ASK WHERE { resource:Q55 property:P47 resource:Q642046 . resource:Q55 property:P47 resource:Q183 }
Netherlands Calahorra Germany
action is_in
entity Netherlands
action intersection
action find_reverse
entity Calahorra
relation shares border with
action find_reverse
entity Germany
relation shares border with
['Netherlands', 'shares border with', 'Calahorra'] ['Netherlands', 'shares border with', 'Germany']
ASK WHERE { resource:Netherlands property:shares_border_with resource:Calahorra . resource:Netherlands property:shares_border_with resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q55,P47,Q642046) (Q55,P47,Q183)
action is_in
entity Q55
action intersection
action find_reverse
entity Q642046
relation P47
action find_reverse
entity Q183
relation P47
[ANSWER]
['Q55', 'P47', 'Q642046'] ['Q55', 'P47', 'Q183']
ASK WHERE { resource:Q55 property:P47 resource:Q642046 . resource:Q55 property:P47 resource:Q183 }
NO and YES respectively
action is_in
entity Netherlands
action intersection
action find_reverse
entity Calahorra
relation shares border with
action find_reverse
entity Germany
relation shares border with
['Netherlands', 'shares border with', 'Calahorra'] ['Netherlands', 'shares border with', 'Germany']
ASK WHERE { resource:Netherlands property:shares_border_with resource:Calahorra . resource:Netherlands property:shares_border_with resource:Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55
P6
Q502895
USER
What people are Netherlands the head of goverment of ?
(Q55,P6,c(Q502895))
action filter_type
action find
entity Q55
relation P6
type Q502895
['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q55 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Netherlands
action filter_type
action find
entity Netherlands
relation head of government
type common name
['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Netherlands property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q159840 Q345481 Q380970
SYSTEM
Ruud Lubbers, Piet de Jong, Jelle Zijlstra
Q693053 Q686476 Q318334 Q159840 Q133386 Q57792 Q345481 Q471204 Q380970 Q781813 Q736026 Q221411 Q634025 Q719701 Q12769 Q318320 Q983186 Q735519 Q951705
(Q55,P6,c(Q502895))
action filter_type
action find
entity Q55
relation P6
type Q502895
[ANSWERS] are Netherlands the head of goverment of
['Q55', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q55 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Dirk Jan de Geer Hendrikus Colijn Dries van Agt Ruud Lubbers Jan Peter Balkenende Mark Rutte Piet de Jong Barend Biesheuvel Jelle Zijlstra Jan de Quay Jo Cals Wim Kok Wim Schermerhorn Victor Marijnen Willem Drees Joop den Uyl Charles Ruijs de Beerenbrouck Louis Beel Pieter Sjoerds Gerbrandy
Ruud Lubbers, Piet de Jong and Jelle Zijlstra are Netherlands the head of goverment of
Ruud Lubbers Piet de Jong Jelle Zijlstra
action filter_type
action find
entity Netherlands
relation head of government
type common name
['Netherlands', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Netherlands property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5113042
Q502895
USER
And what about Valea Seacă?
(Q5113042,P6,c(Q502895))
action filter_type
action find
entity Q5113042
relation P6
type Q502895
['Q5113042', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5113042 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Valea Seacă
action filter_type
action find
entity Valea Seacă
relation head of government
type common name
['Valea Seacă', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Valea_Seacă property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q26088438 Q24124178
SYSTEM
Gheorghe Băiceanu, Valeriu Roman
Q26088438 Q24124178
(Q5113042,P6,c(Q502895))
action filter_type
action find
entity Q5113042
relation P6
type Q502895
[ANSWERS]
['Q5113042', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q5113042 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Gheorghe Băiceanu Valeriu Roman
Gheorghe Băiceanu Valeriu Roman
action filter_type
action find
entity Valea Seacă
relation head of government
type common name
['Valea Seacă', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Valea_Seacă property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]