Simple Question (Direct)
Simple Question
Q3884
P452
Q58778
USER
What industry does Amazon.com belong to ?
(Q3884,P452,c(Q58778))
action filter_type
action find
entity Q3884
relation P452
type Q58778
['Q3884', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?o WHERE { resource:Q3884 property:P452 ?o . ?o rdf:type ontology:Q58778 }
Amazon.com
action filter_type
action find
entity Amazon.com
relation industry
type system
['Amazon.com', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?o WHERE { resource:Amazon.com property:industry ?o . ?o rdf:type ontology:system }
[]
system
Q126793
SYSTEM
retail
Q126793
(Q3884,P452,c(Q58778))
action filter_type
action find
entity Q3884
relation P452
type Q58778
[ANSWER]
['Q3884', 'P452', {'concept': 'Q58778'}]
SELECT DISTINCT ?o WHERE { resource:Q3884 property:P452 ?o . ?o rdf:type ontology:Q58778 }
retail
retail
action filter_type
action find
entity Amazon.com
relation industry
type system
['Amazon.com', 'industry', {'concept': 'system'}]
SELECT DISTINCT ?o WHERE { resource:Amazon.com property:industry ?o . ?o rdf:type ontology:system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3884
P1454
Q2712963
USER
Which abstract noun represents the legal form of Amazon.com ?
(Q3884,P1454,c(Q2712963))
action filter_type
action find
entity Q3884
relation P1454
type Q2712963
['Q3884', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2712963 . resource:Q3884 property:P1454 ?y }
Amazon.com
action filter_type
action find
entity Amazon.com
relation legal form
type abstract noun
['Amazon.com', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:abstract_noun . resource:Amazon.com property:legal_form ?y }
[]
abstract noun
Q891723
SYSTEM
public company
Q891723
(Q3884,P1454,c(Q2712963))
action filter_type
action find
entity Q3884
relation P1454
type Q2712963
[ANSWER]
['Q3884', 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2712963 . resource:Q3884 property:P1454 ?y }
public company
public company
action filter_type
action find
entity Amazon.com
relation legal form
type abstract noun
['Amazon.com', 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:abstract_noun . resource:Amazon.com property:legal_form ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q1130918 Q3884
P1454
Q2712963
USER
Or Konstal?
OR((Q3884,P1454,c(Q2712963)), (Q1130918,P1454,c(Q2712963)))
action filter_type
action union
action find
entity Q3884
relation P1454
action find
entity Q1130918
relation P1454
type Q2712963
{'OR': [['Q3884', 'P1454', {'concept': 'Q2712963'}], ['Q1130918', 'P1454', {'concept': 'Q2712963'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?j ) { ( resource:Q3884 ) ( resource:Q1130918 ) } . ?j property:P1454 ?p } . ?p rdf:type ontology:Q2712963 }
Konstal Amazon.com
action filter_type
action union
action find
entity Amazon.com
relation legal form
action find
entity Konstal
relation legal form
type abstract noun
{'OR': [['Amazon.com', 'legal form', {'concept': 'abstract noun'}], ['Konstal', 'legal form', {'concept': 'abstract noun'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?j ) { ( resource:Amazon.com ) ( resource:Konstal ) } . ?j property:legal_form ?p } . ?p rdf:type ontology:abstract_noun }
[]
abstract noun
Q134161 Q891723
SYSTEM
joint-stock company, public company
Q134161 Q891723
OR((Q3884,P1454,c(Q2712963)), (Q1130918,P1454,c(Q2712963)))
action filter_type
action union
action find
entity Q3884
relation P1454
action find
entity Q1130918
relation P1454
type Q2712963
[ANSWERS]
{'OR': [['Q3884', 'P1454', {'concept': 'Q2712963'}], ['Q1130918', 'P1454', {'concept': 'Q2712963'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?j ) { ( resource:Q3884 ) ( resource:Q1130918 ) } . ?j property:P1454 ?p } . ?p rdf:type ontology:Q2712963 }
joint-stock company public company
joint-stock company public company
action filter_type
action union
action find
entity Amazon.com
relation legal form
action find
entity Konstal
relation legal form
type abstract noun
{'OR': [['Amazon.com', 'legal form', {'concept': 'abstract noun'}], ['Konstal', 'legal form', {'concept': 'abstract noun'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?j ) { ( resource:Amazon.com ) ( resource:Konstal ) } . ?j property:legal_form ?p } . ?p rdf:type ontology:abstract_noun }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5149281 Q3884
P17
Q15617994
USER
Which administrative territories are Amazon.com or Colpi River present in ?
OR((Q3884,P17,c(Q15617994)), (Q5149281,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3884
relation P17
action find
entity Q5149281
relation P17
type Q15617994
{'OR': [['Q3884', 'P17', {'concept': 'Q15617994'}], ['Q5149281', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?g property:P17 ?y . VALUES ( ?g ) { ( resource:Q3884 ) ( resource:Q5149281 ) } } }
Colpi River Amazon.com
action filter_type
action union
action find
entity Amazon.com
relation country
action find
entity Colpi River
relation country
type designation for an administrative territorial entity
{'OR': [['Amazon.com', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Colpi River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?g property:country ?y . VALUES ( ?g ) { ( resource:Amazon.com ) ( resource:Colpi_River ) } } }
[]
designation for an administrative territorial entity
Q298 Q30
SYSTEM
Chile, United States of America
Q298 Q30
OR((Q3884,P17,c(Q15617994)), (Q5149281,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3884
relation P17
action find
entity Q5149281
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q3884', 'P17', {'concept': 'Q15617994'}], ['Q5149281', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?g property:P17 ?y . VALUES ( ?g ) { ( resource:Q3884 ) ( resource:Q5149281 ) } } }
Chile United States of America
Chile United States of America
action filter_type
action union
action find
entity Amazon.com
relation country
action find
entity Colpi River
relation country
type designation for an administrative territorial entity
{'OR': [['Amazon.com', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Colpi River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?g property:country ?y . VALUES ( ?g ) { ( resource:Amazon.com ) ( resource:Colpi_River ) } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q40
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with less number of administrative territories than Austria ?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?u ) WHERE { ?b property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q40 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?c ) }
Austria
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?u ) WHERE { ?b property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Austria property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?c ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
9
Q1000 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q40
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?u ) WHERE { ?b property:P530 ?e . ?e rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1048835 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Q40 property:P530 ?w . ?w rdf:type ontology:Q15617994 } } . FILTER ( ?u < ?c ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
9
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?u ) WHERE { ?b property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:political_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { resource:Austria property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?u < ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q15617994
USER
And what about Jamaica?
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q766 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?h < ?s ) . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?h ) WHERE { ?x property:P530 ?u . ?x rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?x } }
Jamaica
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Jamaica property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?h < ?s ) . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?h ) WHERE { ?x property:diplomatic_relation ?u . ?x rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
6
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q15617994),P530,c(Q1048835))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Q766 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?h < ?s ) . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?h ) WHERE { ?x property:P530 ?u . ?x rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q15617994 } GROUP BY ?x } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
6
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?s ) WHERE { resource:Jamaica property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?h < ?s ) . { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?h ) WHERE { ?x property:diplomatic_relation ?u . ?x rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P463
Q43229 Q484652
USER
How many organizations and international organizations had United States of America as their member ?
(Q30,P463,c(Q43229)) (Q30,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q30
relation P463
type Q484652
['Q30', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:Q30 property:P463 ?g . ?g rdf:type ontology:Q484652 } UNION { resource:Q30 property:P463 ?g . ?g rdf:type ontology:Q43229 } }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:United_States_of_America property:member_of ?g . ?g rdf:type ontology:international_organization } UNION { resource:United_States_of_America property:member_of ?g . ?g rdf:type ontology:organization } }
[]
organization international organization
SYSTEM
8 organizations and 9 international organizations
Q340195 Q81299 Q191384 Q899770 Q19771 Q1043527 Q41550 Q37143 Q188822 Q674182 Q656801 Q842490 Q7825 Q170481 Q7184 Q1065 Q827525
(Q30,P463,c(Q43229)) (Q30,P463,c(Q484652))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q30
relation P463
type Q484652
[ANSWER]
['Q30', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:Q30 property:P463 ?g . ?g rdf:type ontology:Q484652 } UNION { resource:Q30 property:P463 ?g . ?g rdf:type ontology:Q43229 } }
African Development Bank Organization for Security and Co-operation in Europe International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes G20 Multilateral Investment Guarantee Agency Organisation for Economic Co-operation and Development G8 Asian Development Bank Arctic Council International Finance Corporation Organisation for the Prohibition of Chemical Weapons World Trade Organization Asia-Pacific Economic Cooperation North Atlantic Treaty Organisation United Nations International Development Association
8 organizations and 9 international organizations
action count
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity United States of America
relation member of
type international organization
['United States of America', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { { resource:United_States_of_America property:member_of ?g . ?g rdf:type ontology:international_organization } UNION { resource:United_States_of_America property:member_of ?g . ?g rdf:type ontology:organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q434754
P27
Q15617994
USER
Which administrative territory is Beatie Edney a civilian of ?
(Q434754,P27,c(Q15617994))
action filter_type
action find
entity Q434754
relation P27
type Q15617994
['Q434754', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q434754 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Beatie Edney
action filter_type
action find
entity Beatie Edney
relation country of citizenship
type designation for an administrative territorial entity
['Beatie Edney', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Beatie_Edney property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q434754,P27,c(Q15617994))
action filter_type
action find
entity Q434754
relation P27
type Q15617994
[ANSWER]
['Q434754', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q434754 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Beatie Edney
relation country of citizenship
type designation for an administrative territorial entity
['Beatie Edney', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Beatie_Edney property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P137
Q2424752
USER
Which products are the administrator of that administrative territory ?
(c(Q2424752),P137,Q145)
action filter_type
action find_reverse
entity Q145
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q145']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q145 . ?i rdf:type ontology:Q2424752 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation operator
type product
[{'concept': 'product'}, 'operator', 'United Kingdom']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:United_Kingdom . ?i rdf:type ontology:product }
[]
product
Q18015692 Q18117150 Q18015706
SYSTEM
Meteor FR9, B-17F Flying Fortress, Meteor NF13
Q17912769 Q18015692 Q595631 Q18117150 Q18015694 Q18015697 Q18015706 Q18114693
(c(Q2424752),P137,Q145)
action filter_type
action find_reverse
entity Q145
relation P137
type Q2424752
[ANSWERS]
[{'concept': 'Q2424752'}, 'P137', 'Q145']
SELECT DISTINCT ?i WHERE { ?i property:P137 resource:Q145 . ?i rdf:type ontology:Q2424752 }
Harvard I Meteor FR9 ScanEagle B-17F Flying Fortress Meteor PR10 Meteor NF11 Meteor NF13 B-17C Flying Fortress
Meteor FR9 B-17F Flying Fortress Meteor NF13
action filter_type
action find_reverse
entity United Kingdom
relation operator
type product
[{'concept': 'product'}, 'operator', 'United Kingdom']
SELECT DISTINCT ?i WHERE { ?i property:operator resource:United_Kingdom . ?i rdf:type ontology:product }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1056
Q2424752 Q83405 Q80071
USER
Which products are manufactured by atleast 2 factories or symbols ?
(c(Q83405)|c(Q80071),P1056,c(Q2424752))
action atleast
action union
action find_reverse_tuple_counts
relation P1056
type Q2424752
type Q83405
action find_reverse_tuple_counts
relation P1056
type Q2424752
type Q80071
value 2
[[{'concept': 'Q83405'}, {'concept': 'Q80071'}], 'P1056', {'concept': 'Q2424752'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P1056 ?y . ?m rdf:type ontology:Q80071 . ?y rdf:type ontology:Q2424752 } UNION { ?m property:P1056 ?y . ?y rdf:type ontology:Q2424752 . ?m rdf:type ontology:Q83405 } } GROUP BY ?y } . FILTER ( ?c >= 2 ) }
action atleast
action union
action find_reverse_tuple_counts
relation product
type product
type factory
action find_reverse_tuple_counts
relation product
type product
type symbol
value 2
[[{'concept': 'factory'}, {'concept': 'symbol'}], 'product', {'concept': 'product'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:product ?y . ?m rdf:type ontology:symbol . ?y rdf:type ontology:product } UNION { ?m property:product ?y . ?y rdf:type ontology:product . ?m rdf:type ontology:factory } } GROUP BY ?y } . FILTER ( ?c >= 2 ) }
[]
product factory symbol
Q1401891 Q6648982
SYSTEM
viennoiserie, pet food
Q1401891 Q6648982
(c(Q83405)|c(Q80071),P1056,c(Q2424752))
action atleast
action union
action find_reverse_tuple_counts
relation P1056
type Q2424752
type Q83405
action find_reverse_tuple_counts
relation P1056
type Q2424752
type Q80071
value 2
[ANSWERS]
[[{'concept': 'Q83405'}, {'concept': 'Q80071'}], 'P1056', {'concept': 'Q2424752'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:P1056 ?y . ?m rdf:type ontology:Q80071 . ?y rdf:type ontology:Q2424752 } UNION { ?m property:P1056 ?y . ?y rdf:type ontology:Q2424752 . ?m rdf:type ontology:Q83405 } } GROUP BY ?y } . FILTER ( ?c >= 2 ) }
viennoiserie pet food
viennoiserie pet food
action atleast
action union
action find_reverse_tuple_counts
relation product
type product
type factory
action find_reverse_tuple_counts
relation product
type product
type symbol
value 2
[[{'concept': 'factory'}, {'concept': 'symbol'}], 'product', {'concept': 'product'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?c ) WHERE { { ?m property:product ?y . ?m rdf:type ontology:symbol . ?y rdf:type ontology:product } UNION { ?m property:product ?y . ?y rdf:type ontology:product . ?m rdf:type ontology:factory } } GROUP BY ?y } . FILTER ( ?c >= 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P137
Q874405 Q781132 Q2424752
USER
Which products were operated by min number of social groups and military branches ?
(c(Q2424752),P137,c(Q874405)|c(Q781132))
action argmin
action union
action find_tuple_counts
relation P137
type Q2424752
type Q874405
action find_tuple_counts
relation P137
type Q2424752
type Q781132
[{'concept': 'Q2424752'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q781132'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?u ) WHERE { { ?z property:P137 ?v . ?z rdf:type ontology:Q2424752 . ?v rdf:type ontology:Q874405 } UNION { ?z property:P137 ?v . ?z rdf:type ontology:Q2424752 . ?v rdf:type ontology:Q781132 } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q874405 ) ( ontology:Q781132 ) } } GROUP BY ?c } . FILTER ( ?f = ?l ) }
action argmin
action union
action find_tuple_counts
relation operator
type product
type social group
action find_tuple_counts
relation operator
type product
type military branch
[{'concept': 'product'}, 'operator', [{'concept': 'social group'}, {'concept': 'military branch'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?u ) WHERE { { ?z property:operator ?v . ?z rdf:type ontology:product . ?v rdf:type ontology:social_group } UNION { ?z property:operator ?v . ?z rdf:type ontology:product . ?v rdf:type ontology:military_branch } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:social_group ) ( ontology:military_branch ) } } GROUP BY ?c } . FILTER ( ?f = ?l ) }
[]
social group military branch product
Q192443 Q128993 Q15519286
SYSTEM
Fairchild A-10 Thunderbolt II, Hawker Siddeley Nimrod, B-1B Lancer
Q17627692 Q17443132 Q17417181 Q17417183 Q17417182 Q2703847 Q665708 Q17415909 Q19206764 Q576606 Q15057066 Q15057067 Q15411525 Q937707 Q889373 Q15129014 Q17417500 Q17437974 Q17627660 Q18156526 Q18156529 Q17912384 Q17458108 Q17538815 Q18520652 Q17538819 Q17417447 Q2481018 Q17489244 Q291337 Q17417531 Q17489326 Q17489328 Q17450473 Q18015706 Q18012290 Q16548224 Q18011028 Q18012299 Q17415871 Q1187536 Q17415878 Q19119844 Q17489396 Q15411573 Q15411575 Q17415627 Q17412913 Q17443901 Q4828609 Q18176906 Q18176900 Q17484622 Q17484623 Q17476689 Q17519093 Q17443671 Q19119769 Q17487805 Q15623409 Q15450387 Q114039 Q18011052 Q607192 Q18011199 Q15665004 Q15549535 Q17912949 Q15624683 Q15477788 Q21684969 Q17486173 Q17486170 Q17486175 Q17506026 Q18199004 Q20989232 Q15477719 Q17486308 Q17371405 Q15411615 Q10538857 Q17544070 Q18114693 Q17406451 Q17519101 Q17404871 Q17412955 Q15427566 Q17412950 Q18011076 Q18011077 Q15150626 Q18012318 Q15223019 Q17489495 Q128993 Q17374528 Q18012312 Q18012313 Q18012251 Q15427065 Q15427069 Q18011259 Q15411540 Q3109428 Q17912305 Q17912303 Q18011085 Q18011084 Q17371058 Q15476362 Q18011083 Q15665430 Q17415916 Q15427040 Q17584238 Q15057012 Q18003222 Q17506834 Q3561317 Q17444592 Q333395 Q39893 Q17375067 Q17417534 Q17417537 Q16546791 Q17417533 Q18550102 Q17417538 Q15414037 Q15624534 Q18156434 Q17443903 Q6665541 Q17370831 Q17374767 Q17374761 Q18012283 Q15513222 Q17501817 Q18015692 Q18015694 Q4578275 Q15476131 Q18015697 Q1975015 Q17489383 Q17489386 Q15051312 Q5195964 Q4514 Q21029372 Q17907721 Q10797305 Q15466269 Q17476690 Q17476691 Q17912825 Q18019748 Q18012323 Q18012326 Q18012328 Q15831407 Q18011265 Q17370769 Q17440510 Q17484765 Q17446629 Q21031074 Q381216 Q17505743 Q15450338 Q17505748 Q201130 Q19119979 Q212172 Q15519286 Q17579089 Q17560571 Q18010966 Q17627600 Q15628582 Q15618396 Q10538836 Q18011186 Q17519103 Q10659504 Q10659508 Q385072 Q17413014 Q18055265 Q18011004 Q18079407 Q17506021 Q15051036 Q15622930 Q17501845 Q17505522 Q18113594 Q18283816 Q18012240 Q17374516 Q17481146 Q15051045 Q15411553 Q15818009 Q20870824 Q17455638 Q17484601 Q15057007 Q18012400 Q15477836 Q595631 Q17566331 Q17544412 Q15427564 Q17407648 Q17488187 Q21234191 Q17489309 Q17447341 Q1388176 Q17443506 Q17912176 Q17370824 Q17417555 Q20026814 Q17407332 Q736822 Q17370261 Q18053052 Q15128952 Q815686 Q815682 Q17415601 Q17501970 Q15475839 Q15622908 Q18011058 Q17374851 Q17912769 Q15411587 Q16546744 Q17375076 Q18012338 Q13218480 Q17374524 Q17443894 Q17489286 Q17417178 Q17415673 Q10669572 Q18173029 Q17446615 Q17446624 Q17484770 Q18117150 Q18284034 Q17505751 Q17407059 Q21684974 Q15129020 Q18019508 Q17407110 Q18003328 Q18199078 Q17413176 Q20989214 Q595894 Q15477261 Q15449820 Q17489230 Q17486324 Q17413009 Q1162588 Q15624856 Q18156397 Q18156015 Q21683616 Q312541 Q17505534 Q21683619 Q17505532 Q15733374 Q18012271 Q17415415 Q2894583 Q17415410 Q15150851 Q2629882 Q17486186 Q17486185 Q15411568 Q18193440 Q15411562 Q18552642 Q18012873 Q7691606 Q17489166 Q698235 Q666994 Q17412947 Q2980751 Q10659713 Q18062054 Q861792 Q723756 Q17412855 Q26225 Q18173012 Q204331 Q15448798 Q285004 Q19915011 Q18129670 Q192443 Q17505766 Q15624514 Q15126092 Q17540400 Q2895154 Q17413149 Q15427050 Q18642394 Q17407322 Q17407323 Q17446373 Q17370258 Q17501886 Q15733530 Q1421690 Q18075475 Q18550492 Q18012393 Q17907740 Q15427572 Q15427577 Q18011064 Q21684977 Q1132962 Q17374845 Q15411596 Q19119882 Q17415392 Q17404949 Q18012302 Q13218491 Q15618511
(c(Q2424752),P137,c(Q874405)|c(Q781132))
action argmin
action union
action find_tuple_counts
relation P137
type Q2424752
type Q874405
action find_tuple_counts
relation P137
type Q2424752
type Q781132
[ANSWERS]
[{'concept': 'Q2424752'}, 'P137', [{'concept': 'Q874405'}, {'concept': 'Q781132'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?u ) WHERE { { ?z property:P137 ?v . ?z rdf:type ontology:Q2424752 . ?v rdf:type ontology:Q874405 } UNION { ?z property:P137 ?v . ?z rdf:type ontology:Q2424752 . ?v rdf:type ontology:Q781132 } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:Q874405 ) ( ontology:Q781132 ) } } GROUP BY ?c } . FILTER ( ?f = ?l ) }
Commander 690 Mirage IIID C-20A Gulfstream C-20C Gulfstream C-20B Gulfstream G 120TP King Air Su-17M4 Ford 5-AT Albatros D.II Il-14P Il-14M Lockheed AC-130H Spectre Citation I Boeing 737 AEW&C Vickers Vimy Ambulance MiG-21S PC-7 Mk II CV-580 Hudson IVA Hudson VI NA-48 A109A CT-155 Hawk Boeing 69B Hawk 129 MiG-21F-13 Albatros J.I OH-58A Kiowa AEG B.I MiG-21M S-70B-2 Seahawk Sea King Mk.50 TA-4AR Fightinghawk Meteor NF13 Mirage 2000-5EI Cessna AC-208 Combat Caravan MB-326E Mirage 2000-5DI Su-17UM C-130J Super Hercules Su-22U F.63 BN.4 F27 Maritime Enforcer Hercules C1 C-130H-30 Hercules Su-20 Lynx AH7 Mirage IIIEA Aviatik B.III AS332L1 Super Puma AS332L Super Puma MiG-25R MiG-25PU CH-3B Sea King F-35A Lightning II Dagger A F.62 BN.4 Hawk 127 Saab 340B Plus SAR-200 Douglas C-42 Albatros D.I MB-326F A-7 Mirage 2000B CC-144 Blackburn Iris Mk III NA-71 de Havilland Canada DHC-8-311B Dash 8 Lockheed WC-130B Hercules TBM-1 Avenger (A)F/A-18A Hornet F/A-18F Super Hornet (A)F/A-18B Hornet AMX-T Orion 9B F-16B Block 1 Fighting Falcon Lockheed WC-130A Hercules E-7A Wedgetail Phantom FGR2 L-100-20 Hercules J 32 Lansen A-5C B-17C Flying Fortress Su-30MKA F-35B Lightning II MD 530F Lynx HMA.8 Lockheed Martin HC-130J Combat King II Lynx Mk.4(FN) MB-326KB Veltro MB-326KD Veltro Caproni Ca.307 Mirage 2000EAD He 51A-1 Beechcraft 1900D Hawker Siddeley Nimrod Mi-35 Mirage 2000-5EDA Mirage 2000-5DDA Mirage 2000TH Hawker Norwegian Fury Hawker Spanish Fury Mirage 2000M C-130A Hercules A-27 NA-46 NA-45 MB-326LT MB-326LD F-4F Phantom II Lockheed MC-130W Combat Spear MB-326KT Veltro Challenger 604 Su-22M4 Hawker Fury Series 1A Sea King Mk.48 Il-28U A-29A Tucano BN-2T Turbine Islander Air Express KC-130H Hercules Saab 21R BK 117 Bell 205A MiG-21MF MiG-21bis Cessna 208B Super Cargomaster MiG-21SM Bulldog Model 101 MiG-21U Lockheed HC-130P Combat King de Havilland Canada DHC-8-110 Dash 8 Hudson II Mirage IIIDA AP-3C Orion F-4E(I) Kurnass Mi-35O Mi-35M4 Mirage 2000DP Gloster Gamecock Mk I Typhoon GS Meteor FR9 Meteor PR10 Z-5 MC-130H Combat Talon II Meteor NF11 L-7 Campeiro F27-400 Friendship F27-600 Friendship An-10A Ukraina Curtiss Lark Yak-130 LC-R Speedwing NJ-1 Nardi FN.315 Bristol Bulldog Mk IVA SH-3D Sea King SH-3H Sea King NA-56 Canso Mirage 2000DAD Mirage 2000RAD Mirage 2000EG Caproni Ca.52 Mirage 2000BM F-4E Phantom II L-39C Albatros Z 142 F-2 SB-1 Detroiter A.18 AH-1P HueyCobra C-41 AH-1E HueyCobra SPAD S.VII F.68 BN.4 IA 58 Pucará B-1B Lancer Mi-172 Mi-171 MB-326B Tango XR Fairchild Dornier 328JET-310 Lockheed C-5C Galaxy Saab JA 37 Viggen Mirage 2000C F-35C Lightning II Saab SF 37 Viggen Saab SH 37 Viggen Nieuport 28 Lynx Mk.64 Searcher IIIJ MB-326D JAS 39A Gripen AMX-A Antonov An-2T C-12E Huron Typhoon AS F-5E Tiger II Y1B-17 Flying Fortress ERJ 145XR Mirage 2000H Mi-24VU L-39ZA Albatros Antonov An-2TP C-130B Hercules UH-60M Black Hawk Il-14T Su-7BM Su-24MR MiG-15UTI Mirage 2000-9D Lockheed Martin WC-130J Weatherbird ScanEagle Dornier 228NG FT-6 Lockheed Martin HC-130J Super Hercules AS355F Écureuil 2 PC-9/A NuDat Tiger ARH FT-2 FFVS 22 Mirage IIIE NA-34 F-4EJ Phantom II F-7A OV-10C Bronco HB350B Esquilo Aviatik B.II F-4D Phantom II HUL-1G Vickers F.B.27 Vimy Mk.II Bell 429 GlobalRanger Bell 407 Su-17M SA 316B Alouette III MC-130E Combat Talon I King Air 350 MB-326GB SA 315B Lama Harvard I Lockheed Hercules C.3 Cessna 208A Cargomaster UH-1H Iroquois Mirage 2000BG Saab AJ 37 Viggen Mi-24PN Mirage 5P S-70A-9 Black Hawk Gulfstream III Su-17M2 Saab Sk 37 Viggen SA 330C Puma MiG-15bis J-2 Fernas 142 B-17F Flying Fortress EMB 145MP AH-1F HueyCobra C-295M TBM-1C Avenger Vickers Vimy Commercial EMB 121AA Xingu AS350B Écureuil A-29B Tucano Orion 9D Super Lynx Mk.120 F-16A Block 1 Fighting Falcon Nieuport 27 Lockheed Martin MC-130J Commando II Douglas C-34 NH90 TTH KC-30A Lynx Mk.28 Sukhoi Su-11 Bombardier E-9A Widget Hudson I EMB 201R Ipanema TBF-1 Avenger Dornier 228 F-5F Tiger II TBF-1C Avenger F-5B Freedom Fighter Dominie T1 Mirage 2000P Tucano Mk.52 CH-146 Griffon Tucano Mk.51 Caproni Ca.308 A-4AR Fightinghawk CF-188B Hornet CF-188A Hornet C-130H Hercules P-36A Hawk C-130E Hercules A-4K Skyhawk Beech M18R Foxtrot 4 CH-47D Chinook Saab 105 PC-9 Lynx HAS3 NiD 52 Saab S 32 Lansen P-2F Neptune Gulfstream IV Super Étendard Lynx AH1 Sea Vixen SA 330B Puma Su-30 DC-2B DHC-4 Caribou Il-76TD HO4S-3G Fairchild A-10 Thunderbolt II TAH-1P HueyCobra CT-142 Dash 8 Handley Page O/100 T67M260 Firefly L-100 Hercules Lynx Mk.86 Hawker Fury Mk II Hawk 120 Squirrel HT1 Squirrel HT2 F-5 F-4C Phantom II AB 212 Hawker Siddeley Andover CC.Mk 2 CH-148 Cyclone CSR-110 Albatros Bulldog Model 103 Mirage 2000-9 Sk 14 Lockheed HC-130B Hercules Lockheed HC-130E Hercules MB-326H TBM-3 Avenger MS 760 Paris SA 318C Alouette II Lockheed Hercules C.1P F.65 Tucano T1 MD 530MG Defender Mirage 2000-5F Saab A 32 Lansen King Air 300
Fairchild A-10 Thunderbolt II Hawker Siddeley Nimrod B-1B Lancer
action argmin
action union
action find_tuple_counts
relation operator
type product
type social group
action find_tuple_counts
relation operator
type product
type military branch
[{'concept': 'product'}, 'operator', [{'concept': 'social group'}, {'concept': 'military branch'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?u ) AS ?l ) { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?u ) WHERE { { ?z property:operator ?v . ?z rdf:type ontology:product . ?v rdf:type ontology:social_group } UNION { ?z property:operator ?v . ?z rdf:type ontology:product . ?v rdf:type ontology:military_branch } } GROUP BY ?z } } . { SELECT DISTINCT ?c ( COUNT ( ?k ) AS ?f ) WHERE { ?k rdf:type ?j . VALUES ( ?j ) { ( ontology:social_group ) ( ontology:military_branch ) } } GROUP BY ?c } . FILTER ( ?f = ?l ) }
[]