Simple Question (Direct)
Simple Question
Q5295106
P241
Q781132
USER
Which military branch contains Donald S. Runels as its part ?
(Q5295106,P241,c(Q781132))
action filter_type
action find
entity Q5295106
relation P241
type Q781132
['Q5295106', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q5295106 property:P241 ?w . ?w rdf:type ontology:Q781132 }
Donald S. Runels
action filter_type
action find
entity Donald S. Runels
relation military branch
type military branch
['Donald S. Runels', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Donald_S._Runels property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q5295106,P241,c(Q781132))
action filter_type
action find
entity Q5295106
relation P241
type Q781132
U [ANSWER] contains Donald S. Runels as its part
['Q5295106', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?w WHERE { resource:Q5295106 property:P241 ?w . ?w rdf:type ontology:Q781132 }
United States Navy
U United States Navy contains Donald S. Runels as its part
United States Navy
action filter_type
action find
entity Donald S. Runels
relation military branch
type military branch
['Donald S. Runels', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?w WHERE { resource:Donald_S._Runels property:military_branch ?w . ?w rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11220
P121
Q11436
USER
Which aircraft is the facility operated by that military branch ?
(Q11220,P121,c(Q11436))
action filter_type
action find
entity Q11220
relation P121
type Q11436
['Q11220', 'P121', {'concept': 'Q11436'}]
SELECT DISTINCT ?c WHERE { resource:Q11220 property:P121 ?c . ?c rdf:type ontology:Q11436 }
United States Navy
action filter_type
action find
entity United States Navy
relation item operated
type aircraft
['United States Navy', 'item operated', {'concept': 'aircraft'}]
SELECT DISTINCT ?c WHERE { resource:United_States_Navy property:item_operated ?c . ?c rdf:type ontology:aircraft }
[]
aircraft
Q11436
SYSTEM
aircraft
Q11436
(Q11220,P121,c(Q11436))
action filter_type
action find
entity Q11220
relation P121
type Q11436
[ANSWER] is the facility operated by that military branch
['Q11220', 'P121', {'concept': 'Q11436'}]
SELECT DISTINCT ?c WHERE { resource:Q11220 property:P121 ?c . ?c rdf:type ontology:Q11436 }
aircraft
Aircraft is the facility operated by that military branch
aircraft
action filter_type
action find
entity United States Navy
relation item operated
type aircraft
['United States Navy', 'item operated', {'concept': 'aircraft'}]
SELECT DISTINCT ?c WHERE { resource:United_States_Navy property:item_operated ?c . ?c rdf:type ontology:aircraft }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11220
P17
Q15617994
USER
How many administrative territories are United States Navy situated in ?
(Q11220,P17,c(Q15617994))
action count
action filter_type
action find
entity Q11220
relation P17
type Q15617994
['Q11220', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q11220 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
United States Navy
action count
action filter_type
action find
entity United States Navy
relation country
type designation for an administrative territorial entity
['United States Navy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:United_States_Navy property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q11220,P17,c(Q15617994))
action count
action filter_type
action find
entity Q11220
relation P17
type Q15617994
[ANSWER]
['Q11220', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:Q11220 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity United States Navy
relation country
type designation for an administrative territorial entity
['United States Navy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { resource:United_States_Navy property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3450448
Q15617994
USER
And what about Moscow?
(Q3450448,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3450448
relation P17
type Q15617994
['Q3450448', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q3450448 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
Moscow
action count
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Moscow property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3450448,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3450448
relation P17
type Q15617994
[ANSWER]
['Q3450448', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Q3450448 property:P17 ?b . ?b rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Moscow
relation country
type designation for an administrative territorial entity
['Moscow', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { resource:Moscow property:country ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P366
Q11436 Q1875621
USER
How many aircraft classes mainly plays the role of a around 1 aircraft ?
(c(Q1875621),P366,c(Q11436))
action count
action approx
action find_tuple_counts
relation P366
type Q1875621
type Q11436
value 1
[{'concept': 'Q1875621'}, 'P366', {'concept': 'Q11436'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?k property:P366 ?z . ?k rdf:type ontology:Q1875621 . ?z rdf:type ontology:Q11436 } GROUP BY ?k } . FILTER ( ?i = 1 ) }
action count
action approx
action find_tuple_counts
relation use
type aircraft class
type aircraft
value 1
[{'concept': 'aircraft class'}, 'use', {'concept': 'aircraft'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?k property:use ?z . ?k rdf:type ontology:aircraft_class . ?z rdf:type ontology:aircraft } GROUP BY ?k } . FILTER ( ?i = 1 ) }
[]
aircraft aircraft class
SYSTEM
1
Q94859
(c(Q1875621),P366,c(Q11436))
action count
action approx
action find_tuple_counts
relation P366
type Q1875621
type Q11436
value 1
[ANSWER]
[{'concept': 'Q1875621'}, 'P366', {'concept': 'Q11436'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?k property:P366 ?z . ?k rdf:type ontology:Q1875621 . ?z rdf:type ontology:Q11436 } GROUP BY ?k } . FILTER ( ?i = 1 ) }
AM Mauler
1
action count
action approx
action find_tuple_counts
relation use
type aircraft class
type aircraft
value 1
[{'concept': 'aircraft class'}, 'use', {'concept': 'aircraft'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?i ) WHERE { ?k property:use ?z . ?k rdf:type ontology:aircraft_class . ?z rdf:type ontology:aircraft } GROUP BY ?k } . FILTER ( ?i = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11220
P355
Q176799
USER
Which military unit is a subordinate of United States Navy ?
(Q11220,P355,c(Q176799))
action filter_type
action find
entity Q11220
relation P355
type Q176799
['Q11220', 'P355', {'concept': 'Q176799'}]
SELECT DISTINCT ?u WHERE { resource:Q11220 property:P355 ?u . ?u rdf:type ontology:Q176799 }
United States Navy
action filter_type
action find
entity United States Navy
relation subsidiary
type military unit
['United States Navy', 'subsidiary', {'concept': 'military unit'}]
SELECT DISTINCT ?u WHERE { resource:United_States_Navy property:subsidiary ?u . ?u rdf:type ontology:military_unit }
[]
military unit
Q2178162
SYSTEM
United States Navy Nurse Corps
Q2178162
(Q11220,P355,c(Q176799))
action filter_type
action find
entity Q11220
relation P355
type Q176799
[ANSWER] is a subordinate of United States Navy
['Q11220', 'P355', {'concept': 'Q176799'}]
SELECT DISTINCT ?u WHERE { resource:Q11220 property:P355 ?u . ?u rdf:type ontology:Q176799 }
United States Navy Nurse Corps
United States Navy Nurse Corps is a subordinate of United States Navy
United States Navy Nurse Corps
action filter_type
action find
entity United States Navy
relation subsidiary
type military unit
['United States Navy', 'subsidiary', {'concept': 'military unit'}]
SELECT DISTINCT ?u WHERE { resource:United_States_Navy property:subsidiary ?u . ?u rdf:type ontology:military_unit }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P366
Q176799 Q176799
USER
Which military units have their main functionality as min number of military units ?
(c(Q176799),P366,c(Q176799))
action argmin
action find_tuple_counts
relation P366
type Q176799
type Q176799
[{'concept': 'Q176799'}, 'P366', {'concept': 'Q176799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?e ) WHERE { ?r property:P366 ?f . ?r rdf:type ontology:Q176799 . ?f rdf:type ontology:Q176799 } GROUP BY ?r } . FILTER ( ?e = ?o ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?q ) WHERE { ?a property:P366 ?y . ?a rdf:type ontology:Q176799 . ?y rdf:type ontology:Q176799 } GROUP BY ?a } } }
action argmin
action find_tuple_counts
relation use
type military unit
type military unit
[{'concept': 'military unit'}, 'use', {'concept': 'military unit'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?e ) WHERE { ?r property:use ?f . ?r rdf:type ontology:military_unit . ?f rdf:type ontology:military_unit } GROUP BY ?r } . FILTER ( ?e = ?o ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?q ) WHERE { ?a property:use ?y . ?a rdf:type ontology:military_unit . ?y rdf:type ontology:military_unit } GROUP BY ?a } } }
[]
military unit military unit
Q1474813 Q7832936 Q4697918
SYSTEM
Icelandic Coast Guard, Training Air Wing, Air Force Logistics Command
Q18518737 Q13416639 Q18518738 Q10397282 Q7097768 Q4697969 Q19371184 Q356379 Q10397131 Q7832936 Q19828273 Q7043586 Q13416641 Q13416646 Q4350858 Q7043117 Q1474813 Q4697918 Q6497385
(c(Q176799),P366,c(Q176799))
action argmin
action find_tuple_counts
relation P366
type Q176799
type Q176799
[ANSWERS] have their main functionality as min number of military units
[{'concept': 'Q176799'}, 'P366', {'concept': 'Q176799'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?e ) WHERE { ?r property:P366 ?f . ?r rdf:type ontology:Q176799 . ?f rdf:type ontology:Q176799 } GROUP BY ?r } . FILTER ( ?e = ?o ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?q ) WHERE { ?a property:P366 ?y . ?a rdf:type ontology:Q176799 . ?y rdf:type ontology:Q176799 } GROUP BY ?a } } }
aerial reconnaissance unit 21st Missile Boat Division airlift unit 34th Missile Boat Division operational conversion unit Air Force Systems Command 33rd Mine Warfare Division Indian Coast Guard 18th Patrol Boat Division Training Air Wing airborne early warning and control unit No. 51 Squadron RAF Regiment 20th Corvette Division 31st Corvette Division Gibraltar Squadron No. 1 Squadron Icelandic Coast Guard Air Force Logistics Command Latvian National Armed Forces Staff Battalion
Icelandic Coast Guard, Training Air Wing and Air Force Logistics Command have their main functionality as min number of military units
Icelandic Coast Guard Training Air Wing Air Force Logistics Command
action argmin
action find_tuple_counts
relation use
type military unit
type military unit
[{'concept': 'military unit'}, 'use', {'concept': 'military unit'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?f ) AS ?e ) WHERE { ?r property:use ?f . ?r rdf:type ontology:military_unit . ?f rdf:type ontology:military_unit } GROUP BY ?r } . FILTER ( ?e = ?o ) . { SELECT DISTINCT ( MIN ( ?q ) AS ?o ) { SELECT DISTINCT ?a ( COUNT ( ?y ) AS ?q ) WHERE { ?a property:use ?y . ?a rdf:type ontology:military_unit . ?y rdf:type ontology:military_unit } GROUP BY ?a } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4697918
P361
Q176799
USER
Which military unit is a part of that one ?
(c(Q176799),P361,Q4697918)
action filter_type
action find_reverse
entity Q4697918
relation P361
type Q176799
[{'concept': 'Q176799'}, 'P361', 'Q4697918']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q176799 . ?o property:P361 resource:Q4697918 }
Air Force Logistics Command
action filter_type
action find_reverse
entity Air Force Logistics Command
relation part of
type military unit
[{'concept': 'military unit'}, 'part of', 'Air Force Logistics Command']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:military_unit . ?o property:part_of resource:Air_Force_Logistics_Command }
[]
military unit
Clarification for simple ques.
Q1474813
SYSTEM
Did you mean Icelandic Coast Guard ?
Q1474813 Q7832936 Q4697918
(c(Q176799),P361,Q1474813) (c(Q176799),P361,Q7832936) (c(Q176799),P361,Q4697918)
[ANSWER]
[{'concept': 'Q176799'}, 'P361', 'Q1474813'] [{'concept': 'Q176799'}, 'P361', 'Q7832936'] [{'concept': 'Q176799'}, 'P361', 'Q4697918']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q176799 . ?o property:P361 resource:Q4697918 }
Icelandic Coast Guard Training Air Wing Air Force Logistics Command
Did you mean Icelandic Coast Guard ?
Icelandic Coast Guard
[{'concept': 'military unit'}, 'part of', 'Icelandic Coast Guard'] [{'concept': 'military unit'}, 'part of', 'Training Air Wing'] [{'concept': 'military unit'}, 'part of', 'Air Force Logistics Command']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:military_unit . ?o property:part_of resource:Air_Force_Logistics_Command }
[]
Simple Question (Coreferenced)
USER
No, I meant Air Force Logistics Command. Could you tell me the answer for that?
(c(Q176799),P361,Q4697918)
Q4697918
[{'concept': 'Q176799'}, 'P361', 'Q4697918']
[{'concept': 'military unit'}, 'part of', 'Air Force Logistics Command']
[]
Q4697735
SYSTEM
Air Armament Center
Q4697735
(c(Q176799),P361,Q4697918)
action filter_type
action find_reverse
entity Q4697918
relation P361
type Q176799
[ANSWER] is a part of that one
[{'concept': 'Q176799'}, 'P361', 'Q4697918']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q176799 . ?o property:P361 resource:Q4697918 }
Air Armament Center
Air Armament Center is a part of that one
Air Armament Center
action filter_type
action find_reverse
entity Air Force Logistics Command
relation part of
type military unit
[{'concept': 'military unit'}, 'part of', 'Air Force Logistics Command']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:military_unit . ?o property:part_of resource:Air_Force_Logistics_Command }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4697735
P159
Q486972
USER
Which human settlement is the headquarter location of that military unit ?
(Q4697735,P159,c(Q486972))
action filter_type
action find
entity Q4697735
relation P159
type Q486972
['Q4697735', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q4697735 property:P159 ?w }
Air Armament Center
action filter_type
action find
entity Air Armament Center
relation headquarters location
type human settlement
['Air Armament Center', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:Air_Armament_Center property:headquarters_location ?w }
[]
human settlement
Q1298115
SYSTEM
Eglin Air Force Base
Q1298115
(Q4697735,P159,c(Q486972))
action filter_type
action find
entity Q4697735
relation P159
type Q486972
[ANSWER] is the headquarter location of that military unit
['Q4697735', 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q486972 . resource:Q4697735 property:P159 ?w }
Eglin Air Force Base
Eglin Air Force Base is the headquarter location of that military unit
Eglin Air Force Base
action filter_type
action find
entity Air Armament Center
relation headquarters location
type human settlement
['Air Armament Center', 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:human_settlement . resource:Air_Armament_Center property:headquarters_location ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P159
Q486972 Q43229 Q1269299
USER
How many human settlements are the head offices of lesser number of organizations and business organizations than that human settlement ?
(c(Q43229)|c(Q1269299),P159,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q1298115
relation P159
type Q43229
type Q1269299
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:Q486972 . ?z rdf:type ontology:Q43229 . ?z property:P159 ?e } UNION { ?e rdf:type ontology:Q486972 . ?z rdf:type ontology:Q1269299 . ?z property:P159 ?e } } GROUP BY ?e } . FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P159 resource:Q1298115 . { { ?h rdf:type ontology:Q43229 } UNION { ?h rdf:type ontology:Q1269299 } } } } }
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Eglin Air Force Base
relation headquarters location
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:human_settlement . ?z rdf:type ontology:organization . ?z property:headquarters_location ?e } UNION { ?e rdf:type ontology:human_settlement . ?z rdf:type ontology:type_of_business_entity . ?z property:headquarters_location ?e } } GROUP BY ?e } . FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:headquarters_location resource:Eglin_Air_Force_Base . { { ?h rdf:type ontology:organization } UNION { ?h rdf:type ontology:type_of_business_entity } } } } }
[]
human settlement organization type of business entity
SYSTEM
0
(c(Q43229)|c(Q1269299),P159,c(Q486972))
action count
action less
action union
action find_reverse_tuple_counts
relation P159
type Q486972
type Q43229
action find_reverse_tuple_counts
relation P159
type Q486972
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q1298115
relation P159
type Q43229
type Q1269299
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q1269299'}], 'P159', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:Q486972 . ?z rdf:type ontology:Q43229 . ?z property:P159 ?e } UNION { ?e rdf:type ontology:Q486972 . ?z rdf:type ontology:Q1269299 . ?z property:P159 ?e } } GROUP BY ?e } . FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:P159 resource:Q1298115 . { { ?h rdf:type ontology:Q43229 } UNION { ?h rdf:type ontology:Q1269299 } } } } }
0
action count
action less
action union
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type organization
action find_reverse_tuple_counts
relation headquarters location
type human settlement
type type of business entity
action count
action filter_multi_types
action find_reverse
entity Eglin Air Force Base
relation headquarters location
type organization
type type of business entity
[[{'concept': 'organization'}, {'concept': 'type of business entity'}], 'headquarters location', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:human_settlement . ?z rdf:type ontology:organization . ?z property:headquarters_location ?e } UNION { ?e rdf:type ontology:human_settlement . ?z rdf:type ontology:type_of_business_entity . ?z property:headquarters_location ?e } } GROUP BY ?e } . FILTER ( ?m < ?u ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { ?h property:headquarters_location resource:Eglin_Air_Force_Base . { { ?h rdf:type ontology:organization } UNION { ?h rdf:type ontology:type_of_business_entity } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1474813
P361
Q781132
USER
Which military branch is a part of Icelandic Coast Guard ?
(c(Q781132),P361,Q1474813)
action filter_type
action find_reverse
entity Q1474813
relation P361
type Q781132
[{'concept': 'Q781132'}, 'P361', 'Q1474813']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q1474813 . ?x rdf:type ontology:Q781132 }
Icelandic Coast Guard
action filter_type
action find_reverse
entity Icelandic Coast Guard
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', 'Icelandic Coast Guard']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Icelandic_Coast_Guard . ?x rdf:type ontology:military_branch }
[]
military branch
Q5985661
SYSTEM
Iceland Air Defence System
Q5985661
(c(Q781132),P361,Q1474813)
action filter_type
action find_reverse
entity Q1474813
relation P361
type Q781132
[ANSWER] is a part of Icelandic Coast Guard
[{'concept': 'Q781132'}, 'P361', 'Q1474813']
SELECT DISTINCT ?x WHERE { ?x property:P361 resource:Q1474813 . ?x rdf:type ontology:Q781132 }
Iceland Air Defence System
Iceland Air Defence System is a part of Icelandic Coast Guard
Iceland Air Defence System
action filter_type
action find_reverse
entity Icelandic Coast Guard
relation part of
type military branch
[{'concept': 'military branch'}, 'part of', 'Icelandic Coast Guard']
SELECT DISTINCT ?x WHERE { ?x property:part_of resource:Icelandic_Coast_Guard . ?x rdf:type ontology:military_branch }
[]