Simple Question (Direct)
Simple Question
Q309355
P190
Q56061
USER
Which administrative territories are twin cities of Kikinda ?
(Q309355,P190,c(Q56061))
action filter_type
action find
entity Q309355
relation P190
type Q56061
['Q309355', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q309355 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Kikinda
action filter_type
action find
entity Kikinda
relation sister city
type administrative territorial entity
['Kikinda', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Kikinda property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q182428 Q25797 Q59101
SYSTEM
Silistra, Žilina, Narvik
Q167659 Q25797 Q182428 Q59101
(Q309355,P190,c(Q56061))
action filter_type
action find
entity Q309355
relation P190
type Q56061
[ANSWERS] are twin cities of Kikinda
['Q309355', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q309355 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Nazareth Illit Žilina Silistra Narvik
Silistra, Žilina and Narvik are twin cities of Kikinda
Silistra Žilina Narvik
action filter_type
action find
entity Kikinda
relation sister city
type administrative territorial entity
['Kikinda', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Kikinda property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q182428 Q25797 Q59101
P17
Q15617994
USER
Which administrative territories are Silistra, Žilina and Narvik a part of ?
(Q182428,P17,c(Q15617994)) (Q25797,P17,c(Q15617994)) (Q59101,P17,c(Q15617994))
action union
action filter_type
action find
entity Q182428
relation P17
type Q15617994
action filter_type
action find
entity Q25797
relation P17
type Q15617994
action filter_type
action find
entity Q59101
relation P17
type Q15617994
['Q182428', 'P17', {'concept': 'Q15617994'}] ['Q25797', 'P17', {'concept': 'Q15617994'}] ['Q59101', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?b ) { ( resource:Q25797 ) ( resource:Q182428 ) } . ?b property:P17 ?i }
Silistra Žilina Narvik
action union
action filter_type
action find
entity Silistra
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Žilina
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Narvik
relation country
type designation for an administrative territorial entity
['Silistra', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Žilina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Narvik', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?b ) { ( resource:Žilina ) ( resource:Silistra ) } . ?b property:country ?i }
[]
designation for an administrative territorial entity
Q218 Q20 Q214
SYSTEM
Romania, Norway, Slovakia
Q218 Q219 Q389004 Q214 Q20
(Q182428,P17,c(Q15617994)) (Q25797,P17,c(Q15617994)) (Q59101,P17,c(Q15617994))
action union
action filter_type
action find
entity Q182428
relation P17
type Q15617994
action filter_type
action find
entity Q25797
relation P17
type Q15617994
action filter_type
action find
entity Q59101
relation P17
type Q15617994
[ANSWERS] are Silistra, Žilina and Narvik a part of
['Q182428', 'P17', {'concept': 'Q15617994'}] ['Q25797', 'P17', {'concept': 'Q15617994'}] ['Q59101', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?b ) { ( resource:Q25797 ) ( resource:Q182428 ) } . ?b property:P17 ?i }
Romania Bulgaria Wallachia Slovakia Norway
Romania, Norway and Slovakia are Silistra, Žilina and Narvik a part of
Romania Norway Slovakia
action union
action filter_type
action find
entity Silistra
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Žilina
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Narvik
relation country
type designation for an administrative territorial entity
['Silistra', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Žilina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Narvik', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { VALUES ( ?b ) { ( resource:Žilina ) ( resource:Silistra ) } . ?b property:country ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q218
P530
Q15617994
USER
Which administrative territory is known to have diplomatic connections with that one ?
(c(Q15617994),P530,Q218)
action filter_type
action find_reverse
entity Q218
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q218']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . ?x property:P530 resource:Q218 }
Romania
action filter_type
action find_reverse
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Romania']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation resource:Romania }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q20
SYSTEM
Did you mean Norway ?
Q218 Q20 Q214
(c(Q15617994),P530,Q218) (c(Q15617994),P530,Q20) (c(Q15617994),P530,Q214)
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q218'] [{'concept': 'Q15617994'}, 'P530', 'Q20'] [{'concept': 'Q15617994'}, 'P530', 'Q214']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . ?x property:P530 resource:Q218 }
Romania Norway Slovakia
Did you mean Norway ?
Norway
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Romania'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Norway'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Slovakia']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation resource:Romania }
[]
Simple Question (Coreferenced)
USER
No, I meant Romania. Could you tell me the answer for that?
(c(Q15617994),P530,Q218)
Q218
[{'concept': 'Q15617994'}, 'P530', 'Q218']
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Romania']
[]
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q218)
action filter_type
action find_reverse
entity Q218
relation P530
type Q15617994
[ANSWER] is known to have diplomatic connections with that one
[{'concept': 'Q15617994'}, 'P530', 'Q218']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . ?x property:P530 resource:Q218 }
Italy
Italy is known to have diplomatic connections with that one
Italy
action filter_type
action find_reverse
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Romania']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x property:diplomatic_relation resource:Romania }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q11479324
P27
Q502895
USER
Is Yuki Kawabe a citizen of that administrative territory ?
(Q11479324,P27,Q38)
action is_in
entity Q11479324
action find
entity Q38
relation P27
['Q11479324', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q11479324 }
Italy Yuki Kawabe
action is_in
entity Yuki Kawabe
action find
entity Italy
relation country of citizenship
['Yuki Kawabe', 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:Yuki_Kawabe }
[]
common name
SYSTEM
NO
(Q11479324,P27,Q38)
action is_in
entity Q11479324
action find
entity Q38
relation P27
[ANSWER]
['Q11479324', 'P27', 'Q38']
ASK WHERE { resource:Q38 property:P27 resource:Q11479324 }
No
action is_in
entity Yuki Kawabe
action find
entity Italy
relation country of citizenship
['Yuki Kawabe', 'country of citizenship', 'Italy']
ASK WHERE { resource:Italy property:country_of_citizenship resource:Yuki_Kawabe }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with around 19 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 19
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?c ) WHERE { ?a property:P530 ?w . ?a rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?c = 19 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?c ) WHERE { ?a property:diplomatic_relation ?w . ?a rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?c = 19 ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 19
[ANSWERS] are known to have diplomatic connections with around 19 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?c ) WHERE { ?a property:P530 ?w . ?a rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q15617994 } GROUP BY ?a } . FILTER ( ?c = 19 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria are known to have diplomatic connections with around 19 administrative territories
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 19
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?c ) WHERE { ?a property:diplomatic_relation ?w . ?a rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?c = 19 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q35 Q16 Q40
P610
Q14524493
USER
Which are the highest point of Denmark, Canada and Austria ?
(Q35,P610,c(Q14524493)) (Q16,P610,c(Q14524493)) (Q40,P610,c(Q14524493))
action union
action filter_type
action find
entity Q35
relation P610
type Q14524493
action filter_type
action find
entity Q16
relation P610
type Q14524493
action filter_type
action find
entity Q40
relation P610
type Q14524493
['Q35', 'P610', {'concept': 'Q14524493'}] ['Q16', 'P610', {'concept': 'Q14524493'}] ['Q40', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q14524493 . resource:Q16 property:P610 ?j } UNION { resource:Q35 property:P610 ?j . ?j rdf:type ontology:Q14524493 } }
Denmark Canada Austria
action union
action filter_type
action find
entity Denmark
relation highest point
type terrain
action filter_type
action find
entity Canada
relation highest point
type terrain
action filter_type
action find
entity Austria
relation highest point
type terrain
['Denmark', 'highest point', {'concept': 'terrain'}] ['Canada', 'highest point', {'concept': 'terrain'}] ['Austria', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:terrain . resource:Canada property:highest_point ?j } UNION { resource:Denmark property:highest_point ?j . ?j rdf:type ontology:terrain } }
[]
terrain
Q689106 Q120306 Q3388
SYSTEM
Møllehøj, Mount Logan, Grossglockner
Q689106 Q120306 Q3388
(Q35,P610,c(Q14524493)) (Q16,P610,c(Q14524493)) (Q40,P610,c(Q14524493))
action union
action filter_type
action find
entity Q35
relation P610
type Q14524493
action filter_type
action find
entity Q16
relation P610
type Q14524493
action filter_type
action find
entity Q40
relation P610
type Q14524493
The highest point of Denmark , Canada and Austria are the [ANSWERS]
['Q35', 'P610', {'concept': 'Q14524493'}] ['Q16', 'P610', {'concept': 'Q14524493'}] ['Q40', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:Q14524493 . resource:Q16 property:P610 ?j } UNION { resource:Q35 property:P610 ?j . ?j rdf:type ontology:Q14524493 } }
Møllehøj Mount Logan Grossglockner
The highest point of Denmark , Canada and Austria are the Møllehøj, Mount Logan and Grossglockner
Møllehøj Mount Logan Grossglockner
action union
action filter_type
action find
entity Denmark
relation highest point
type terrain
action filter_type
action find
entity Canada
relation highest point
type terrain
action filter_type
action find
entity Austria
relation highest point
type terrain
['Denmark', 'highest point', {'concept': 'terrain'}] ['Canada', 'highest point', {'concept': 'terrain'}] ['Austria', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?j WHERE { { ?j rdf:type ontology:terrain . resource:Canada property:highest_point ?j } UNION { resource:Denmark property:highest_point ?j . ?j rdf:type ontology:terrain } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q689106 Q120306 Q3388
P17
Q1048835
USER
Which political territories do those terrains belong to ?
(Q689106,P17,c(Q1048835)) (Q120306,P17,c(Q1048835)) (Q3388,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q689106', 'P17', {'concept': 'Q1048835'}] ['Q120306', 'P17', {'concept': 'Q1048835'}] ['Q3388', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Q689106 ) ( resource:Q120306 ) ( resource:Q3388 ) } . ?r rdf:type ontology:Q1048835 . ?s property:P17 ?r }
Møllehøj Mount Logan Grossglockner
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Møllehøj', 'country', {'concept': 'political territorial entity'}] ['Mount Logan', 'country', {'concept': 'political territorial entity'}] ['Grossglockner', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Møllehøj ) ( resource:Mount_Logan ) ( resource:Grossglockner ) } . ?r rdf:type ontology:political_territorial_entity . ?s property:country ?r }
[]
political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q35 Q16 Q40
(Q689106,P17,c(Q1048835)) (Q120306,P17,c(Q1048835)) (Q3388,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those terrains belong to [ANSWERS]
['Q689106', 'P17', {'concept': 'Q1048835'}] ['Q120306', 'P17', {'concept': 'Q1048835'}] ['Q3388', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Q689106 ) ( resource:Q120306 ) ( resource:Q3388 ) } . ?r rdf:type ontology:Q1048835 . ?s property:P17 ?r }
Denmark Canada Austria
Those terrains belong to Denmark, Canada and Austria
Denmark Canada Austria
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Møllehøj', 'country', {'concept': 'political territorial entity'}] ['Mount Logan', 'country', {'concept': 'political territorial entity'}] ['Grossglockner', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { VALUES ( ?s ) { ( resource:Møllehøj ) ( resource:Mount_Logan ) ( resource:Grossglockner ) } . ?r rdf:type ontology:political_territorial_entity . ?s property:country ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P137
Q3084961
USER
Which product lining can be described as service operator of Denmark ?
(c(Q3084961),P137,Q35)
action filter_type
action find_reverse
entity Q35
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q35']
SELECT DISTINCT ?d WHERE { ?d property:P137 resource:Q35 . ?d rdf:type ontology:Q3084961 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Denmark']
SELECT DISTINCT ?d WHERE { ?d property:operator resource:Denmark . ?d rdf:type ontology:product_lining }
[]
product lining
Q58725
SYSTEM
T-33 Shooting Star
Q58725
(c(Q3084961),P137,Q35)
action filter_type
action find_reverse
entity Q35
relation P137
type Q3084961
[ANSWER] can be described as service operator of Denmark
[{'concept': 'Q3084961'}, 'P137', 'Q35']
SELECT DISTINCT ?d WHERE { ?d property:P137 resource:Q35 . ?d rdf:type ontology:Q3084961 }
T-33 Shooting Star
T-33 Shooting Star can be described as service operator of Denmark
T-33 Shooting Star
action filter_type
action find_reverse
entity Denmark
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Denmark']
SELECT DISTINCT ?d WHERE { ?d property:operator resource:Denmark . ?d rdf:type ontology:product_lining }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q58725
P121
Q1875621
USER
Which aircraft class is responsible for management of that product lining ?
(c(Q1875621),P121,Q58725)
action filter_type
action find_reverse
entity Q58725
relation P121
type Q1875621
[{'concept': 'Q1875621'}, 'P121', 'Q58725']
SELECT DISTINCT ?m WHERE { ?m property:P121 resource:Q58725 . ?m rdf:type ontology:Q1875621 }
T-33 Shooting Star
action filter_type
action find_reverse
entity T-33 Shooting Star
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'T-33 Shooting Star']
SELECT DISTINCT ?m WHERE { ?m property:item_operated resource:T-33_Shooting_Star . ?m rdf:type ontology:aircraft_class }
[]
aircraft class
Q17627587
SYSTEM
T-33 in Bolivian service
Q17627587
(c(Q1875621),P121,Q58725)
action filter_type
action find_reverse
entity Q58725
relation P121
type Q1875621
[ANSWER] is responsible for management of that product lining
[{'concept': 'Q1875621'}, 'P121', 'Q58725']
SELECT DISTINCT ?m WHERE { ?m property:P121 resource:Q58725 . ?m rdf:type ontology:Q1875621 }
T-33 in Bolivian service
T-33 in Bolivian service is responsible for management of that product lining
T-33 in Bolivian service
action filter_type
action find_reverse
entity T-33 Shooting Star
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'T-33 Shooting Star']
SELECT DISTINCT ?m WHERE { ?m property:item_operated resource:T-33_Shooting_Star . ?m rdf:type ontology:aircraft_class }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2454639 Q58725
P137 P121
Q1875621
USER
Which aircraft classes manage T-33 Shooting Star or can be described as facility operator of Bangladesh Air Force ?
OR((c(Q1875621),P121,Q58725), (c(Q1875621),P137,Q2454639))
action filter_type
action union
action find_reverse
entity Q58725
relation P121
action find_reverse
entity Q2454639
relation P137
type Q1875621
{'OR': [[{'concept': 'Q1875621'}, 'P121', 'Q58725'], [{'concept': 'Q1875621'}, 'P137', 'Q2454639']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1875621 . { { ?n property:P121 resource:Q58725 } UNION { ?n property:P137 resource:Q2454639 } } }
Bangladesh Air Force T-33 Shooting Star
action filter_type
action union
action find_reverse
entity T-33 Shooting Star
relation item operated
action find_reverse
entity Bangladesh Air Force
relation operator
type aircraft class
{'OR': [[{'concept': 'aircraft class'}, 'item operated', 'T-33 Shooting Star'], [{'concept': 'aircraft class'}, 'operator', 'Bangladesh Air Force']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:aircraft_class . { { ?n property:item_operated resource:T-33_Shooting_Star } UNION { ?n property:operator resource:Bangladesh_Air_Force } } }
[]
aircraft class
Q17557798 Q17544425 Q17544134 Q17557530 Q17557363 Q17565740 Q17544396 Q17559337 Q17560412 Q17627587
SYSTEM
Some of them are C-130 in Bangladeshi service, FT-7 in Bangladeshi service, A-5C in Bangladeshi service, An-32 in Bangladeshi service, MiG-29 in Bangladeshi service, T-37 in Bangladeshi service, FT-6 in Bangladeshi service, Bell 206 in Bangladeshi service, Bangladeshi Mi-8/17 fleet, T-33 in Bolivian service
Q17557363 Q17559173 Q17557530 Q17560412 Q17544425 Q17627587 Q17557798 Q17544396 Q17544134 Q17565210 Q17565740 Q17559337 Q17544424 Q17544399
OR((c(Q1875621),P121,Q58725), (c(Q1875621),P137,Q2454639))
action filter_type
action union
action find_reverse
entity Q58725
relation P121
action find_reverse
entity Q2454639
relation P137
type Q1875621
[ANSWERS] manage T-33 Shooting Star or can be described as facility operator of Bangladesh Air Force
{'OR': [[{'concept': 'Q1875621'}, 'P121', 'Q58725'], [{'concept': 'Q1875621'}, 'P137', 'Q2454639']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1875621 . { { ?n property:P121 resource:Q58725 } UNION { ?n property:P137 resource:Q2454639 } } }
MiG-29 in Bangladeshi service Bangladeshi Bell 212 fleet An-32 in Bangladeshi service Bangladeshi Mi-8/17 fleet FT-7 in Bangladeshi service T-33 in Bolivian service C-130 in Bangladeshi service FT-6 in Bangladeshi service A-5C in Bangladeshi service L-39 in Bangladeshi service T-37 in Bangladeshi service Bell 206 in Bangladeshi service F-7 in Bangladeshi service F-6 in Bangladeshi service
C-130 in Bangladeshi service, FT-7 in Bangladeshi service, A-5C in Bangladeshi service, An-32 in Bangladeshi service, MiG-29 in Bangladeshi service, T-37 in Bangladeshi service, FT-6 in Bangladeshi service, Bell 206 in Bangladeshi service, Bangladeshi Mi-8/17 fleet and T-33 in Bolivian service manage T-33 Shooting Star or can be described as facility operator of Bangladesh Air Force
C-130 in Bangladeshi service FT-7 in Bangladeshi service A-5C in Bangladeshi service An-32 in Bangladeshi service MiG-29 in Bangladeshi service T-37 in Bangladeshi service FT-6 in Bangladeshi service Bell 206 in Bangladeshi service Bangladeshi Mi-8/17 fleet T-33 in Bolivian service
action filter_type
action union
action find_reverse
entity T-33 Shooting Star
relation item operated
action find_reverse
entity Bangladesh Air Force
relation operator
type aircraft class
{'OR': [[{'concept': 'aircraft class'}, 'item operated', 'T-33 Shooting Star'], [{'concept': 'aircraft class'}, 'operator', 'Bangladesh Air Force']]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:aircraft_class . { { ?n property:item_operated resource:T-33_Shooting_Star } UNION { ?n property:operator resource:Bangladesh_Air_Force } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P121
Q1875621 Q46970
USER
Which airlines handle the operation of min number of aircraft classes ?
(c(Q46970),P121,c(Q1875621))
action argmin
action find_tuple_counts
relation P121
type Q46970
type Q1875621
[{'concept': 'Q46970'}, 'P121', {'concept': 'Q1875621'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?h ) { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { ?d property:P121 ?o . ?d rdf:type ontology:Q46970 . ?o rdf:type ontology:Q1875621 } GROUP BY ?d } } . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:Q1875621 . ?s rdf:type ontology:Q46970 . ?s property:P121 ?x } GROUP BY ?s } . FILTER ( ?a = ?h ) }
action argmin
action find_tuple_counts
relation item operated
type airline
type aircraft class
[{'concept': 'airline'}, 'item operated', {'concept': 'aircraft class'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?h ) { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { ?d property:item_operated ?o . ?d rdf:type ontology:airline . ?o rdf:type ontology:aircraft_class } GROUP BY ?d } } . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:aircraft_class . ?s rdf:type ontology:airline . ?s property:item_operated ?x } GROUP BY ?s } . FILTER ( ?a = ?h ) }
[]
aircraft class airline
Q32491 Q1366724 Q1922297
SYSTEM
Qantas, ABX Air, Mesa Airlines
Q483281 Q1922297 Q1189545 Q1139541 Q2162266 Q335147 Q1931750 Q325722 Q1156859 Q22811612 Q161086 Q15978173 Q170614 Q1366724 Q794272 Q32491 Q1559126 Q288836
(c(Q46970),P121,c(Q1875621))
action argmin
action find_tuple_counts
relation P121
type Q46970
type Q1875621
[ANSWERS] handle the operation of min number of aircraft classes
[{'concept': 'Q46970'}, 'P121', {'concept': 'Q1875621'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?h ) { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { ?d property:P121 ?o . ?d rdf:type ontology:Q46970 . ?o rdf:type ontology:Q1875621 } GROUP BY ?d } } . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:Q1875621 . ?s rdf:type ontology:Q46970 . ?s property:P121 ?x } GROUP BY ?s } . FILTER ( ?a = ?h ) }
Tiger Airways Mesa Airlines ABSA Cargo Airline Frontier Airlines Aircompany ATMA Wizz Air Mid East Jet Air Cargo Germany Thomson Airways Norwegian Air International JetBlue Airways Fly Romania Ryanair ABX Air Azul Brazilian Airlines Qantas OFD MyCargo Airlines
Qantas, ABX Air and Mesa Airlines handle the operation of min number of aircraft classes
Qantas ABX Air Mesa Airlines
action argmin
action find_tuple_counts
relation item operated
type airline
type aircraft class
[{'concept': 'airline'}, 'item operated', {'concept': 'aircraft class'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?h ) { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?z ) WHERE { ?d property:item_operated ?o . ?d rdf:type ontology:airline . ?o rdf:type ontology:aircraft_class } GROUP BY ?d } } . { SELECT DISTINCT ?s ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:aircraft_class . ?s rdf:type ontology:airline . ?s property:item_operated ?x } GROUP BY ?s } . FILTER ( ?a = ?h ) }
[]