Simple Question (Direct)
Simple Question
Q2697469
P19
Q15617994
USER
Which administrative territory was René Fernández born in ?
(Q2697469,P19,c(Q15617994))
action filter_type
action find
entity Q2697469
relation P19
type Q15617994
['Q2697469', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q2697469 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
René Fernández
action filter_type
action find
entity René Fernández
relation place of birth
type designation for an administrative territorial entity
['René Fernández', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:René_Fernández property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q750
SYSTEM
Bolivia
Q750
(Q2697469,P19,c(Q15617994))
action filter_type
action find
entity Q2697469
relation P19
type Q15617994
René Fernández was born in [ANSWER]
['Q2697469', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q2697469 property:P19 ?z . ?z rdf:type ontology:Q15617994 }
Bolivia
René Fernández was born in Bolivia
Bolivia
action filter_type
action find
entity René Fernández
relation place of birth
type designation for an administrative territorial entity
['René Fernández', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:René_Fernández property:place_of_birth ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q750
P138
Q502895
USER
Which person is the origin of that administrative territory ?
(Q750,P138,c(Q502895))
action filter_type
action find
entity Q750
relation P138
type Q502895
['Q750', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q750 property:P138 ?b . ?b rdf:type ontology:Q502895 }
Bolivia
action filter_type
action find
entity Bolivia
relation named after
type common name
['Bolivia', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Bolivia property:named_after ?b . ?b rdf:type ontology:common_name }
[]
common name
Q8605
SYSTEM
Simón Bolívar
Q8605
(Q750,P138,c(Q502895))
action filter_type
action find
entity Q750
relation P138
type Q502895
Bolívar [ANSWER] is the origin of that administrative territory
['Q750', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q750 property:P138 ?b . ?b rdf:type ontology:Q502895 }
Simón Bolívar
Bolívar Simón Bolívar is the origin of that administrative territory
Simón Bolívar
action filter_type
action find
entity Bolivia
relation named after
type common name
['Bolivia', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Bolivia property:named_after ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q750
P610
Q14524493
USER
Which is the zenith of Bolivia ?
(Q750,P610,c(Q14524493))
action filter_type
action find
entity Q750
relation P610
type Q14524493
['Q750', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q750 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Bolivia
action filter_type
action find
entity Bolivia
relation highest point
type terrain
['Bolivia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Bolivia property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
terrain
Q272593
SYSTEM
Nevado Sajama
Q272593
(Q750,P610,c(Q14524493))
action filter_type
action find
entity Q750
relation P610
type Q14524493
The zenith of Bolivia is [ANSWER]
['Q750', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?n WHERE { resource:Q750 property:P610 ?n . ?n rdf:type ontology:Q14524493 }
Nevado Sajama
The zenith of Bolivia is Nevado Sajama
Nevado Sajama
action filter_type
action find
entity Bolivia
relation highest point
type terrain
['Bolivia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?n WHERE { resource:Bolivia property:highest_point ?n . ?n rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q750
P137
Q3084961
USER
Which product linings are the administrator of that administrative territory ?
(c(Q3084961),P137,Q272593)
action filter_type
action find_reverse
entity Q750
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q272593']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q750 . ?n rdf:type ontology:Q3084961 }
Bolivia
action filter_type
action find_reverse
entity Bolivia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Nevado Sajama']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:Bolivia . ?n rdf:type ontology:product_lining }
[]
product lining
Q182027 Q58725 Q4883194
SYSTEM
C-130 Hercules, T-33 Shooting Star, Huey
Q15838655 Q4883194 Q154106 Q58725 Q381283 Q39675 Q182027 Q1094597 Q39679 Q6497 Q661819 Q17627690 Q17438173 Q16303630 Q506736 Q17407104 Q17627357 Q1208678 Q868965 Q688148 Q316815 Q2660305
(c(Q3084961),P137,Q272593)
action filter_type
action find_reverse
entity Q750
relation P137
type Q3084961
[ANSWERS] are the administrator of that administrative territory
[{'concept': 'Q3084961'}, 'P137', 'Q272593']
SELECT DISTINCT ?n WHERE { ?n property:P137 resource:Q750 . ?n rdf:type ontology:Q3084961 }
King Air 90 Huey UH-1 Iroquois T-33 Shooting Star Aero Commander 500 R44 C-130 Hercules Super King Air H145 C-212 Aviocar Beechcraft 1900 Turbo Commander SA 316 Alouette III Alouette F27 Friendship Écureuil K-8 Karakorum DA40 Diamond Star Convairliner PC-7 Turbo Trainer Alouette II Bell 205
C-130 Hercules, T-33 Shooting Star and Huey are the administrator of that administrative territory
C-130 Hercules T-33 Shooting Star Huey
action filter_type
action find_reverse
entity Bolivia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Nevado Sajama']
SELECT DISTINCT ?n WHERE { ?n property:operator resource:Bolivia . ?n rdf:type ontology:product_lining }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P516
Q151885 Q3084961
USER
Which concepts powers atleast 1 product lining ?
(c(Q3084961),P516,c(Q151885))
action atleast
action find_reverse_tuple_counts
relation P516
type Q151885
type Q3084961
value 1
[{'concept': 'Q3084961'}, 'P516', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P516 ?u . ?u rdf:type ontology:Q151885 . ?e rdf:type ontology:Q3084961 } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation powerplant
type concept
type product lining
value 1
[{'concept': 'product lining'}, 'powerplant', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:powerplant ?u . ?u rdf:type ontology:concept . ?e rdf:type ontology:product_lining } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
[]
concept product lining
Q1043622 Q214098 Q245272
SYSTEM
rotary engine, radial engine, V12
Q1043622 Q214098 Q245272
(c(Q3084961),P516,c(Q151885))
action atleast
action find_reverse_tuple_counts
relation P516
type Q151885
type Q3084961
value 1
[ANSWERS] power atleast 1 product lining
[{'concept': 'Q3084961'}, 'P516', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:P516 ?u . ?u rdf:type ontology:Q151885 . ?e rdf:type ontology:Q3084961 } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
rotary engine radial engine V12
Rotary engine, radial engine and V12 power atleast 1 product lining
rotary engine radial engine V12
action atleast
action find_reverse_tuple_counts
relation powerplant
type concept
type product lining
value 1
[{'concept': 'product lining'}, 'powerplant', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?e ) AS ?j ) WHERE { ?e property:powerplant ?u . ?u rdf:type ontology:concept . ?e rdf:type ontology:product_lining } GROUP BY ?u } . FILTER ( ?j >= 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1043622 Q214098 Q245272
P516
Q3084961
USER
Which product linings derive their power from those concepts ?
(c(Q3084961),P516,Q1043622) (c(Q3084961),P516,Q214098) (c(Q3084961),P516,Q245272)
action filter_type
action find_reverse
entity prev_answer
relation P516
type Q3084961
[{'concept': 'Q3084961'}, 'P516', 'Q1043622'] [{'concept': 'Q3084961'}, 'P516', 'Q214098'] [{'concept': 'Q3084961'}, 'P516', 'Q245272']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3084961 . VALUES ( ?t ) { ( resource:Q1043622 ) ( resource:Q214098 ) ( resource:Q245272 ) } . ?g property:P516 ?t }
rotary engine radial engine V12
action filter_type
action find_reverse
entity prev_answer
relation powerplant
type product lining
[{'concept': 'product lining'}, 'powerplant', 'rotary engine'] [{'concept': 'product lining'}, 'powerplant', 'radial engine'] [{'concept': 'product lining'}, 'powerplant', 'V12']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:product_lining . VALUES ( ?t ) { ( resource:rotary_engine ) ( resource:radial_engine ) ( resource:V12 ) } . ?g property:powerplant ?t }
[]
product lining
Q4960401 Q4038584 Q19204641
SYSTEM
Breguet Type IV, Fairchild FC, FB
Q4960401 Q4038584 Q19204641
(c(Q3084961),P516,Q1043622) (c(Q3084961),P516,Q214098) (c(Q3084961),P516,Q245272)
action filter_type
action find_reverse
entity prev_answer
relation P516
type Q3084961
[ANSWERS] derive their power from those concepts
[{'concept': 'Q3084961'}, 'P516', 'Q1043622'] [{'concept': 'Q3084961'}, 'P516', 'Q214098'] [{'concept': 'Q3084961'}, 'P516', 'Q245272']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q3084961 . VALUES ( ?t ) { ( resource:Q1043622 ) ( resource:Q214098 ) ( resource:Q245272 ) } . ?g property:P516 ?t }
Breguet Type IV Fairchild FC FB
Breguet Type IV, Fairchild FC and FB derive their power from those concepts
Breguet Type IV Fairchild FC FB
action filter_type
action find_reverse
entity prev_answer
relation powerplant
type product lining
[{'concept': 'product lining'}, 'powerplant', 'rotary engine'] [{'concept': 'product lining'}, 'powerplant', 'radial engine'] [{'concept': 'product lining'}, 'powerplant', 'V12']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:product_lining . VALUES ( ?t ) { ( resource:rotary_engine ) ( resource:radial_engine ) ( resource:V12 ) } . ?g property:powerplant ?t }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4960401 Q4038584 Q19204641
P516
Q151885
USER
What are used to power Breguet Type IV, Fairchild FC and FB ?
(Q4960401,P516,c(Q151885)) (Q4038584,P516,c(Q151885)) (Q19204641,P516,c(Q151885))
action union
action filter_type
action find
entity Q4960401
relation P516
type Q151885
action filter_type
action find
entity Q4038584
relation P516
type Q151885
action filter_type
action find
entity Q19204641
relation P516
type Q151885
['Q4960401', 'P516', {'concept': 'Q151885'}] ['Q4038584', 'P516', {'concept': 'Q151885'}] ['Q19204641', 'P516', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { resource:Q4038584 property:P516 ?c . ?c rdf:type ontology:Q151885 } UNION { ?c rdf:type ontology:Q151885 . resource:Q4960401 property:P516 ?c } }
Breguet Type IV Fairchild FC FB
action union
action filter_type
action find
entity Breguet Type IV
relation powerplant
type concept
action filter_type
action find
entity Fairchild FC
relation powerplant
type concept
action filter_type
action find
entity FB
relation powerplant
type concept
['Breguet Type IV', 'powerplant', {'concept': 'concept'}] ['Fairchild FC', 'powerplant', {'concept': 'concept'}] ['FB', 'powerplant', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { resource:Fairchild_FC property:powerplant ?c . ?c rdf:type ontology:concept } UNION { ?c rdf:type ontology:concept . resource:Breguet_Type_IV property:powerplant ?c } }
[]
concept
Q1043622 Q214098 Q245272
SYSTEM
rotary engine, radial engine, V12
Q1043622 Q214098 Q245272
(Q4960401,P516,c(Q151885)) (Q4038584,P516,c(Q151885)) (Q19204641,P516,c(Q151885))
action union
action filter_type
action find
entity Q4960401
relation P516
type Q151885
action filter_type
action find
entity Q4038584
relation P516
type Q151885
action filter_type
action find
entity Q19204641
relation P516
type Q151885
[ANSWERS] are used to power Breguet Type IV, Fairchild FC and FB
['Q4960401', 'P516', {'concept': 'Q151885'}] ['Q4038584', 'P516', {'concept': 'Q151885'}] ['Q19204641', 'P516', {'concept': 'Q151885'}]
SELECT DISTINCT ?c WHERE { { resource:Q4038584 property:P516 ?c . ?c rdf:type ontology:Q151885 } UNION { ?c rdf:type ontology:Q151885 . resource:Q4960401 property:P516 ?c } }
rotary engine radial engine V12
Rotary engine, radial engine and V12 are used to power Breguet Type IV, Fairchild FC and FB
rotary engine radial engine V12
action union
action filter_type
action find
entity Breguet Type IV
relation powerplant
type concept
action filter_type
action find
entity Fairchild FC
relation powerplant
type concept
action filter_type
action find
entity FB
relation powerplant
type concept
['Breguet Type IV', 'powerplant', {'concept': 'concept'}] ['Fairchild FC', 'powerplant', {'concept': 'concept'}] ['FB', 'powerplant', {'concept': 'concept'}]
SELECT DISTINCT ?c WHERE { { resource:Fairchild_FC property:powerplant ?c . ?c rdf:type ontology:concept } UNION { ?c rdf:type ontology:concept . resource:Breguet_Type_IV property:powerplant ?c } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4960401
P176
Q4830453
USER
Who is the maker of that product lining ?
(Q4960401,P176,c(Q4830453))
action filter_type
action find
entity Q4960401
relation P176
type Q4830453
['Q4960401', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?x WHERE { resource:Q4960401 property:P176 ?x . ?x rdf:type ontology:Q4830453 }
Breguet Type IV
action filter_type
action find
entity Breguet Type IV
relation manufacturer
type business enterprise
['Breguet Type IV', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?x WHERE { resource:Breguet_Type_IV property:manufacturer ?x . ?x rdf:type ontology:business_enterprise }
[]
business enterprise
Clarification for simple ques.
Q4960401
SYSTEM
Did you mean Breguet Type IV ?
Q1043622 Q214098 Q245272
(Q1043622,P176,c(Q4830453)) (Q214098,P176,c(Q4830453)) (Q245272,P176,c(Q4830453))
[ANSWER]
['Q1043622', 'P176', {'concept': 'Q4830453'}] ['Q214098', 'P176', {'concept': 'Q4830453'}] ['Q245272', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?x WHERE { resource:Q4960401 property:P176 ?x . ?x rdf:type ontology:Q4830453 }
rotary engine radial engine V12
Did you mean Breguet Type IV ?
Breguet Type IV
['rotary engine', 'manufacturer', {'concept': 'business enterprise'}] ['radial engine', 'manufacturer', {'concept': 'business enterprise'}] ['V12', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?x WHERE { resource:Breguet_Type_IV property:manufacturer ?x . ?x rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4960401,P176,c(Q4830453))
['Q4960401', 'P176', {'concept': 'Q4830453'}]
['Breguet Type IV', 'manufacturer', {'concept': 'business enterprise'}]
[]
Q176035
SYSTEM
Breguet Aviation
Q176035
(Q4960401,P176,c(Q4830453))
action filter_type
action find
entity Q4960401
relation P176
type Q4830453
The maker of that product lining is the [ANSWER]
['Q4960401', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?x WHERE { resource:Q4960401 property:P176 ?x . ?x rdf:type ontology:Q4830453 }
Breguet Aviation
The maker of that product lining is the Breguet Aviation
Breguet Aviation
action filter_type
action find
entity Breguet Type IV
relation manufacturer
type business enterprise
['Breguet Type IV', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?x WHERE { resource:Breguet_Type_IV property:manufacturer ?x . ?x rdf:type ontology:business_enterprise }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q176035 Q2249825 Q90
P159
Q56061
USER
Does that business enterprise have the principal seat at Inverchoran and Paris ?
(Q176035,P159,Q2249825) (Q176035,P159,Q90)
action is_in
entity Q176035
action intersection
action find_reverse
entity Q2249825
relation P159
action find_reverse
entity Q90
relation P159
['Q176035', 'P159', 'Q2249825'] ['Q176035', 'P159', 'Q90']
ASK WHERE { resource:Q176035 property:P159 resource:Q2249825 . resource:Q176035 property:P159 resource:Q90 }
Breguet Aviation Inverchoran Paris
action is_in
entity Breguet Aviation
action intersection
action find_reverse
entity Inverchoran
relation headquarters location
action find_reverse
entity Paris
relation headquarters location
['Breguet Aviation', 'headquarters location', 'Inverchoran'] ['Breguet Aviation', 'headquarters location', 'Paris']
ASK WHERE { resource:Breguet_Aviation property:headquarters_location resource:Inverchoran . resource:Breguet_Aviation property:headquarters_location resource:Paris }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q176035,P159,Q2249825) (Q176035,P159,Q90)
action is_in
entity Q176035
action intersection
action find_reverse
entity Q2249825
relation P159
action find_reverse
entity Q90
relation P159
[ANSWER]
['Q176035', 'P159', 'Q2249825'] ['Q176035', 'P159', 'Q90']
ASK WHERE { resource:Q176035 property:P159 resource:Q2249825 . resource:Q176035 property:P159 resource:Q90 }
NO and YES respectively
action is_in
entity Breguet Aviation
action intersection
action find_reverse
entity Inverchoran
relation headquarters location
action find_reverse
entity Paris
relation headquarters location
['Breguet Aviation', 'headquarters location', 'Inverchoran'] ['Breguet Aviation', 'headquarters location', 'Paris']
ASK WHERE { resource:Breguet_Aviation property:headquarters_location resource:Inverchoran . resource:Breguet_Aviation property:headquarters_location resource:Paris }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q182027 Q182208
P137
Q15617994
USER
Does Neuenkirchen operate C-130 Hercules ?
(Q182027,P137,Q182208)
action is_in
entity Q182208
action find
entity Q182027
relation P137
['Q182027', 'P137', 'Q182208']
ASK WHERE { resource:Q182027 property:P137 resource:Q182208 }
C-130 Hercules Neuenkirchen
action is_in
entity Neuenkirchen
action find
entity C-130 Hercules
relation operator
['C-130 Hercules', 'operator', 'Neuenkirchen']
ASK WHERE { resource:C-130_Hercules property:operator resource:Neuenkirchen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q182027,P137,Q182208)
action is_in
entity Q182208
action find
entity Q182027
relation P137
[ANSWER]
['Q182027', 'P137', 'Q182208']
ASK WHERE { resource:Q182027 property:P137 resource:Q182208 }
No
action is_in
entity Neuenkirchen
action find
entity C-130 Hercules
relation operator
['C-130 Hercules', 'operator', 'Neuenkirchen']
ASK WHERE { resource:C-130_Hercules property:operator resource:Neuenkirchen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q176035 Q787941
P159
Q56061
USER
Is Babinec, Croatia the headquarter location of Breguet Aviation ?
(Q176035,P159,Q787941)
action is_in
entity Q787941
action find
entity Q176035
relation P159
['Q176035', 'P159', 'Q787941']
ASK WHERE { resource:Q176035 property:P159 resource:Q787941 }
Breguet Aviation Babinec, Croatia
action is_in
entity Babinec, Croatia
action find
entity Breguet Aviation
relation headquarters location
['Breguet Aviation', 'headquarters location', 'Babinec, Croatia']
ASK WHERE { resource:Breguet_Aviation property:headquarters_location resource:Babinec,_Croatia }
[]
administrative territorial entity
SYSTEM
NO
(Q176035,P159,Q787941)
action is_in
entity Q787941
action find
entity Q176035
relation P159
[ANSWER]
['Q176035', 'P159', 'Q787941']
ASK WHERE { resource:Q176035 property:P159 resource:Q787941 }
No
action is_in
entity Babinec, Croatia
action find
entity Breguet Aviation
relation headquarters location
['Breguet Aviation', 'headquarters location', 'Babinec, Croatia']
ASK WHERE { resource:Breguet_Aviation property:headquarters_location resource:Babinec,_Croatia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q176035
P112
Q502895
USER
Who founded that business enterprise ?
action filter_type
action find
entity Q176035
relation P112
type Q502895
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q176035 property:P112 ?a }
Breguet Aviation
action filter_type
action find
entity Breguet Aviation
relation founder
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Breguet_Aviation property:founder ?a }
[]
common name
Q719663
SYSTEM
Louis Charles Breguet
Q719663
action filter_type
action find
entity Q176035
relation P112
type Q502895
[ANSWER] founded that business enterprise
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q176035 property:P112 ?a }
Louis Charles Breguet
Louis Charles Breguet founded that business enterprise
Louis Charles Breguet
action filter_type
action find
entity Breguet Aviation
relation founder
type common name
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Breguet_Aviation property:founder ?a }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can min number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?i } } }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?i } } }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people can perform the [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:P1303 ?m . ?m rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?i } } }
spoon cajón wind instrument
Min number of people can perform the spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?k ) WHERE { ?v property:instrument ?m . ?m rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?k = ?g ) . { SELECT DISTINCT ( MIN ( ?n ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?b ) AS ?n ) WHERE { ?b property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?i } } }
[]