Simple Question (Direct)
Simple Question
Q4800659
P641
Q349
USER
Which sport did Arthur Whittam participate in ?
(Q4800659,P641,c(Q349))
action filter_type
action find
entity Q4800659
relation P641
type Q349
['Q4800659', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q4800659 property:P641 ?l . ?l rdf:type ontology:Q349 }
Arthur Whittam
action filter_type
action find
entity Arthur Whittam
relation sport
type sport
['Arthur Whittam', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Arthur_Whittam property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4800659,P641,c(Q349))
action filter_type
action find
entity Q4800659
relation P641
type Q349
Arthur Whittam participated in [ANSWER]
['Q4800659', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q4800659 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Arthur Whittam participated in association football
association football
action filter_type
action find
entity Arthur Whittam
relation sport
type sport
['Arthur Whittam', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Arthur_Whittam property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4800659
P19
Q1496967
USER
Which territory was Arthur Whittam born at ?
(Q4800659,P19,c(Q1496967))
action filter_type
action find
entity Q4800659
relation P19
type Q1496967
['Q4800659', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { resource:Q4800659 property:P19 ?b . ?b rdf:type ontology:Q1496967 }
Arthur Whittam
action filter_type
action find
entity Arthur Whittam
relation place of birth
type territorial entity
['Arthur Whittam', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Arthur_Whittam property:place_of_birth ?b . ?b rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q4800659,P19,c(Q1496967))
action filter_type
action find
entity Q4800659
relation P19
type Q1496967
Arthur Whittam was born in [ANSWER]
['Q4800659', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?b WHERE { resource:Q4800659 property:P19 ?b . ?b rdf:type ontology:Q1496967 }
England
Arthur Whittam was born in England
England
action filter_type
action find
entity Arthur Whittam
relation place of birth
type territorial entity
['Arthur Whittam', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Arthur_Whittam property:place_of_birth ?b . ?b rdf:type ontology:territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6234141
Q1496967
USER
And also tell me about John Frederick Nelson?
(Q6234141,P19,c(Q1496967))
action filter_type
action find
entity Q6234141
relation P19
type Q1496967
['Q6234141', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?q WHERE { resource:Q6234141 property:P19 ?q . ?q rdf:type ontology:Q1496967 }
John Frederick Nelson
action filter_type
action find
entity John Frederick Nelson
relation place of birth
type territorial entity
['John Frederick Nelson', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_Frederick_Nelson property:place_of_birth ?q . ?q rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q6234141,P19,c(Q1496967))
action filter_type
action find
entity Q6234141
relation P19
type Q1496967
[ANSWER]
['Q6234141', 'P19', {'concept': 'Q1496967'}]
SELECT DISTINCT ?q WHERE { resource:Q6234141 property:P19 ?q . ?q rdf:type ontology:Q1496967 }
England
England
action filter_type
action find
entity John Frederick Nelson
relation place of birth
type territorial entity
['John Frederick Nelson', 'place of birth', {'concept': 'territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_Frederick_Nelson property:place_of_birth ?q . ?q rdf:type ontology:territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7146653 Q4800659
P27
Q15617994
USER
Which administrative territories are Arthur Whittam and Patrick Hannan a civilian of ?
AND((Q4800659,P27,c(Q15617994)), (Q7146653,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4800659
relation P27
action find
entity Q7146653
relation P27
type Q15617994
{'AND': [['Q4800659', 'P27', {'concept': 'Q15617994'}], ['Q7146653', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q7146653 property:P27 ?j . resource:Q4800659 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Patrick Hannan Arthur Whittam
action filter_type
action intersection
action find
entity Arthur Whittam
relation country of citizenship
action find
entity Patrick Hannan
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Arthur Whittam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patrick Hannan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Patrick_Hannan property:country_of_citizenship ?j . resource:Arthur_Whittam property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
AND((Q4800659,P27,c(Q15617994)), (Q7146653,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q4800659
relation P27
action find
entity Q7146653
relation P27
type Q15617994
The [ANSWER] is Arthur Whittam and Patrick Hannan a civilian of
{'AND': [['Q4800659', 'P27', {'concept': 'Q15617994'}], ['Q7146653', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { resource:Q7146653 property:P27 ?j . resource:Q4800659 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is Arthur Whittam and Patrick Hannan a civilian of
United Kingdom
action filter_type
action intersection
action find
entity Arthur Whittam
relation country of citizenship
action find
entity Patrick Hannan
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Arthur Whittam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Patrick Hannan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { resource:Patrick_Hannan property:country_of_citizenship ?j . resource:Arthur_Whittam property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q145 Q605128
P27
Q502895
USER
Is Yuji Takada a native of that administrative territory ?
(Q605128,P27,Q145)
action is_in
entity Q605128
action find
entity Q145
relation P27
['Q605128', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q605128 }
United Kingdom Yuji Takada
action is_in
entity Yuji Takada
action find
entity United Kingdom
relation country of citizenship
['Yuji Takada', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Yuji_Takada }
[]
common name
SYSTEM
NO
(Q605128,P27,Q145)
action is_in
entity Q605128
action find
entity Q145
relation P27
[ANSWER]
['Q605128', 'P27', 'Q145']
ASK WHERE { resource:Q145 property:P27 resource:Q605128 }
No
action is_in
entity Yuji Takada
action find
entity United Kingdom
relation country of citizenship
['Yuji Takada', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:United_Kingdom property:country_of_citizenship resource:Yuji_Takada }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6696744 Q4800659
P27
Q15617994
USER
Which administrative territories are Arthur Whittam or Luciana Mendoza a civilian of ?
OR((Q4800659,P27,c(Q15617994)), (Q6696744,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4800659
relation P27
action find
entity Q6696744
relation P27
type Q15617994
{'OR': [['Q4800659', 'P27', {'concept': 'Q15617994'}], ['Q6696744', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?n ) { ( resource:Q4800659 ) ( resource:Q6696744 ) } . ?n property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
Luciana Mendoza Arthur Whittam
action filter_type
action union
action find
entity Arthur Whittam
relation country of citizenship
action find
entity Luciana Mendoza
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arthur Whittam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luciana Mendoza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?n ) { ( resource:Arthur_Whittam ) ( resource:Luciana_Mendoza ) } . ?n property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414 Q145
SYSTEM
Argentina, United Kingdom
Q414 Q145
OR((Q4800659,P27,c(Q15617994)), (Q6696744,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4800659
relation P27
action find
entity Q6696744
relation P27
type Q15617994
[ANSWERS] are Arthur Whittam or Luciana Mendoza a civilian of
{'OR': [['Q4800659', 'P27', {'concept': 'Q15617994'}], ['Q6696744', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?n ) { ( resource:Q4800659 ) ( resource:Q6696744 ) } . ?n property:P27 ?x } . ?x rdf:type ontology:Q15617994 }
Argentina United Kingdom
Argentina and United Kingdom are Arthur Whittam or Luciana Mendoza a civilian of
Argentina United Kingdom
action filter_type
action union
action find
entity Arthur Whittam
relation country of citizenship
action find
entity Luciana Mendoza
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Arthur Whittam', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luciana Mendoza', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { VALUES ( ?n ) { ( resource:Arthur_Whittam ) ( resource:Luciana_Mendoza ) } . ?n property:country_of_citizenship ?x } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5565131
P710
Q1190554
USER
Were those administrative territories a participant of Gitlitz v. Commissioner ?
(Q5565131,P710,Q414) (Q5565131,P710,Q145)
action is_in
entity prev_answer
action find
entity Q5565131
relation P710
['Q5565131', 'P710', 'Q414'] ['Q5565131', 'P710', 'Q145']
ASK WHERE { resource:Q5565131 property:P710 ?x . VALUES ( ?x ) { ( resource:Q414 ) ( resource:Q145 ) } }
Gitlitz v. Commissioner
action is_in
entity prev_answer
action find
entity Gitlitz v. Commissioner
relation participant
['Gitlitz v. Commissioner', 'participant', 'Argentina'] ['Gitlitz v. Commissioner', 'participant', 'United Kingdom']
ASK WHERE { resource:Gitlitz_v._Commissioner property:participant ?x . VALUES ( ?x ) { ( resource:Argentina ) ( resource:United_Kingdom ) } }
[]
event
SYSTEM
NO
(Q5565131,P710,Q414) (Q5565131,P710,Q145)
action is_in
entity prev_answer
action find
entity Q5565131
relation P710
[ANSWER]
['Q5565131', 'P710', 'Q414'] ['Q5565131', 'P710', 'Q145']
ASK WHERE { resource:Q5565131 property:P710 ?x . VALUES ( ?x ) { ( resource:Q414 ) ( resource:Q145 ) } }
No
action is_in
entity prev_answer
action find
entity Gitlitz v. Commissioner
relation participant
['Gitlitz v. Commissioner', 'participant', 'Argentina'] ['Gitlitz v. Commissioner', 'participant', 'United Kingdom']
ASK WHERE { resource:Gitlitz_v._Commissioner property:participant ?x . VALUES ( ?x ) { ( resource:Argentina ) ( resource:United_Kingdom ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q414 Q298 Q3044714
P47
Q15617994
USER
Does Argentina share border with Chile and Ouest ?
(Q414,P47,Q298) (Q414,P47,Q3044714)
action is_in
entity Q414
action intersection
action find_reverse
entity Q298
relation P47
action find_reverse
entity Q3044714
relation P47
['Q414', 'P47', 'Q298'] ['Q414', 'P47', 'Q3044714']
ASK WHERE { resource:Q414 property:P47 resource:Q298 . resource:Q414 property:P47 resource:Q3044714 }
Argentina Chile Ouest
action is_in
entity Argentina
action intersection
action find_reverse
entity Chile
relation shares border with
action find_reverse
entity Ouest
relation shares border with
['Argentina', 'shares border with', 'Chile'] ['Argentina', 'shares border with', 'Ouest']
ASK WHERE { resource:Argentina property:shares_border_with resource:Chile . resource:Argentina property:shares_border_with resource:Ouest }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q414,P47,Q298) (Q414,P47,Q3044714)
action is_in
entity Q414
action intersection
action find_reverse
entity Q298
relation P47
action find_reverse
entity Q3044714
relation P47
[ANSWER]
['Q414', 'P47', 'Q298'] ['Q414', 'P47', 'Q3044714']
ASK WHERE { resource:Q414 property:P47 resource:Q298 . resource:Q414 property:P47 resource:Q3044714 }
YES and NO respectively
action is_in
entity Argentina
action intersection
action find_reverse
entity Chile
relation shares border with
action find_reverse
entity Ouest
relation shares border with
['Argentina', 'shares border with', 'Chile'] ['Argentina', 'shares border with', 'Ouest']
ASK WHERE { resource:Argentina property:shares_border_with resource:Chile . resource:Argentina property:shares_border_with resource:Ouest }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21 Q271150 Q145
P17
Q15617994
USER
Is England present in Drena and United Kingdom ?
(Q21,P17,Q271150) (Q21,P17,Q145)
action is_in
entity Q21
action intersection
action find_reverse
entity Q271150
relation P17
action find_reverse
entity Q145
relation P17
['Q21', 'P17', 'Q271150'] ['Q21', 'P17', 'Q145']
ASK WHERE { resource:Q21 property:P17 resource:Q271150 . resource:Q21 property:P17 resource:Q145 }
England Drena United Kingdom
action is_in
entity England
action intersection
action find_reverse
entity Drena
relation country
action find_reverse
entity United Kingdom
relation country
['England', 'country', 'Drena'] ['England', 'country', 'United Kingdom']
ASK WHERE { resource:England property:country resource:Drena . resource:England property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q21,P17,Q271150) (Q21,P17,Q145)
action is_in
entity Q21
action intersection
action find_reverse
entity Q271150
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q21', 'P17', 'Q271150'] ['Q21', 'P17', 'Q145']
ASK WHERE { resource:Q21 property:P17 resource:Q271150 . resource:Q21 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity England
action intersection
action find_reverse
entity Drena
relation country
action find_reverse
entity United Kingdom
relation country
['England', 'country', 'Drena'] ['England', 'country', 'United Kingdom']
ASK WHERE { resource:England property:country resource:Drena . resource:England property:country resource:United_Kingdom }
[]