Simple Question (Direct)
Simple Question
Q13640107
P27
Q15617994
USER
Which administrative territory is Julius La Rosa an inhabitant of ?
(Q13640107,P27,c(Q15617994))
action filter_type
action find
entity Q13640107
relation P27
type Q15617994
['Q13640107', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q13640107 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Julius La Rosa
action filter_type
action find
entity Julius La Rosa
relation country of citizenship
type designation for an administrative territorial entity
['Julius La Rosa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Julius_La_Rosa property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q13640107,P27,c(Q15617994))
action filter_type
action find
entity Q13640107
relation P27
type Q15617994
[ANSWER]
['Q13640107', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q13640107 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Julius La Rosa
relation country of citizenship
type designation for an administrative territorial entity
['Julius La Rosa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Julius_La_Rosa property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13640107
P241
Q781132
USER
Which military branch is that person affiliated to ?
(Q30,P241,c(Q781132))
action filter_type
action find
entity Q13640107
relation P241
type Q781132
['Q30', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q781132 . resource:Q13640107 property:P241 ?p }
Julius La Rosa
action filter_type
action find
entity Julius La Rosa
relation military branch
type military branch
['United States of America', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:military_branch . resource:Julius_La_Rosa property:military_branch ?p }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q30,P241,c(Q781132))
action filter_type
action find
entity Q13640107
relation P241
type Q781132
[ANSWER]
['Q30', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q781132 . resource:Q13640107 property:P241 ?p }
United States Navy
United States Navy
action filter_type
action find
entity Julius La Rosa
relation military branch
type military branch
['United States of America', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:military_branch . resource:Julius_La_Rosa property:military_branch ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13640107
P175
Q2031291
USER
Which release presented that person ?
(c(Q2031291),P175,Q11220)
action filter_type
action find_reverse
entity Q13640107
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q11220']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2031291 . ?r property:P175 resource:Q13640107 }
Julius La Rosa
action filter_type
action find_reverse
entity Julius La Rosa
relation performer
type release
[{'concept': 'release'}, 'performer', 'United States Navy']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:release . ?r property:performer resource:Julius_La_Rosa }
[]
release
Q3846265
SYSTEM
Eh
Q3846265
(c(Q2031291),P175,Q11220)
action filter_type
action find_reverse
entity Q13640107
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q11220']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q2031291 . ?r property:P175 resource:Q13640107 }
Eh
Eh
action filter_type
action find_reverse
entity Julius La Rosa
relation performer
type release
[{'concept': 'release'}, 'performer', 'United States Navy']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:release . ?r property:performer resource:Julius_La_Rosa }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3277832
P121
Q12876 Q197 Q781132
USER
Which military branches operate approximately the same number of tanks or airplanes as Hungarian Ground Forces ?
(c(Q781132),P121,c(Q12876)|c(Q197))
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q12876
action find_tuple_counts
relation P121
type Q781132
type Q197
action count
action filter_multi_types
action find
entity Q3277832
relation P121
type Q12876
type Q197
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q12876'}, {'concept': 'Q197'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?e ) WHERE { { ?j property:P121 ?i . ?j rdf:type ontology:Q781132 . ?i rdf:type ontology:Q12876 } UNION { ?j property:P121 ?i . ?i rdf:type ontology:Q197 . ?j rdf:type ontology:Q781132 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q3277832 property:P121 ?l . { { ?l rdf:type ontology:Q197 } UNION { ?l rdf:type ontology:Q12876 } } } } . FILTER ( ?e = ?h ) }
Hungarian Ground Forces
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type tank
action find_tuple_counts
relation item operated
type military branch
type airplane
action count
action filter_multi_types
action find
entity Hungarian Ground Forces
relation item operated
type tank
type airplane
[{'concept': 'military branch'}, 'item operated', [{'concept': 'tank'}, {'concept': 'airplane'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?e ) WHERE { { ?j property:item_operated ?i . ?j rdf:type ontology:military_branch . ?i rdf:type ontology:tank } UNION { ?j property:item_operated ?i . ?i rdf:type ontology:airplane . ?j rdf:type ontology:military_branch } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Hungarian_Ground_Forces property:item_operated ?l . { { ?l rdf:type ontology:airplane } UNION { ?l rdf:type ontology:tank } } } } . FILTER ( ?e = ?h ) }
[]
tank airplane military branch
Q3277832 Q4419309 Q192366
SYSTEM
Hungarian Ground Forces, Kazakh Air and Air Defence Forces, Royal Bahraini Army
Q4419309 Q2862927 Q3277832 Q192366
(c(Q781132),P121,c(Q12876)|c(Q197))
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q12876
action find_tuple_counts
relation P121
type Q781132
type Q197
action count
action filter_multi_types
action find
entity Q3277832
relation P121
type Q12876
type Q197
[ANSWERS]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q12876'}, {'concept': 'Q197'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?e ) WHERE { { ?j property:P121 ?i . ?j rdf:type ontology:Q781132 . ?i rdf:type ontology:Q12876 } UNION { ?j property:P121 ?i . ?i rdf:type ontology:Q197 . ?j rdf:type ontology:Q781132 } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Q3277832 property:P121 ?l . { { ?l rdf:type ontology:Q197 } UNION { ?l rdf:type ontology:Q12876 } } } } . FILTER ( ?e = ?h ) }
Kazakh Air and Air Defence Forces Indonesian Army Hungarian Ground Forces Royal Bahraini Army
Hungarian Ground Forces Kazakh Air and Air Defence Forces Royal Bahraini Army
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type tank
action find_tuple_counts
relation item operated
type military branch
type airplane
action count
action filter_multi_types
action find
entity Hungarian Ground Forces
relation item operated
type tank
type airplane
[{'concept': 'military branch'}, 'item operated', [{'concept': 'tank'}, {'concept': 'airplane'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?e ) WHERE { { ?j property:item_operated ?i . ?j rdf:type ontology:military_branch . ?i rdf:type ontology:tank } UNION { ?j property:item_operated ?i . ?i rdf:type ontology:airplane . ?j rdf:type ontology:military_branch } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { resource:Hungarian_Ground_Forces property:item_operated ?l . { { ?l rdf:type ontology:airplane } UNION { ?l rdf:type ontology:tank } } } } . FILTER ( ?e = ?h ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q569328
P121
Q12876 Q197 Q781132
USER
And how about Air Force and Anti-Air Defence Brigade?
(c(Q781132),P121,c(Q12876)|c(Q197))
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q12876
action find_tuple_counts
relation P121
type Q781132
type Q197
action count
action filter_multi_types
action find
entity Q569328
relation P121
type Q12876
type Q197
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q12876'}, {'concept': 'Q197'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?r ) WHERE { { ?k property:P121 ?f . ?k rdf:type ontology:Q781132 . ?f rdf:type ontology:Q12876 } UNION { ?k property:P121 ?f . ?k rdf:type ontology:Q781132 . ?f rdf:type ontology:Q197 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q569328 property:P121 ?e . { { ?e rdf:type ontology:Q12876 } UNION { ?e rdf:type ontology:Q197 } } } } . FILTER ( ?r = ?s ) }
Air Force and Anti-Air Defence Brigade
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type tank
action find_tuple_counts
relation item operated
type military branch
type airplane
action count
action filter_multi_types
action find
entity Air Force and Anti-Air Defence Brigade
relation item operated
type tank
type airplane
[{'concept': 'military branch'}, 'item operated', [{'concept': 'tank'}, {'concept': 'airplane'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?r ) WHERE { { ?k property:item_operated ?f . ?k rdf:type ontology:military_branch . ?f rdf:type ontology:tank } UNION { ?k property:item_operated ?f . ?k rdf:type ontology:military_branch . ?f rdf:type ontology:airplane } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Air_Force_and_Anti-Air_Defence_Brigade property:item_operated ?e . { { ?e rdf:type ontology:tank } UNION { ?e rdf:type ontology:airplane } } } } . FILTER ( ?r = ?s ) }
[]
tank airplane military branch
Q4709134 Q4709164 Q2074039
SYSTEM
Albanian Land Force, Albanian Royal Army, Latvian Land Forces
Q6082582 Q897614 Q17404781 Q18696932 Q1324290 Q18640177 Q11220 Q2408298 Q18615980 Q172771 Q1129369 Q3958034 Q4709164 Q2055634 Q833040 Q2905423 Q1546449 Q4939559 Q2704661 Q3293231 Q356359 Q376676 Q1777326 Q2665572 Q731647 Q4855270 Q1491482 Q1322103 Q4114459 Q2711719 Q2370391 Q11218 Q2301347 Q4709134 Q2349884 Q5985661 Q355771 Q2071948 Q2074039 Q17049310 Q18707175 Q3293247 Q569328
(c(Q781132),P121,c(Q12876)|c(Q197))
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q12876
action find_tuple_counts
relation P121
type Q781132
type Q197
action count
action filter_multi_types
action find
entity Q569328
relation P121
type Q12876
type Q197
[ANSWERS]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q12876'}, {'concept': 'Q197'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?r ) WHERE { { ?k property:P121 ?f . ?k rdf:type ontology:Q781132 . ?f rdf:type ontology:Q12876 } UNION { ?k property:P121 ?f . ?k rdf:type ontology:Q781132 . ?f rdf:type ontology:Q197 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q569328 property:P121 ?e . { { ?e rdf:type ontology:Q12876 } UNION { ?e rdf:type ontology:Q197 } } } } . FILTER ( ?r = ?s ) }
Islamic Republic of Iran Air Defense Force Iraqi Army Afghan Special Mission Wing Lao People's Army Vietnam People's Navy Guinean Navy United States Navy Islamic Republic of Iran Navy Gambian Navy Royal Navy Hellenic Navy Argentine Army Aviation Albanian Royal Army Royal Bahrain Naval Force Italian Navy Lebanese Navy Hellenic Army Bolivian Army Indonesian Navy Bangladesh Navy Indian Navy Albanian Naval Force Argentine Navy Algerian National Navy Japan Maritime Self-Defense Force Bangladesh Army Lao People's Navy Spanish Army Eritrean Navy Lithuanian Naval Force Royal Bhutan Army United States Marine Corps Argentine Army Albanian Land Force Croatian Navy Iceland Air Defence System Indian Army Finnish Navy Latvian Land Forces Angolan Navy Malawi Army Naval Detachment Benin Naval Forces Air Force and Anti-Air Defence Brigade
Albanian Land Force Albanian Royal Army Latvian Land Forces
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type tank
action find_tuple_counts
relation item operated
type military branch
type airplane
action count
action filter_multi_types
action find
entity Air Force and Anti-Air Defence Brigade
relation item operated
type tank
type airplane
[{'concept': 'military branch'}, 'item operated', [{'concept': 'tank'}, {'concept': 'airplane'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?r ) WHERE { { ?k property:item_operated ?f . ?k rdf:type ontology:military_branch . ?f rdf:type ontology:tank } UNION { ?k property:item_operated ?f . ?k rdf:type ontology:military_branch . ?f rdf:type ontology:airplane } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Air_Force_and_Anti-Air_Defence_Brigade property:item_operated ?e . { { ?e rdf:type ontology:tank } UNION { ?e rdf:type ontology:airplane } } } } . FILTER ( ?r = ?s ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7288960 Q4419309
P17
Q15617994
USER
Which administrative territories are Kazakh Air and Air Defence Forces or Ramangan a part of ?
OR((Q4419309,P17,c(Q15617994)), (Q7288960,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4419309
relation P17
action find
entity Q7288960
relation P17
type Q15617994
{'OR': [['Q4419309', 'P17', {'concept': 'Q15617994'}], ['Q7288960', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { ?u property:P17 ?z . VALUES ( ?u ) { ( resource:Q4419309 ) ( resource:Q7288960 ) } } }
Ramangan Kazakh Air and Air Defence Forces
action filter_type
action union
action find
entity Kazakh Air and Air Defence Forces
relation country
action find
entity Ramangan
relation country
type designation for an administrative territorial entity
{'OR': [['Kazakh Air and Air Defence Forces', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ramangan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?u property:country ?z . VALUES ( ?u ) { ( resource:Kazakh_Air_and_Air_Defence_Forces ) ( resource:Ramangan ) } } }
[]
designation for an administrative territorial entity
Q232 Q794
SYSTEM
Kazakhstan, Iran
Q232 Q794
OR((Q4419309,P17,c(Q15617994)), (Q7288960,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4419309
relation P17
action find
entity Q7288960
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q4419309', 'P17', {'concept': 'Q15617994'}], ['Q7288960', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . { ?u property:P17 ?z . VALUES ( ?u ) { ( resource:Q4419309 ) ( resource:Q7288960 ) } } }
Kazakhstan Iran
Kazakhstan Iran
action filter_type
action union
action find
entity Kazakh Air and Air Defence Forces
relation country
action find
entity Ramangan
relation country
type designation for an administrative territorial entity
{'OR': [['Kazakh Air and Air Defence Forces', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ramangan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?u property:country ?z . VALUES ( ?u ) { ( resource:Kazakh_Air_and_Air_Defence_Forces ) ( resource:Ramangan ) } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P463
Q180684
USER
Which organization was Iran a member of ?
(Q794,P463,c(Q180684))
action filter_type
action find
entity Q794
relation P463
type Q180684
['Q794', 'P463', {'concept': 'Q180684'}]
SELECT DISTINCT ?m WHERE { resource:Q794 property:P463 ?m . ?m rdf:type ontology:Q180684 }
Iran
action filter_type
action find
entity Iran
relation member of
type conflict
['Iran', 'member of', {'concept': 'conflict'}]
SELECT DISTINCT ?m WHERE { resource:Iran property:member_of ?m . ?m rdf:type ontology:conflict }
[]
conflict
Q384535
SYSTEM
African Union – United Nations Hybrid Operation in Darfur
Q384535
(Q794,P463,c(Q180684))
action filter_type
action find
entity Q794
relation P463
type Q180684
[ANSWER]
['Q794', 'P463', {'concept': 'Q180684'}]
SELECT DISTINCT ?m WHERE { resource:Q794 property:P463 ?m . ?m rdf:type ontology:Q180684 }
African Union – United Nations Hybrid Operation in Darfur
African Union – United Nations Hybrid Operation in Darfur
action filter_type
action find
entity Iran
relation member of
type conflict
['Iran', 'member of', {'concept': 'conflict'}]
SELECT DISTINCT ?m WHERE { resource:Iran property:member_of ?m . ?m rdf:type ontology:conflict }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P366
Q180684 Q3084961
USER
How many product linings are mainly used as approximately 1 conflict ?
(c(Q3084961),P366,c(Q180684))
action count
action approx
action find_tuple_counts
relation P366
type Q3084961
type Q180684
value 1
[{'concept': 'Q3084961'}, 'P366', {'concept': 'Q180684'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?n ) WHERE { ?r property:P366 ?i . ?r rdf:type ontology:Q3084961 . ?i rdf:type ontology:Q180684 } GROUP BY ?r } . FILTER ( ?n = 1 ) }
action count
action approx
action find_tuple_counts
relation use
type product lining
type conflict
value 1
[{'concept': 'product lining'}, 'use', {'concept': 'conflict'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?n ) WHERE { ?r property:use ?i . ?r rdf:type ontology:product_lining . ?i rdf:type ontology:conflict } GROUP BY ?r } . FILTER ( ?n = 1 ) }
[]
conflict product lining
SYSTEM
4
Q151432 Q199570 Q837405 Q3080207
(c(Q3084961),P366,c(Q180684))
action count
action approx
action find_tuple_counts
relation P366
type Q3084961
type Q180684
value 1
[ANSWER]
[{'concept': 'Q3084961'}, 'P366', {'concept': 'Q180684'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?n ) WHERE { ?r property:P366 ?i . ?r rdf:type ontology:Q3084961 . ?i rdf:type ontology:Q180684 } GROUP BY ?r } . FILTER ( ?n = 1 ) }
McDonnell Douglas F-4 Phantom II MiG-25 F-94 Starfire MC-130
4
action count
action approx
action find_tuple_counts
relation use
type product lining
type conflict
value 1
[{'concept': 'product lining'}, 'use', {'concept': 'conflict'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?a ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?n ) WHERE { ?r property:use ?i . ?r rdf:type ontology:product_lining . ?i rdf:type ontology:conflict } GROUP BY ?r } . FILTER ( ?n = 1 ) }
[]