Simple Question (Direct)
Simple Question
Q4679223
P607
Q198
USER
What battle was Adam Herbert Wakenshaw a part of ?
(Q4679223,P607,c(Q198))
action filter_type
action find
entity Q4679223
relation P607
type Q198
['Q4679223', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q4679223 property:P607 ?s . ?s rdf:type ontology:Q198 }
Adam Herbert Wakenshaw
action filter_type
action find
entity Adam Herbert Wakenshaw
relation conflict
type war
['Adam Herbert Wakenshaw', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Adam_Herbert_Wakenshaw property:conflict ?s . ?s rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q4679223,P607,c(Q198))
action filter_type
action find
entity Q4679223
relation P607
type Q198
The [ANSWER] was Adam Herbert Wakenshaw a part of
['Q4679223', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?s WHERE { resource:Q4679223 property:P607 ?s . ?s rdf:type ontology:Q198 }
World War II
The World War II was Adam Herbert Wakenshaw a part of
World War II
action filter_type
action find
entity Adam Herbert Wakenshaw
relation conflict
type war
['Adam Herbert Wakenshaw', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?s WHERE { resource:Adam_Herbert_Wakenshaw property:conflict ?s . ?s rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4679223
P166
Q618779
USER
What was won by Adam Herbert Wakenshaw ?
(Q4679223,P166,c(Q618779))
action filter_type
action find
entity Q4679223
relation P166
type Q618779
['Q4679223', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q4679223 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Adam Herbert Wakenshaw
action filter_type
action find
entity Adam Herbert Wakenshaw
relation award received
type award
['Adam Herbert Wakenshaw', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Adam_Herbert_Wakenshaw property:award_received ?n . ?n rdf:type ontology:award }
[]
award
Q219578
SYSTEM
Victoria Cross
Q219578
(Q4679223,P166,c(Q618779))
action filter_type
action find
entity Q4679223
relation P166
type Q618779
The [ANSWER] was won by Adam Herbert Wakenshaw
['Q4679223', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?n WHERE { resource:Q4679223 property:P166 ?n . ?n rdf:type ontology:Q618779 }
Victoria Cross
The Victoria Cross was won by Adam Herbert Wakenshaw
Victoria Cross
action filter_type
action find
entity Adam Herbert Wakenshaw
relation award received
type award
['Adam Herbert Wakenshaw', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?n WHERE { resource:Adam_Herbert_Wakenshaw property:award_received ?n . ?n rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4679223
P241
Q781132
USER
Which military branch did that person belong to ?
(Q219578,P241,c(Q781132))
action filter_type
action find
entity Q4679223
relation P241
type Q781132
['Q219578', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q4679223 property:P241 ?w . ?w rdf:type ontology:Q781132 }
Adam Herbert Wakenshaw
action filter_type
action find
entity Adam Herbert Wakenshaw
relation military branch
type military branch
['Victoria Cross', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Adam_Herbert_Wakenshaw property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q219578,P241,c(Q781132))
action filter_type
action find
entity Q4679223
relation P241
type Q781132
That person belonged to [ANSWER]
['Q219578', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q4679223 property:P241 ?w . ?w rdf:type ontology:Q781132 }
British Army
That person belonged to British Army
British Army
action filter_type
action find
entity Adam Herbert Wakenshaw
relation military branch
type military branch
['Victoria Cross', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Adam_Herbert_Wakenshaw property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4679223
P21
Q290
USER
What is the sex of that person ?
(Q222595,P21,c(Q290))
action filter_type
action find
entity Q4679223
relation P21
type Q290
['Q222595', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4679223 property:P21 ?r . ?r rdf:type ontology:Q290 }
Adam Herbert Wakenshaw
action filter_type
action find
entity Adam Herbert Wakenshaw
relation gender
type sex
['British Army', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Adam_Herbert_Wakenshaw property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q222595,P21,c(Q290))
action filter_type
action find
entity Q4679223
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q222595', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4679223 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Adam Herbert Wakenshaw
relation gender
type sex
['British Army', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Adam_Herbert_Wakenshaw property:gender ?r . ?r rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q12792889 Q4679223
P21
Q290
USER
And also Jože Smole
AND((Q4679223,P21,c(Q290)), (Q12792889,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4679223
relation P21
action find
entity Q12792889
relation P21
type Q290
{'AND': [['Q4679223', 'P21', {'concept': 'Q290'}], ['Q12792889', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?b WHERE { resource:Q4679223 property:P21 ?b . resource:Q12792889 property:P21 ?b . ?b rdf:type ontology:Q290 }
Jože Smole Adam Herbert Wakenshaw
action filter_type
action intersection
action find
entity Adam Herbert Wakenshaw
relation gender
action find
entity Jože Smole
relation gender
type sex
{'AND': [['Adam Herbert Wakenshaw', 'gender', {'concept': 'sex'}], ['Jože Smole', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?b WHERE { resource:Adam_Herbert_Wakenshaw property:gender ?b . resource:Jože_Smole property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q4679223,P21,c(Q290)), (Q12792889,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q4679223
relation P21
action find
entity Q12792889
relation P21
type Q290
[ANSWER]
{'AND': [['Q4679223', 'P21', {'concept': 'Q290'}], ['Q12792889', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?b WHERE { resource:Q4679223 property:P21 ?b . resource:Q12792889 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity Adam Herbert Wakenshaw
relation gender
action find
entity Jože Smole
relation gender
type sex
{'AND': [['Adam Herbert Wakenshaw', 'gender', {'concept': 'sex'}], ['Jože Smole', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?b WHERE { resource:Adam_Herbert_Wakenshaw property:gender ?b . resource:Jože_Smole property:gender ?b . ?b rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3903338 Q4679223
P27 P20
Q15617994
USER
Which administrative territories are the countries of citizenship of Adam Herbert Wakenshaw or are the places of death of Piero Pirelli ?
OR((Q4679223,P27,c(Q15617994)), (Q3903338,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q4679223
relation P27
action find
entity Q3903338
relation P20
type Q15617994
{'OR': [['Q4679223', 'P27', {'concept': 'Q15617994'}], ['Q3903338', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q4679223 property:P27 ?e } UNION { resource:Q3903338 property:P20 ?e } } }
Piero Pirelli Adam Herbert Wakenshaw
action filter_type
action union
action find
entity Adam Herbert Wakenshaw
relation country of citizenship
action find
entity Piero Pirelli
relation place of death
type designation for an administrative territorial entity
{'OR': [['Adam Herbert Wakenshaw', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Piero Pirelli', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Adam_Herbert_Wakenshaw property:country_of_citizenship ?e } UNION { resource:Piero_Pirelli property:place_of_death ?e } } }
[]
designation for an administrative territorial entity
Q25206 Q145
SYSTEM
Santhià, United Kingdom
Q25206 Q145
OR((Q4679223,P27,c(Q15617994)), (Q3903338,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q4679223
relation P27
action find
entity Q3903338
relation P20
type Q15617994
[ANSWERS] are the countries of citizenship of Adam Herbert Wakenshaw or are the places of death of Piero Pirelli
{'OR': [['Q4679223', 'P27', {'concept': 'Q15617994'}], ['Q3903338', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15617994 . { { resource:Q4679223 property:P27 ?e } UNION { resource:Q3903338 property:P20 ?e } } }
Santhià United Kingdom
Santhià and United Kingdom are the countries of citizenship of Adam Herbert Wakenshaw or are the places of death of Piero Pirelli
Santhià United Kingdom
action filter_type
action union
action find
entity Adam Herbert Wakenshaw
relation country of citizenship
action find
entity Piero Pirelli
relation place of death
type designation for an administrative territorial entity
{'OR': [['Adam Herbert Wakenshaw', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Piero Pirelli', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Adam_Herbert_Wakenshaw property:country_of_citizenship ?e } UNION { resource:Piero_Pirelli property:place_of_death ?e } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P710
Q20937557 Q484652
USER
How many series or international organizations did that administrative territory participate in ?
(c(Q20937557),P710,Q145) (c(Q484652),P710,Q145) (c(Q20937557),P710,Q25206) (c(Q484652),P710,Q25206) (c(Q20937557),P710,Q145) (c(Q484652),P710,Q145)
[{'concept': 'Q20937557'}, 'P710', 'Q145'] [{'concept': 'Q484652'}, 'P710', 'Q145'] [{'concept': 'Q20937557'}, 'P710', 'Q25206'] [{'concept': 'Q484652'}, 'P710', 'Q25206'] [{'concept': 'Q20937557'}, 'P710', 'Q145'] [{'concept': 'Q484652'}, 'P710', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P710 resource:Q225249 } UNION { ?y property:P710 resource:Q225249 } UNION { ?z property:P710 resource:Q25206 } UNION { ?y property:P710 resource:Q25206 } UNION { ?z property:P710 resource:Q225249 } UNION { ?y property:P710 resource:Q225249 } } . ?z rdf:type ontology:Q2917506 . ?y rdf:type ontology:Q484652 }
[{'concept': 'series'}, 'participant', 'United Kingdom'] [{'concept': 'international organization'}, 'participant', 'United Kingdom'] [{'concept': 'series'}, 'participant', 'Santhià'] [{'concept': 'international organization'}, 'participant', 'Santhià'] [{'concept': 'series'}, 'participant', 'United Kingdom'] [{'concept': 'international organization'}, 'participant', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:participant resource:United_Kingdom } UNION { ?y property:participant resource:United_Kingdom } UNION { ?z property:participant resource:Santhià } UNION { ?y property:participant resource:Santhià } UNION { ?z property:participant resource:United_Kingdom } UNION { ?y property:participant resource:United_Kingdom } } . ?z rdf:type ontology:series . ?y rdf:type ontology:international_organization }
[]
series international organization
Quantitative|Count|Mult. entity type|Clarification
Q25206
SYSTEM
Did you mean Santhià ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P710 resource:Q225249 } UNION { ?y property:P710 resource:Q225249 } UNION { ?z property:P710 resource:Q25206 } UNION { ?y property:P710 resource:Q25206 } UNION { ?z property:P710 resource:Q225249 } UNION { ?y property:P710 resource:Q225249 } } . ?z rdf:type ontology:Q2917506 . ?y rdf:type ontology:Q484652 }
Did you mean Santhià ?
Santhià
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:participant resource:United_Kingdom } UNION { ?y property:participant resource:United_Kingdom } UNION { ?z property:participant resource:Santhià } UNION { ?y property:participant resource:Santhià } UNION { ?z property:participant resource:United_Kingdom } UNION { ?y property:participant resource:United_Kingdom } } . ?z rdf:type ontology:series . ?y rdf:type ontology:international_organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant United Kingdom. Could you tell me the answer for that?
(c(Q20937557),P710,Q145) (c(Q484652),P710,Q145) (c(Q20937557),P710,Q25206) (c(Q484652),P710,Q25206) (c(Q20937557),P710,Q145) (c(Q484652),P710,Q145)
Q145
[{'concept': 'Q20937557'}, 'P710', 'Q145'] [{'concept': 'Q484652'}, 'P710', 'Q145'] [{'concept': 'Q20937557'}, 'P710', 'Q25206'] [{'concept': 'Q484652'}, 'P710', 'Q25206'] [{'concept': 'Q20937557'}, 'P710', 'Q145'] [{'concept': 'Q484652'}, 'P710', 'Q145']
[{'concept': 'series'}, 'participant', 'United Kingdom'] [{'concept': 'international organization'}, 'participant', 'United Kingdom'] [{'concept': 'series'}, 'participant', 'Santhià'] [{'concept': 'international organization'}, 'participant', 'Santhià'] [{'concept': 'series'}, 'participant', 'United Kingdom'] [{'concept': 'international organization'}, 'participant', 'United Kingdom']
[]
SYSTEM
2
Q1753858 Q10287157
(c(Q20937557),P710,Q145) (c(Q484652),P710,Q145) (c(Q20937557),P710,Q25206) (c(Q484652),P710,Q25206) (c(Q20937557),P710,Q145) (c(Q484652),P710,Q145)
[ANSWER]
[{'concept': 'Q20937557'}, 'P710', 'Q145'] [{'concept': 'Q484652'}, 'P710', 'Q145'] [{'concept': 'Q20937557'}, 'P710', 'Q25206'] [{'concept': 'Q484652'}, 'P710', 'Q25206'] [{'concept': 'Q20937557'}, 'P710', 'Q145'] [{'concept': 'Q484652'}, 'P710', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P710 resource:Q225249 } UNION { ?y property:P710 resource:Q225249 } UNION { ?z property:P710 resource:Q25206 } UNION { ?y property:P710 resource:Q25206 } UNION { ?z property:P710 resource:Q225249 } UNION { ?y property:P710 resource:Q225249 } } . ?z rdf:type ontology:Q2917506 . ?y rdf:type ontology:Q484652 }
Moscow Conference G6
2
[{'concept': 'series'}, 'participant', 'United Kingdom'] [{'concept': 'international organization'}, 'participant', 'United Kingdom'] [{'concept': 'series'}, 'participant', 'Santhià'] [{'concept': 'international organization'}, 'participant', 'Santhià'] [{'concept': 'series'}, 'participant', 'United Kingdom'] [{'concept': 'international organization'}, 'participant', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:participant resource:United_Kingdom } UNION { ?y property:participant resource:United_Kingdom } UNION { ?z property:participant resource:Santhià } UNION { ?y property:participant resource:Santhià } UNION { ?z property:participant resource:United_Kingdom } UNION { ?y property:participant resource:United_Kingdom } } . ?z rdf:type ontology:series . ?y rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q362
P710
Q15617994
USER
Which artists participated in World War II ?
(Q362,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
['Q362', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q362 property:P710 ?p }
World War II
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:World_War_II property:participant ?p }
[]
designation for an administrative territorial entity
Q38 Q30 Q142
SYSTEM
Italy, United States of America, France
Q142 Q17 Q30 Q38 Q145
(Q362,P710,c(Q15617994))
action filter_type
action find
entity Q362
relation P710
type Q15617994
[ANSWERS] participated in World War II
['Q362', 'P710', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q362 property:P710 ?p }
France Japan United States of America Italy United Kingdom
Italy, United States of America and France participated in World War II
Italy United States of America France
action filter_type
action find
entity World War II
relation participant
type designation for an administrative territorial entity
['World War II', 'participant', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:World_War_II property:participant ?p }
[]