Simple Question (Direct)
Simple Question
Q3938466
P607
Q350604
USER
Which armed conflict did Robert Whigham take part in ?
(Q3938466,P607,c(Q350604))
action filter_type
action find
entity Q3938466
relation P607
type Q350604
['Q3938466', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q350604 . resource:Q3938466 property:P607 ?c }
Robert Whigham
action filter_type
action find
entity Robert Whigham
relation conflict
type armed conflict
['Robert Whigham', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:armed_conflict . resource:Robert_Whigham property:conflict ?c }
[]
armed conflict
Q215112
SYSTEM
Second Boer War
Q215112
(Q3938466,P607,c(Q350604))
action filter_type
action find
entity Q3938466
relation P607
type Q350604
Robert Whigham took the [ANSWER] part
['Q3938466', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q350604 . resource:Q3938466 property:P607 ?c }
Second Boer War
Robert Whigham took the Second Boer War part
Second Boer War
action filter_type
action find
entity Robert Whigham
relation conflict
type armed conflict
['Robert Whigham', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:armed_conflict . resource:Robert_Whigham property:conflict ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3938466
P241
Q781132
USER
Which military branch was Robert Whigham a part of ?
(Q3938466,P241,c(Q781132))
action filter_type
action find
entity Q3938466
relation P241
type Q781132
['Q3938466', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { resource:Q3938466 property:P241 ?n . ?n rdf:type ontology:Q781132 }
Robert Whigham
action filter_type
action find
entity Robert Whigham
relation military branch
type military branch
['Robert Whigham', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Whigham property:military_branch ?n . ?n rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q3938466,P241,c(Q781132))
action filter_type
action find
entity Q3938466
relation P241
type Q781132
The [ANSWER] was Robert Whigham a part of
['Q3938466', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { resource:Q3938466 property:P241 ?n . ?n rdf:type ontology:Q781132 }
British Army
The British Army was Robert Whigham a part of
British Army
action filter_type
action find
entity Robert Whigham
relation military branch
type military branch
['Robert Whigham', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { resource:Robert_Whigham property:military_branch ?n . ?n rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3938466
P69
Q3914
USER
Which school is that person an alumni of ?
(Q222595,P69,c(Q3914))
action filter_type
action find
entity Q3938466
relation P69
type Q3914
['Q222595', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q3938466 property:P69 ?w . ?w rdf:type ontology:Q3914 }
Robert Whigham
action filter_type
action find
entity Robert Whigham
relation educated at
type school
['British Army', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Robert_Whigham property:educated_at ?w . ?w rdf:type ontology:school }
[]
school
Q5445986
SYSTEM
Fettes College
Q5445986
(Q222595,P69,c(Q3914))
action filter_type
action find
entity Q3938466
relation P69
type Q3914
[ANSWER] is that person an alumni of
['Q222595', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?w WHERE { resource:Q3938466 property:P69 ?w . ?w rdf:type ontology:Q3914 }
Fettes College
Fettes College is that person an alumni of
Fettes College
action filter_type
action find
entity Robert Whigham
relation educated at
type school
['British Army', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?w WHERE { resource:Robert_Whigham property:educated_at ?w . ?w rdf:type ontology:school }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5445986 Q5645994 Q145
P17
Q15617994
USER
Is that school located in Hampden Row and United Kingdom ?
(Q5445986,P17,Q5645994) (Q5445986,P17,Q145)
action is_in
entity Q5445986
action intersection
action find_reverse
entity Q5645994
relation P17
action find_reverse
entity Q145
relation P17
['Q5445986', 'P17', 'Q5645994'] ['Q5445986', 'P17', 'Q145']
ASK WHERE { resource:Q5445986 property:P17 resource:Q5645994 . resource:Q5445986 property:P17 resource:Q145 }
Fettes College Hampden Row United Kingdom
action is_in
entity Fettes College
action intersection
action find_reverse
entity Hampden Row
relation country
action find_reverse
entity United Kingdom
relation country
['Fettes College', 'country', 'Hampden Row'] ['Fettes College', 'country', 'United Kingdom']
ASK WHERE { resource:Fettes_College property:country resource:Hampden_Row . resource:Fettes_College property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5445986,P17,Q5645994) (Q5445986,P17,Q145)
action is_in
entity Q5445986
action intersection
action find_reverse
entity Q5645994
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q5445986', 'P17', 'Q5645994'] ['Q5445986', 'P17', 'Q145']
ASK WHERE { resource:Q5445986 property:P17 resource:Q5645994 . resource:Q5445986 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Fettes College
action intersection
action find_reverse
entity Hampden Row
relation country
action find_reverse
entity United Kingdom
relation country
['Fettes College', 'country', 'Hampden Row'] ['Fettes College', 'country', 'United Kingdom']
ASK WHERE { resource:Fettes_College property:country resource:Hampden_Row . resource:Fettes_College property:country resource:United_Kingdom }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3838024 Q3938466
P27
Q15617994
USER
Which administrative territories are Robert Whigham or Luca Barnocchi an inhabitant of ?
OR((Q3938466,P27,c(Q15617994)), (Q3838024,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3938466
relation P27
action find
entity Q3838024
relation P27
type Q15617994
{'OR': [['Q3938466', 'P27', {'concept': 'Q15617994'}], ['Q3838024', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?p ) { ( resource:Q3938466 ) ( resource:Q3838024 ) } . ?p property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Luca Barnocchi Robert Whigham
action filter_type
action union
action find
entity Robert Whigham
relation country of citizenship
action find
entity Luca Barnocchi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Robert Whigham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luca Barnocchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?p ) { ( resource:Robert_Whigham ) ( resource:Luca_Barnocchi ) } . ?p property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q145
SYSTEM
Italy, United Kingdom
Q38 Q145
OR((Q3938466,P27,c(Q15617994)), (Q3838024,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3938466
relation P27
action find
entity Q3838024
relation P27
type Q15617994
[ANSWERS] are Robert Whigham or Luca Barnocchi an inhabitant of
{'OR': [['Q3938466', 'P27', {'concept': 'Q15617994'}], ['Q3838024', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?p ) { ( resource:Q3938466 ) ( resource:Q3838024 ) } . ?p property:P27 ?v } . ?v rdf:type ontology:Q15617994 }
Italy United Kingdom
Italy and United Kingdom are Robert Whigham or Luca Barnocchi an inhabitant of
Italy United Kingdom
action filter_type
action union
action find
entity Robert Whigham
relation country of citizenship
action find
entity Luca Barnocchi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Robert Whigham', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luca Barnocchi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { VALUES ( ?p ) { ( resource:Robert_Whigham ) ( resource:Luca_Barnocchi ) } . ?p property:country_of_citizenship ?v } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q758587
P495
Q838948
USER
Are those administrative territories a country of origin of Pédale douce ?
(Q758587,P495,Q38) (Q758587,P495,Q145)
action is_in
entity prev_answer
action find
entity Q758587
relation P495
['Q758587', 'P495', 'Q38'] ['Q758587', 'P495', 'Q145']
ASK WHERE { VALUES ( ?m ) { ( resource:Q38 ) ( resource:Q145 ) } . resource:Q758587 property:P495 ?m }
Pédale douce
action is_in
entity prev_answer
action find
entity Pédale douce
relation country of origin
['Pédale douce', 'country of origin', 'Italy'] ['Pédale douce', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?m ) { ( resource:Italy ) ( resource:United_Kingdom ) } . resource:Pédale_douce property:country_of_origin ?m }
[]
work of art
SYSTEM
NO
(Q758587,P495,Q38) (Q758587,P495,Q145)
action is_in
entity prev_answer
action find
entity Q758587
relation P495
[ANSWER]
['Q758587', 'P495', 'Q38'] ['Q758587', 'P495', 'Q145']
ASK WHERE { VALUES ( ?m ) { ( resource:Q38 ) ( resource:Q145 ) } . resource:Q758587 property:P495 ?m }
No
action is_in
entity prev_answer
action find
entity Pédale douce
relation country of origin
['Pédale douce', 'country of origin', 'Italy'] ['Pédale douce', 'country of origin', 'United Kingdom']
ASK WHERE { VALUES ( ?m ) { ( resource:Italy ) ( resource:United_Kingdom ) } . resource:Pédale_douce property:country_of_origin ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P276
Q56061
USER
Which administrative territory is located at Italy ?
(c(Q56061),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q56061
[{'concept': 'Q56061'}, 'P276', 'Q38']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q38 . ?r rdf:type ontology:Q56061 }
Italy
action filter_type
action find_reverse
entity Italy
relation location
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'location', 'Italy']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Italy . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q677935
SYSTEM
Veii
Q677935
(c(Q56061),P276,Q38)
action filter_type
action find_reverse
entity Q38
relation P276
type Q56061
[ANSWER] is located at Italy
[{'concept': 'Q56061'}, 'P276', 'Q38']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q38 . ?r rdf:type ontology:Q56061 }
Veii
Veii is located at Italy
Veii
action filter_type
action find_reverse
entity Italy
relation location
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'location', 'Italy']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Italy . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q677935
P20
Q502895
USER
Which person expired at that administrative territory ?
(c(Q502895),P20,Q677935)
action filter_type
action find_reverse
entity Q677935
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q677935']
SELECT DISTINCT ?b WHERE { ?b property:P20 resource:Q677935 . ?b rdf:type ontology:Q502895 }
Veii
action filter_type
action find_reverse
entity Veii
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Veii']
SELECT DISTINCT ?b WHERE { ?b property:place_of_death resource:Veii . ?b rdf:type ontology:common_name }
[]
common name
Q633484
SYSTEM
Quintus Fabius Vibulanus
Q633484
(c(Q502895),P20,Q677935)
action filter_type
action find_reverse
entity Q677935
relation P20
type Q502895
[ANSWER] expired at that administrative territory
[{'concept': 'Q502895'}, 'P20', 'Q677935']
SELECT DISTINCT ?b WHERE { ?b property:P20 resource:Q677935 . ?b rdf:type ontology:Q502895 }
Quintus Fabius Vibulanus
Quintus Fabius Vibulanus expired at that administrative territory
Quintus Fabius Vibulanus
action filter_type
action find_reverse
entity Veii
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Veii']
SELECT DISTINCT ?b WHERE { ?b property:place_of_death resource:Veii . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q633484 Q82955
P106
Q12737077
USER
Is politician the profession of that person ?
(Q633484,P106,Q82955)
action is_in
entity Q82955
action find
entity Q633484
relation P106
['Q633484', 'P106', 'Q82955']
ASK WHERE { resource:Q633484 property:P106 resource:Q82955 }
Quintus Fabius Vibulanus politician
action is_in
entity politician
action find
entity Quintus Fabius Vibulanus
relation occupation
['Quintus Fabius Vibulanus', 'occupation', 'politician']
ASK WHERE { resource:Quintus_Fabius_Vibulanus property:occupation resource:politician }
[]
occupation
SYSTEM
YES
(Q633484,P106,Q82955)
action is_in
entity Q82955
action find
entity Q633484
relation P106
[ANSWER]
['Q633484', 'P106', 'Q82955']
ASK WHERE { resource:Q633484 property:P106 resource:Q82955 }
Yes
action is_in
entity politician
action find
entity Quintus Fabius Vibulanus
relation occupation
['Quintus Fabius Vibulanus', 'occupation', 'politician']
ASK WHERE { resource:Quintus_Fabius_Vibulanus property:occupation resource:politician }
[]