Simple Question (Direct)
Simple Question
Q313976
P241
Q781132
USER
Which military branch did P. G. T. Beauregard belong to ?
(Q313976,P241,c(Q781132))
action filter_type
action find
entity Q313976
relation P241
type Q781132
['Q313976', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?k WHERE { resource:Q313976 property:P241 ?k . ?k rdf:type ontology:Q781132 }
P. G. T. Beauregard
action filter_type
action find
entity P. G. T. Beauregard
relation military branch
type military branch
['P. G. T. Beauregard', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?k WHERE { resource:P._G._T._Beauregard property:military_branch ?k . ?k rdf:type ontology:military_branch }
[]
military branch
Q1125021
SYSTEM
Confederate States Army
Q1125021
(Q313976,P241,c(Q781132))
action filter_type
action find
entity Q313976
relation P241
type Q781132
P. G. T. Beauregard belonged to the [ANSWER]
['Q313976', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?k WHERE { resource:Q313976 property:P241 ?k . ?k rdf:type ontology:Q781132 }
Confederate States Army
P. G. T. Beauregard belonged to the Confederate States Army
Confederate States Army
action filter_type
action find
entity P. G. T. Beauregard
relation military branch
type military branch
['P. G. T. Beauregard', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?k WHERE { resource:P._G._T._Beauregard property:military_branch ?k . ?k rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313976
P410
Q4189293
USER
What is the title conferred upon P. G. T. Beauregard ?
(Q313976,P410,c(Q4189293))
action filter_type
action find
entity Q313976
relation P410
type Q4189293
['Q313976', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4189293 . resource:Q313976 property:P410 ?o }
P. G. T. Beauregard
action filter_type
action find
entity P. G. T. Beauregard
relation military rank
type title
['P. G. T. Beauregard', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title . resource:P._G._T._Beauregard property:military_rank ?o }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q313976,P410,c(Q4189293))
action filter_type
action find
entity Q313976
relation P410
type Q4189293
The title conferred upon P. is a [ANSWER]
['Q313976', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q4189293 . resource:Q313976 property:P410 ?o }
general officer
The title conferred upon P. is a general officer
general officer
action filter_type
action find
entity P. G. T. Beauregard
relation military rank
type title
['P. G. T. Beauregard', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:title . resource:P._G._T._Beauregard property:military_rank ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313976
P69
Q1935049
USER
Which military school was P. G. T. Beauregard educated at ?
(Q313976,P69,c(Q1935049))
action filter_type
action find
entity Q313976
relation P69
type Q1935049
['Q313976', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?i WHERE { resource:Q313976 property:P69 ?i . ?i rdf:type ontology:Q1935049 }
P. G. T. Beauregard
action filter_type
action find
entity P. G. T. Beauregard
relation educated at
type military school
['P. G. T. Beauregard', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?i WHERE { resource:P._G._T._Beauregard property:educated_at ?i . ?i rdf:type ontology:military_school }
[]
military school
Q9219
SYSTEM
United States Military Academy at West Point
Q9219
(Q313976,P69,c(Q1935049))
action filter_type
action find
entity Q313976
relation P69
type Q1935049
[ANSWER] was P. G. T. Beauregard educated at
['Q313976', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?i WHERE { resource:Q313976 property:P69 ?i . ?i rdf:type ontology:Q1935049 }
United States Military Academy at West Point
United States Military Academy at West Point was P. G. T. Beauregard educated at
United States Military Academy at West Point
action filter_type
action find
entity P. G. T. Beauregard
relation educated at
type military school
['P. G. T. Beauregard', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?i WHERE { resource:P._G._T._Beauregard property:educated_at ?i . ?i rdf:type ontology:military_school }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q192366
P121
Q197 Q1875621 Q781132
USER
How many military branches are responsible for management of approximately the same number of airplanes or aircraft classes as Royal Bahraini Army ?
(c(Q781132),P121,c(Q197)|c(Q1875621))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action count
action filter_multi_types
action find
entity Q192366
relation P121
type Q197
type Q1875621
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q1875621'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q197 ) ( ontology:Q1875621 ) } . ?v rdf:type ?f } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q192366 property:P121 ?q . { { ?q rdf:type ontology:Q1875621 } UNION { ?q rdf:type ontology:Q197 } } } } . FILTER ( ?j = ?b ) }
Royal Bahraini Army
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action count
action filter_multi_types
action find
entity Royal Bahraini Army
relation item operated
type airplane
type aircraft class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'aircraft class'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:airplane ) ( ontology:aircraft_class ) } . ?v rdf:type ?f } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Royal_Bahraini_Army property:item_operated ?q . { { ?q rdf:type ontology:aircraft_class } UNION { ?q rdf:type ontology:airplane } } } } . FILTER ( ?j = ?b ) }
[]
airplane aircraft class military branch
SYSTEM
46
Q6082582 Q897614 Q17404781 Q18696932 Q1324290 Q18640177 Q11220 Q2408298 Q18615980 Q172771 Q1129369 Q18640276 Q4709164 Q2055634 Q833040 Q2905423 Q1546449 Q4939559 Q2704661 Q3293231 Q356359 Q2862927 Q376676 Q2862841 Q1777326 Q731647 Q3277832 Q1491482 Q1322103 Q4114459 Q2711719 Q2370391 Q11218 Q2301347 Q4709134 Q2349884 Q17597972 Q5985661 Q355771 Q2071948 Q192366 Q2074039 Q17049310 Q18707175 Q3293247 Q569328
(c(Q781132),P121,c(Q197)|c(Q1875621))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action count
action filter_multi_types
action find
entity Q192366
relation P121
type Q197
type Q1875621
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q1875621'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:Q197 ) ( ontology:Q1875621 ) } . ?v rdf:type ?f } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Q192366 property:P121 ?q . { { ?q rdf:type ontology:Q1875621 } UNION { ?q rdf:type ontology:Q197 } } } } . FILTER ( ?j = ?b ) }
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 Bissau-Guinean Army Albanian Royal Army Royal Bahrain Naval Force Italian Navy Lebanese Navy Hellenic Army Bolivian Army Indonesian Navy Bangladesh Navy Indian Navy Indonesian Army Albanian Naval Force Congolese Army Argentine Navy Japan Maritime Self-Defense Force Hungarian Ground Forces 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 Angolan Army Iceland Air Defence System Indian Army Finnish Navy Royal Bahraini Army Latvian Land Forces Angolan Navy Malawi Army Naval Detachment Benin Naval Forces Air Force and Anti-Air Defence Brigade
46
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action count
action filter_multi_types
action find
entity Royal Bahraini Army
relation item operated
type airplane
type aircraft class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'aircraft class'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?i ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?j ) WHERE { VALUES ( ?f ) { ( ontology:airplane ) ( ontology:aircraft_class ) } . ?v rdf:type ?f } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { resource:Royal_Bahraini_Army property:item_operated ?q . { { ?q rdf:type ontology:aircraft_class } UNION { ?q rdf:type ontology:airplane } } } } . FILTER ( ?j = ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q172771
P121
Q197 Q1875621 Q781132
USER
And how about Royal Navy?
(c(Q781132),P121,c(Q197)|c(Q1875621))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action count
action filter_multi_types
action find
entity Q172771
relation P121
type Q197
type Q1875621
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q1875621'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?p WHERE { { ?p property:P121 ?e . ?e rdf:type ontology:Q1875621 . ?p rdf:type ontology:Q781132 } UNION { ?p property:P121 ?e . ?e rdf:type ontology:Q197 . ?p rdf:type ontology:Q781132 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q197 ) ( ontology:Q1875621 ) } } . resource:Q172771 property:P121 ?l } } . FILTER ( ?x = ?z ) }
Royal Navy
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action count
action filter_multi_types
action find
entity Royal Navy
relation item operated
type airplane
type aircraft class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'aircraft class'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?p WHERE { { ?p property:item_operated ?e . ?e rdf:type ontology:aircraft_class . ?p rdf:type ontology:military_branch } UNION { ?p property:item_operated ?e . ?e rdf:type ontology:airplane . ?p rdf:type ontology:military_branch } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:airplane ) ( ontology:aircraft_class ) } } . resource:Royal_Navy property:item_operated ?l } } . FILTER ( ?x = ?z ) }
[]
airplane aircraft class military branch
SYSTEM
46
Q6082582 Q897614 Q17404781 Q18696932 Q1324290 Q18640177 Q11220 Q2408298 Q18615980 Q172771 Q1129369 Q18640276 Q4709164 Q2055634 Q833040 Q2905423 Q1546449 Q4939559 Q2704661 Q3293231 Q356359 Q2862927 Q376676 Q2862841 Q1777326 Q731647 Q3277832 Q1491482 Q1322103 Q4114459 Q2711719 Q2370391 Q11218 Q2301347 Q4709134 Q2349884 Q17597972 Q5985661 Q355771 Q2071948 Q192366 Q2074039 Q17049310 Q18707175 Q3293247 Q569328
(c(Q781132),P121,c(Q197)|c(Q1875621))
action count
action approx
action union
action find_tuple_counts
relation P121
type Q781132
type Q197
action find_tuple_counts
relation P121
type Q781132
type Q1875621
action count
action filter_multi_types
action find
entity Q172771
relation P121
type Q197
type Q1875621
[ANSWER]
[{'concept': 'Q781132'}, 'P121', [{'concept': 'Q197'}, {'concept': 'Q1875621'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?p WHERE { { ?p property:P121 ?e . ?e rdf:type ontology:Q1875621 . ?p rdf:type ontology:Q781132 } UNION { ?p property:P121 ?e . ?e rdf:type ontology:Q197 . ?p rdf:type ontology:Q781132 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:Q197 ) ( ontology:Q1875621 ) } } . resource:Q172771 property:P121 ?l } } . FILTER ( ?x = ?z ) }
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 Bissau-Guinean Army Albanian Royal Army Royal Bahrain Naval Force Italian Navy Lebanese Navy Hellenic Army Bolivian Army Indonesian Navy Bangladesh Navy Indian Navy Indonesian Army Albanian Naval Force Congolese Army Argentine Navy Japan Maritime Self-Defense Force Hungarian Ground Forces 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 Angolan Army Iceland Air Defence System Indian Army Finnish Navy Royal Bahraini Army Latvian Land Forces Angolan Navy Malawi Army Naval Detachment Benin Naval Forces Air Force and Anti-Air Defence Brigade
46
action count
action approx
action union
action find_tuple_counts
relation item operated
type military branch
type airplane
action find_tuple_counts
relation item operated
type military branch
type aircraft class
action count
action filter_multi_types
action find
entity Royal Navy
relation item operated
type airplane
type aircraft class
[{'concept': 'military branch'}, 'item operated', [{'concept': 'airplane'}, {'concept': 'aircraft class'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?x ) ?p WHERE { { ?p property:item_operated ?e . ?e rdf:type ontology:aircraft_class . ?p rdf:type ontology:military_branch } UNION { ?p property:item_operated ?e . ?e rdf:type ontology:airplane . ?p rdf:type ontology:military_branch } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { ?l rdf:type ?y . VALUES ( ?y ) { ( ontology:airplane ) ( ontology:aircraft_class ) } } . resource:Royal_Navy property:item_operated ?l } } . FILTER ( ?x = ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9219
P127
Q1076486
USER
Which sports venue belongs to United States Military Academy at West Point ?
(c(Q1076486),P127,Q9219)
action filter_type
action find_reverse
entity Q9219
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q9219']
SELECT DISTINCT ?r WHERE { ?r property:P127 resource:Q9219 . ?r rdf:type ontology:Q1076486 }
United States Military Academy at West Point
action filter_type
action find_reverse
entity United States Military Academy at West Point
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'United States Military Academy at West Point']
SELECT DISTINCT ?r WHERE { ?r property:owned_by resource:United_States_Military_Academy_at_West_Point . ?r rdf:type ontology:sports_venue }
[]
sports venue
Q3311487
SYSTEM
Michie Stadium
Q3311487
(c(Q1076486),P127,Q9219)
action filter_type
action find_reverse
entity Q9219
relation P127
type Q1076486
[ANSWER] belongs to United States Military Academy at West Point
[{'concept': 'Q1076486'}, 'P127', 'Q9219']
SELECT DISTINCT ?r WHERE { ?r property:P127 resource:Q9219 . ?r rdf:type ontology:Q1076486 }
Michie Stadium
Michie Stadium belongs to United States Military Academy at West Point
Michie Stadium
action filter_type
action find_reverse
entity United States Military Academy at West Point
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'United States Military Academy at West Point']
SELECT DISTINCT ?r WHERE { ?r property:owned_by resource:United_States_Military_Academy_at_West_Point . ?r rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9219
P137
Q811979
USER
Which architectural structure was operated by United States Military Academy at West Point ?
(c(Q811979),P137,Q9219)
action filter_type
action find_reverse
entity Q9219
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q9219']
SELECT DISTINCT ?o WHERE { ?o property:P137 resource:Q9219 . ?o rdf:type ontology:Q811979 }
United States Military Academy at West Point
action filter_type
action find_reverse
entity United States Military Academy at West Point
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'United States Military Academy at West Point']
SELECT DISTINCT ?o WHERE { ?o property:operator resource:United_States_Military_Academy_at_West_Point . ?o rdf:type ontology:architectural_structure }
[]
architectural structure
Q5562375
SYSTEM
Gillis Field House
Q5562375
(c(Q811979),P137,Q9219)
action filter_type
action find_reverse
entity Q9219
relation P137
type Q811979
[ANSWER] was operated by United States Military Academy at West Point
[{'concept': 'Q811979'}, 'P137', 'Q9219']
SELECT DISTINCT ?o WHERE { ?o property:P137 resource:Q9219 . ?o rdf:type ontology:Q811979 }
Gillis Field House
Gillis Field House was operated by United States Military Academy at West Point
Gillis Field House
action filter_type
action find_reverse
entity United States Military Academy at West Point
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'United States Military Academy at West Point']
SELECT DISTINCT ?o WHERE { ?o property:operator resource:United_States_Military_Academy_at_West_Point . ?o rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5562375
P17
Q15617994
USER
Which administrative territory does that architectural structure belong to ?
(Q5562375,P17,c(Q15617994))
action filter_type
action find
entity Q5562375
relation P17
type Q15617994
['Q5562375', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q5562375 property:P17 ?p }
Gillis Field House
action filter_type
action find
entity Gillis Field House
relation country
type designation for an administrative territorial entity
['Gillis Field House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gillis_Field_House property:country ?p }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5562375,P17,c(Q15617994))
action filter_type
action find
entity Q5562375
relation P17
type Q15617994
That architectural structure belongs to the [ANSWER]
['Q5562375', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q5562375 property:P17 ?p }
United States of America
That architectural structure belongs to the United States of America
United States of America
action filter_type
action find
entity Gillis Field House
relation country
type designation for an administrative territorial entity
['Gillis Field House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Gillis_Field_House property:country ?p }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2349884
P137
Q781132 Q1875621 Q1076486
USER
How many military branches are the facility operator of more number of aircraft classes and sports venues than Croatian Navy ?
(c(Q1875621)|c(Q1076486),P137,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q2349884
relation P137
type Q1875621
type Q1076486
[[{'concept': 'Q1875621'}, {'concept': 'Q1076486'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P137 resource:Q2349884 . { VALUES ( ?r ) { ( ontology:Q1875621 ) ( ontology:Q1076486 ) } . ?z rdf:type ?r } } } . FILTER ( ?n > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:P137 ?i . ?i rdf:type ontology:Q781132 . ?j rdf:type ontology:Q1076486 } UNION { ?j property:P137 ?i . ?i rdf:type ontology:Q781132 . ?j rdf:type ontology:Q1875621 } } GROUP BY ?i } }
Croatian Navy
action count
action greater
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
action find_reverse_tuple_counts
relation operator
type military branch
type sports venue
action count
action filter_multi_types
action find_reverse
entity Croatian Navy
relation operator
type aircraft class
type sports venue
[[{'concept': 'aircraft class'}, {'concept': 'sports venue'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:operator resource:Croatian_Navy . { VALUES ( ?r ) { ( ontology:aircraft_class ) ( ontology:sports_venue ) } . ?z rdf:type ?r } } } . FILTER ( ?n > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:operator ?i . ?i rdf:type ontology:military_branch . ?j rdf:type ontology:sports_venue } UNION { ?j property:operator ?i . ?i rdf:type ontology:military_branch . ?j rdf:type ontology:aircraft_class } } GROUP BY ?i } }
[]
military branch aircraft class sports venue
SYSTEM
17
Q3293231 Q3958034 Q2055634 Q2370391 Q11218 Q1322103 Q219712 Q4855270 Q2301347 Q9212 Q17404781 Q11220 Q172771 Q4939559 Q1777326 Q2665572 Q569328
(c(Q1875621)|c(Q1076486),P137,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q2349884
relation P137
type Q1875621
type Q1076486
[ANSWER]
[[{'concept': 'Q1875621'}, {'concept': 'Q1076486'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P137 resource:Q2349884 . { VALUES ( ?r ) { ( ontology:Q1875621 ) ( ontology:Q1076486 ) } . ?z rdf:type ?r } } } . FILTER ( ?n > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:P137 ?i . ?i rdf:type ontology:Q781132 . ?j rdf:type ontology:Q1076486 } UNION { ?j property:P137 ?i . ?i rdf:type ontology:Q781132 . ?j rdf:type ontology:Q1875621 } } GROUP BY ?i } }
Bangladesh Navy Argentine Army Aviation Royal Bahrain Naval Force Royal Bhutan Army United States Marine Corps Spanish Army Imperial Japanese Navy Bangladesh Army Argentine Army United States Army Afghan Special Mission Wing United States Navy Royal Navy Bolivian Army Argentine Navy Algerian National Navy Air Force and Anti-Air Defence Brigade
17
action count
action greater
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
action find_reverse_tuple_counts
relation operator
type military branch
type sports venue
action count
action filter_multi_types
action find_reverse
entity Croatian Navy
relation operator
type aircraft class
type sports venue
[[{'concept': 'aircraft class'}, {'concept': 'sports venue'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:operator resource:Croatian_Navy . { VALUES ( ?r ) { ( ontology:aircraft_class ) ( ontology:sports_venue ) } . ?z rdf:type ?r } } } . FILTER ( ?n > ?f ) . { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?n ) WHERE { { ?j property:operator ?i . ?i rdf:type ontology:military_branch . ?j rdf:type ontology:sports_venue } UNION { ?j property:operator ?i . ?i rdf:type ontology:military_branch . ?j rdf:type ontology:aircraft_class } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1777326
P137
Q781132 Q1875621 Q1076486
USER
And how about Argentine Navy?
(c(Q1875621)|c(Q1076486),P137,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q1777326
relation P137
type Q1875621
type Q1076486
[[{'concept': 'Q1875621'}, {'concept': 'Q1076486'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P137 ?i . ?i rdf:type ontology:Q781132 . ?t rdf:type ontology:Q1875621 } UNION { ?i rdf:type ontology:Q781132 . ?t rdf:type ontology:Q1076486 . ?t property:P137 ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1875621 ) ( ontology:Q1076486 ) } } . ?c property:P137 resource:Q1777326 } } . FILTER ( ?y > ?u ) }
Argentine Navy
action count
action greater
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
action find_reverse_tuple_counts
relation operator
type military branch
type sports venue
action count
action filter_multi_types
action find_reverse
entity Argentine Navy
relation operator
type aircraft class
type sports venue
[[{'concept': 'aircraft class'}, {'concept': 'sports venue'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:operator ?i . ?i rdf:type ontology:military_branch . ?t rdf:type ontology:aircraft_class } UNION { ?i rdf:type ontology:military_branch . ?t rdf:type ontology:sports_venue . ?t property:operator ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:aircraft_class ) ( ontology:sports_venue ) } } . ?c property:operator resource:Argentine_Navy } } . FILTER ( ?y > ?u ) }
[]
military branch aircraft class sports venue
SYSTEM
10
Q3293231 Q3958034 Q219712 Q4855270 Q2301347 Q17404781 Q11220 Q4939559 Q2665572 Q569328
(c(Q1875621)|c(Q1076486),P137,c(Q781132))
action count
action greater
action union
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1875621
action find_reverse_tuple_counts
relation P137
type Q781132
type Q1076486
action count
action filter_multi_types
action find_reverse
entity Q1777326
relation P137
type Q1875621
type Q1076486
[ANSWER]
[[{'concept': 'Q1875621'}, {'concept': 'Q1076486'}], 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:P137 ?i . ?i rdf:type ontology:Q781132 . ?t rdf:type ontology:Q1875621 } UNION { ?i rdf:type ontology:Q781132 . ?t rdf:type ontology:Q1076486 . ?t property:P137 ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:Q1875621 ) ( ontology:Q1076486 ) } } . ?c property:P137 resource:Q1777326 } } . FILTER ( ?y > ?u ) }
Bangladesh Navy Argentine Army Aviation Imperial Japanese Navy Bangladesh Army Argentine Army Afghan Special Mission Wing United States Navy Bolivian Army Algerian National Navy Air Force and Anti-Air Defence Brigade
10
action count
action greater
action union
action find_reverse_tuple_counts
relation operator
type military branch
type aircraft class
action find_reverse_tuple_counts
relation operator
type military branch
type sports venue
action count
action filter_multi_types
action find_reverse
entity Argentine Navy
relation operator
type aircraft class
type sports venue
[[{'concept': 'aircraft class'}, {'concept': 'sports venue'}], 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?t ) AS ?y ) WHERE { { ?t property:operator ?i . ?i rdf:type ontology:military_branch . ?t rdf:type ontology:aircraft_class } UNION { ?i rdf:type ontology:military_branch . ?t rdf:type ontology:sports_venue . ?t property:operator ?i } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?u ) WHERE { { ?c rdf:type ?l . VALUES ( ?l ) { ( ontology:aircraft_class ) ( ontology:sports_venue ) } } . ?c property:operator resource:Argentine_Navy } } . FILTER ( ?y > ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4882537 Q2349884
P17
Q15617994
USER
Which administrative territories are Croatian Navy or Belgian general election, 1874 located in ?
OR((Q2349884,P17,c(Q15617994)), (Q4882537,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2349884
relation P17
action find
entity Q4882537
relation P17
type Q15617994
{'OR': [['Q2349884', 'P17', {'concept': 'Q15617994'}], ['Q4882537', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:Q4882537 ) ( resource:Q2349884 ) } . ?a property:P17 ?i } . ?i rdf:type ontology:Q15617994 }
Belgian general election, 1874 Croatian Navy
action filter_type
action union
action find
entity Croatian Navy
relation country
action find
entity Belgian general election, 1874
relation country
type designation for an administrative territorial entity
{'OR': [['Croatian Navy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Belgian general election, 1874', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:Belgian_general_election,_1874 ) ( resource:Croatian_Navy ) } . ?a property:country ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q224
SYSTEM
Belgium, Croatia
Q31 Q224
OR((Q2349884,P17,c(Q15617994)), (Q4882537,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q2349884
relation P17
action find
entity Q4882537
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q2349884', 'P17', {'concept': 'Q15617994'}], ['Q4882537', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:Q4882537 ) ( resource:Q2349884 ) } . ?a property:P17 ?i } . ?i rdf:type ontology:Q15617994 }
Belgium Croatia
Which administrative territories are Croatian Navy or Belgian general election, 1874 located in
Belgium Croatia
action filter_type
action union
action find
entity Croatian Navy
relation country
action find
entity Belgian general election, 1874
relation country
type designation for an administrative territorial entity
{'OR': [['Croatian Navy', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Belgian general election, 1874', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?a ) { ( resource:Belgian_general_election,_1874 ) ( resource:Croatian_Navy ) } . ?a property:country ?i } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q721531
P27
Q502895
USER
Are Branko Strupar a native of those administrative territories ?
(Q721531,P27,Q31) (Q721531,P27,Q224)
action is_in
entity prev_answer
action find
entity Q721531
relation P27
['Q721531', 'P27', 'Q31'] ['Q721531', 'P27', 'Q224']
ASK WHERE { VALUES ( ?z ) { ( resource:Q31 ) ( resource:Q224 ) } . resource:Q721531 property:P27 ?z }
Branko Strupar
action is_in
entity prev_answer
action find
entity Branko Strupar
relation country of citizenship
['Branko Strupar', 'country of citizenship', 'Belgium'] ['Branko Strupar', 'country of citizenship', 'Croatia']
ASK WHERE { VALUES ( ?z ) { ( resource:Belgium ) ( resource:Croatia ) } . resource:Branko_Strupar property:country_of_citizenship ?z }
[]
common name
SYSTEM
YES
(Q721531,P27,Q31) (Q721531,P27,Q224)
action is_in
entity prev_answer
action find
entity Q721531
relation P27
[ANSWER]
['Q721531', 'P27', 'Q31'] ['Q721531', 'P27', 'Q224']
ASK WHERE { VALUES ( ?z ) { ( resource:Q31 ) ( resource:Q224 ) } . resource:Q721531 property:P27 ?z }
Yes
action is_in
entity prev_answer
action find
entity Branko Strupar
relation country of citizenship
['Branko Strupar', 'country of citizenship', 'Belgium'] ['Branko Strupar', 'country of citizenship', 'Croatia']
ASK WHERE { VALUES ( ?z ) { ( resource:Belgium ) ( resource:Croatia ) } . resource:Branko_Strupar property:country_of_citizenship ?z }
[]