Simple Question (Direct)
Simple Question
Q7348199
P607
Q198
USER
Which battle did Robert P. Briscoe take part in ?
(Q7348199,P607,c(Q198))
action filter_type
action find
entity Q7348199
relation P607
type Q198
['Q7348199', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?o WHERE { resource:Q7348199 property:P607 ?o . ?o rdf:type ontology:Q198 }
Robert P. Briscoe
action filter_type
action find
entity Robert P. Briscoe
relation conflict
type war
['Robert P. Briscoe', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?o WHERE { resource:Robert_P._Briscoe property:conflict ?o . ?o rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q7348199,P607,c(Q198))
action filter_type
action find
entity Q7348199
relation P607
type Q198
[ANSWER] did Robert P. Briscoe take part in
['Q7348199', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?o WHERE { resource:Q7348199 property:P607 ?o . ?o rdf:type ontology:Q198 }
World War II
World War II did Robert P. Briscoe take part in
World War II
action filter_type
action find
entity Robert P. Briscoe
relation conflict
type war
['Robert P. Briscoe', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?o WHERE { resource:Robert_P._Briscoe property:conflict ?o . ?o rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7348199
P241
Q781132
USER
Which military branch contains Robert P. Briscoe as its part ?
(Q7348199,P241,c(Q781132))
action filter_type
action find
entity Q7348199
relation P241
type Q781132
['Q7348199', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q781132 . resource:Q7348199 property:P241 ?t }
Robert P. Briscoe
action filter_type
action find
entity Robert P. Briscoe
relation military branch
type military branch
['Robert P. Briscoe', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:military_branch . resource:Robert_P._Briscoe property:military_branch ?t }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q7348199,P241,c(Q781132))
action filter_type
action find
entity Q7348199
relation P241
type Q781132
U [ANSWER] contains Robert P. Briscoe as its part
['Q7348199', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q781132 . resource:Q7348199 property:P241 ?t }
United States Navy
U United States Navy contains Robert P. Briscoe as its part
United States Navy
action filter_type
action find
entity Robert P. Briscoe
relation military branch
type military branch
['Robert P. Briscoe', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:military_branch . resource:Robert_P._Briscoe property:military_branch ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q11220 Q30 Q1146183
P17
Q15617994
USER
Is that military branch situated in United States of America and Jinjiazhuang District ?
(Q11220,P17,Q30) (Q11220,P17,Q1146183)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1146183
relation P17
['Q11220', 'P17', 'Q30'] ['Q11220', 'P17', 'Q1146183']
ASK WHERE { resource:Q11220 property:P17 resource:Q30 . resource:Q11220 property:P17 resource:Q1146183 }
United States Navy United States of America Jinjiazhuang District
action is_in
entity United States Navy
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Jinjiazhuang District
relation country
['United States Navy', 'country', 'United States of America'] ['United States Navy', 'country', 'Jinjiazhuang District']
ASK WHERE { resource:United_States_Navy property:country resource:United_States_of_America . resource:United_States_Navy property:country resource:Jinjiazhuang_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q11220,P17,Q30) (Q11220,P17,Q1146183)
action is_in
entity Q11220
action intersection
action find_reverse
entity Q30
relation P17
action find_reverse
entity Q1146183
relation P17
[ANSWER]
['Q11220', 'P17', 'Q30'] ['Q11220', 'P17', 'Q1146183']
ASK WHERE { resource:Q11220 property:P17 resource:Q30 . resource:Q11220 property:P17 resource:Q1146183 }
YES and NO respectively
action is_in
entity United States Navy
action intersection
action find_reverse
entity United States of America
relation country
action find_reverse
entity Jinjiazhuang District
relation country
['United States Navy', 'country', 'United States of America'] ['United States Navy', 'country', 'Jinjiazhuang District']
ASK WHERE { resource:United_States_Navy property:country resource:United_States_of_America . resource:United_States_Navy property:country resource:Jinjiazhuang_District }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q781132 Q62447
USER
Which aerodromes are the administrator of around 1 military branch ?
(c(Q62447),P137,c(Q781132))
action approx
action find_tuple_counts
relation P137
type Q62447
type Q781132
value 1
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?f ) WHERE { ?i property:P137 ?z . ?z rdf:type ontology:Q781132 . ?i rdf:type ontology:Q62447 } GROUP BY ?i } . FILTER ( ?f = 1 ) }
action approx
action find_tuple_counts
relation operator
type aerodrome
type military branch
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?f ) WHERE { ?i property:operator ?z . ?z rdf:type ontology:military_branch . ?i rdf:type ontology:aerodrome } GROUP BY ?i } . FILTER ( ?f = 1 ) }
[]
military branch aerodrome
Q800126 Q5135044 Q3017076
SYSTEM
Bagram Airfield, Narsarsuaq Air Base, Naval Air Station Jacksonville
Q800126 Q5135044 Q3017076
(c(Q62447),P137,c(Q781132))
action approx
action find_tuple_counts
relation P137
type Q62447
type Q781132
value 1
[ANSWERS] are the administrator of around 1 military branch
[{'concept': 'Q62447'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?f ) WHERE { ?i property:P137 ?z . ?z rdf:type ontology:Q781132 . ?i rdf:type ontology:Q62447 } GROUP BY ?i } . FILTER ( ?f = 1 ) }
Bagram Airfield Narsarsuaq Air Base Naval Air Station Jacksonville
Bagram Airfield, Narsarsuaq Air Base and Naval Air Station Jacksonville are the administrator of around 1 military branch
Bagram Airfield Narsarsuaq Air Base Naval Air Station Jacksonville
action approx
action find_tuple_counts
relation operator
type aerodrome
type military branch
value 1
[{'concept': 'aerodrome'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?z ) AS ?f ) WHERE { ?i property:operator ?z . ?z rdf:type ontology:military_branch . ?i rdf:type ontology:aerodrome } GROUP BY ?i } . FILTER ( ?f = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1375717 Q30
P47 P27
Q15617994
USER
Which administrative territories have a shared border with United States of America and are Omar Arellano a civilian of ?
AND((Q30,P47,c(Q15617994)), (Q1375717,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P47
action find
entity Q1375717
relation P27
type Q15617994
{'AND': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q1375717', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1375717 property:P27 ?w . resource:Q30 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Omar Arellano United States of America
action filter_type
action intersection
action find
entity United States of America
relation shares border with
action find
entity Omar Arellano
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Omar Arellano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Omar_Arellano property:country_of_citizenship ?w . resource:United_States_of_America property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
AND((Q30,P47,c(Q15617994)), (Q1375717,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P47
action find
entity Q1375717
relation P27
type Q15617994
[ANSWER] have a shared border with United States of America and are Omar Arellano a civilian of
{'AND': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q1375717', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1375717 property:P27 ?w . resource:Q30 property:P47 ?w . ?w rdf:type ontology:Q15617994 }
Mexico
Mexico have a shared border with United States of America and are Omar Arellano a civilian of
Mexico
action filter_type
action intersection
action find
entity United States of America
relation shares border with
action find
entity Omar Arellano
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Omar Arellano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:Omar_Arellano property:country_of_citizenship ?w . resource:United_States_of_America property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q96 Q573970
P361
Q811979
USER
How many architectural structures are Mexico or apron a portion of ?
(Q96,P361,c(Q811979)) (Q573970,P361,c(Q811979))
action count
action union
action filter_type
action find
entity Q96
relation P361
type Q811979
action filter_type
action find
entity Q573970
relation P361
type Q811979
['Q96', 'P361', {'concept': 'Q811979'}] ['Q573970', 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?i property:P361 ?a . VALUES ( ?i ) { ( resource:Q96 ) ( resource:Q573970 ) } }
Mexico apron
action count
action union
action filter_type
action find
entity Mexico
relation part of
type architectural structure
action filter_type
action find
entity apron
relation part of
type architectural structure
['Mexico', 'part of', {'concept': 'architectural structure'}] ['apron', 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?i property:part_of ?a . VALUES ( ?i ) { ( resource:Mexico ) ( resource:apron ) } }
[]
architectural structure
SYSTEM
2
Q1248784 Q3631092
(Q96,P361,c(Q811979)) (Q573970,P361,c(Q811979))
action count
action union
action filter_type
action find
entity Q96
relation P361
type Q811979
action filter_type
action find
entity Q573970
relation P361
type Q811979
[ANSWER]
['Q96', 'P361', {'concept': 'Q811979'}] ['Q573970', 'P361', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?i property:P361 ?a . VALUES ( ?i ) { ( resource:Q96 ) ( resource:Q573970 ) } }
airport airstrip
2
action count
action union
action filter_type
action find
entity Mexico
relation part of
type architectural structure
action filter_type
action find
entity apron
relation part of
type architectural structure
['Mexico', 'part of', {'concept': 'architectural structure'}] ['apron', 'part of', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?k ) WHERE { ?i property:part_of ?a . VALUES ( ?i ) { ( resource:Mexico ) ( resource:apron ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q800126
P127
Q15617994
USER
Which administrative territory owned Bagram Airfield ?
(Q800126,P127,c(Q15617994))
action filter_type
action find
entity Q800126
relation P127
type Q15617994
['Q800126', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q800126 property:P127 ?y . ?y rdf:type ontology:Q15617994 }
Bagram Airfield
action filter_type
action find
entity Bagram Airfield
relation owned by
type designation for an administrative territorial entity
['Bagram Airfield', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bagram_Airfield property:owned_by ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q889
SYSTEM
Afghanistan
Q889
(Q800126,P127,c(Q15617994))
action filter_type
action find
entity Q800126
relation P127
type Q15617994
[ANSWER] owned Bagram Airfield
['Q800126', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q800126 property:P127 ?y . ?y rdf:type ontology:Q15617994 }
Afghanistan
Afghanistan owned Bagram Airfield
Afghanistan
action filter_type
action find
entity Bagram Airfield
relation owned by
type designation for an administrative territorial entity
['Bagram Airfield', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Bagram_Airfield property:owned_by ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]