Simple Question (Direct)
Simple Question
Q2906889
P495
Q15617994
USER
What is the country of origin of The Roundup ?
(Q2906889,P495,c(Q15617994))
action filter_type
action find
entity Q2906889
relation P495
type Q15617994
['Q2906889', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2906889 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
The Roundup
action filter_type
action find
entity The Roundup
relation country of origin
type designation for an administrative territorial entity
['The Roundup', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:The_Roundup property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q2906889,P495,c(Q15617994))
action filter_type
action find
entity Q2906889
relation P495
type Q15617994
The country of origin of The Roundup is in [ANSWER]
['Q2906889', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2906889 property:P495 ?g . ?g rdf:type ontology:Q15617994 }
Greece
The country of origin of The Roundup is in Greece
Greece
action filter_type
action find
entity The Roundup
relation country of origin
type designation for an administrative territorial entity
['The Roundup', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:The_Roundup property:country_of_origin ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41
P35
Q502895
USER
Which people have the highest formal authority in that administrative territory ?
(Q41,P35,c(Q502895))
action filter_type
action find
entity Q41
relation P35
type Q502895
['Q41', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q41 property:P35 ?e . ?e rdf:type ontology:Q502895 }
Greece
action filter_type
action find
entity Greece
relation head of state
type common name
['Greece', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Greece property:head_of_state ?e . ?e rdf:type ontology:common_name }
[]
common name
Q365209 Q156806 Q57303
SYSTEM
Konstantinos Tsatsos, Konstantinos Karamanlis, Karolos Papoulias
Q365209 Q344729 Q3407316 Q2091478 Q373532 Q57303 Q156806 Q206421 Q365196
(Q41,P35,c(Q502895))
action filter_type
action find
entity Q41
relation P35
type Q502895
[ANSWERS] have the highest formal authority in that administrative territory
['Q41', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q41 property:P35 ?e . ?e rdf:type ontology:Q502895 }
Konstantinos Tsatsos Christos Sartzetakis Prokopis Pavlopoulos Ioannis Alevras Michail Stasinopoulos Karolos Papoulias Konstantinos Karamanlis Konstantinos Stephanopoulos Phaedon Gizikis
Konstantinos Tsatsos, Konstantinos Karamanlis and Karolos Papoulias have the highest formal authority in that administrative territory
Konstantinos Tsatsos Konstantinos Karamanlis Karolos Papoulias
action filter_type
action find
entity Greece
relation head of state
type common name
['Greece', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Greece property:head_of_state ?e . ?e rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q57303
P991
Q40231
USER
Where was that person elected successfully from ?
(c(Q40231),P991,Q57303)
action filter_type
action find_reverse
entity Q57303
relation P991
type Q40231
[{'concept': 'Q40231'}, 'P991', 'Q57303']
SELECT DISTINCT ?w WHERE { ?w property:P991 resource:Q57303 . ?w rdf:type ontology:Q40231 }
Karolos Papoulias
action filter_type
action find_reverse
entity Karolos Papoulias
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Karolos Papoulias']
SELECT DISTINCT ?w WHERE { ?w property:successful_candidate resource:Karolos_Papoulias . ?w rdf:type ontology:election }
[]
election
Clarification for simple ques.
Q365209
SYSTEM
Did you mean Konstantinos Tsatsos ?
Q365209 Q156806 Q57303
(c(Q40231),P991,Q365209) (c(Q40231),P991,Q156806) (c(Q40231),P991,Q57303)
[ANSWER]
[{'concept': 'Q40231'}, 'P991', 'Q365209'] [{'concept': 'Q40231'}, 'P991', 'Q156806'] [{'concept': 'Q40231'}, 'P991', 'Q57303']
SELECT DISTINCT ?w WHERE { ?w property:P991 resource:Q57303 . ?w rdf:type ontology:Q40231 }
Konstantinos Tsatsos Konstantinos Karamanlis Karolos Papoulias
Did you mean Konstantinos Tsatsos ?
Konstantinos Tsatsos
[{'concept': 'election'}, 'successful candidate', 'Konstantinos Tsatsos'] [{'concept': 'election'}, 'successful candidate', 'Konstantinos Karamanlis'] [{'concept': 'election'}, 'successful candidate', 'Karolos Papoulias']
SELECT DISTINCT ?w WHERE { ?w property:successful_candidate resource:Karolos_Papoulias . ?w rdf:type ontology:election }
[]
Simple Question (Coreferenced)
USER
No, I meant Karolos Papoulias. Could you tell me the answer for that?
(c(Q40231),P991,Q57303)
Q57303
[{'concept': 'Q40231'}, 'P991', 'Q57303']
[{'concept': 'election'}, 'successful candidate', 'Karolos Papoulias']
[]
Q3041559
SYSTEM
Greek presidential election
Q3041559
(c(Q40231),P991,Q57303)
action filter_type
action find_reverse
entity Q57303
relation P991
type Q40231
Successfully that person was elected from a [ANSWER]
[{'concept': 'Q40231'}, 'P991', 'Q57303']
SELECT DISTINCT ?w WHERE { ?w property:P991 resource:Q57303 . ?w rdf:type ontology:Q40231 }
Greek presidential election
Successfully that person was elected from a Greek presidential election
Greek presidential election
action filter_type
action find_reverse
entity Karolos Papoulias
relation successful candidate
type election
[{'concept': 'election'}, 'successful candidate', 'Karolos Papoulias']
SELECT DISTINCT ?w WHERE { ?w property:successful_candidate resource:Karolos_Papoulias . ?w rdf:type ontology:election }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2673205 Q3041559
P17
Q15617994
USER
Which administrative territories are Greek presidential election or Guaraní International Airport a part of ?
OR((Q3041559,P17,c(Q15617994)), (Q2673205,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3041559
relation P17
action find
entity Q2673205
relation P17
type Q15617994
{'OR': [['Q3041559', 'P17', {'concept': 'Q15617994'}], ['Q2673205', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q3041559 property:P17 ?v } UNION { resource:Q2673205 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Guaraní International Airport Greek presidential election
action filter_type
action union
action find
entity Greek presidential election
relation country
action find
entity Guaraní International Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Greek presidential election', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Guaraní International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Greek_presidential_election property:country ?v } UNION { resource:Guaraní_International_Airport property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q733 Q41
SYSTEM
Paraguay, Greece
Q733 Q41
OR((Q3041559,P17,c(Q15617994)), (Q2673205,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3041559
relation P17
action find
entity Q2673205
relation P17
type Q15617994
[ANSWERS] are Greek presidential election or Guaraní International Airport a part of
{'OR': [['Q3041559', 'P17', {'concept': 'Q15617994'}], ['Q2673205', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q3041559 property:P17 ?v } UNION { resource:Q2673205 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Paraguay Greece
Paraguay and Greece are Greek presidential election or Guaraní International Airport a part of
Paraguay Greece
action filter_type
action union
action find
entity Greek presidential election
relation country
action find
entity Guaraní International Airport
relation country
type designation for an administrative territorial entity
{'OR': [['Greek presidential election', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Guaraní International Airport', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Greek_presidential_election property:country ?v } UNION { resource:Guaraní_International_Airport property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q778
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with approximately the same number of administrative territories as The Bahamas ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?u ) WHERE { ?h property:P530 ?k . ?h rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q778 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?u = ?x ) }
The Bahamas
action approx
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?u ) WHERE { ?h property:diplomatic_relation ?k . ?h rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:The_Bahamas property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?u = ?x ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWERS] have diplomatic relations with approximately the same number of administrative territories as The Bahamas
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?u ) WHERE { ?h property:P530 ?k . ?h rdf:type ontology:Q1048835 . ?k rdf:type ontology:Q15617994 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q778 property:P530 ?n . ?n rdf:type ontology:Q1048835 } } . FILTER ( ?u = ?x ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have diplomatic relations with approximately the same number of administrative territories as The Bahamas
Denmark Canada Austria
action approx
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 The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?u ) WHERE { ?h property:diplomatic_relation ?k . ?h rdf:type ontology:political_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:The_Bahamas property:diplomatic_relation ?n . ?n rdf:type ontology:political_territorial_entity } } . FILTER ( ?u = ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q685
P530
Q1048835 Q15617994
USER
And also tell me about Solomon Islands?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?m ) WHERE { ?i property:P530 ?x . ?i rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q685 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?m = ?n ) }
Solomon Islands
action approx
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 Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?m ) WHERE { ?i property:diplomatic_relation ?x . ?i rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?m = ?n ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q685
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?m ) WHERE { ?i property:P530 ?x . ?i rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q685 property:P530 ?d . ?d rdf:type ontology:Q1048835 } } . FILTER ( ?m = ?n ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
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 Solomon Islands
relation diplomatic relation
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?x ) AS ?m ) WHERE { ?i property:diplomatic_relation ?x . ?i rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Solomon_Islands property:diplomatic_relation ?d . ?d rdf:type ontology:political_territorial_entity } } . FILTER ( ?m = ?n ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q35 Q16 Q40
P530
Q1048835
USER
Which political territories have diplomatic relations with those ones ?
(Q35,P530,c(Q1048835)) (Q16,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
['Q35', 'P530', {'concept': 'Q1048835'}] ['Q16', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?c property:P530 ?p . VALUES ( ?c ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?p rdf:type ontology:Q1048835 }
Denmark Canada Austria
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Denmark', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?c property:diplomatic_relation ?p . VALUES ( ?c ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q183 Q183
SYSTEM
Germany
Q183 Q408 Q16 Q183 Q664 Q35 Q408 Q183 Q408
(Q35,P530,c(Q1048835)) (Q16,P530,c(Q1048835)) (Q40,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWER], [ANSWER] and [ANSWER] have diplomatic relations with those ones
['Q35', 'P530', {'concept': 'Q1048835'}] ['Q16', 'P530', {'concept': 'Q1048835'}] ['Q40', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?c property:P530 ?p . VALUES ( ?c ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . ?p rdf:type ontology:Q1048835 }
Germany Australia Canada Germany New Zealand Denmark Australia Germany Australia
Germany, Germany and Germany have diplomatic relations with those ones
Germany Germany Germany
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Denmark', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Canada', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Austria', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?c property:diplomatic_relation ?p . VALUES ( ?c ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . ?p rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P276
Q3839081
USER
What is located at Germany ?
(c(Q3839081),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q3839081
[{'concept': 'Q3839081'}, 'P276', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q183 . ?z rdf:type ontology:Q3839081 }
Germany
action filter_type
action find_reverse
entity Germany
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Germany . ?z rdf:type ontology:disaster }
[]
disaster
Q86929
SYSTEM
2002 European floods
Q86929
(c(Q3839081),P276,Q183)
action filter_type
action find_reverse
entity Q183
relation P276
type Q3839081
[ANSWER] is located at Germany
[{'concept': 'Q3839081'}, 'P276', 'Q183']
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q183 . ?z rdf:type ontology:Q3839081 }
2002 European floods
2002 European floods is located at Germany
2002 European floods
action filter_type
action find_reverse
entity Germany
relation location
type disaster
[{'concept': 'disaster'}, 'location', 'Germany']
SELECT DISTINCT ?z WHERE { ?z property:location resource:Germany . ?z rdf:type ontology:disaster }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P463
Q43229 Q1129645
USER
How many organizations or trade blocs had Canada as their member ?
(Q16,P463,c(Q43229)) (Q16,P463,c(Q1129645))
action count
action union
action filter_type
action find
entity Q16
relation P463
type Q43229
action filter_type
action find
entity Q16
relation P463
type Q1129645
['Q16', 'P463', {'concept': 'Q43229'}] ['Q16', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { resource:Q16 property:P463 ?r . ?r rdf:type ontology:Q43229 } UNION { resource:Q16 property:P463 ?r . ?r rdf:type ontology:Q1129645 } }
Canada
action count
action union
action filter_type
action find
entity Canada
relation member of
type organization
action filter_type
action find
entity Canada
relation member of
type trade bloc
['Canada', 'member of', {'concept': 'organization'}] ['Canada', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { resource:Canada property:member_of ?r . ?r rdf:type ontology:organization } UNION { resource:Canada property:member_of ?r . ?r rdf:type ontology:trade_bloc } }
[]
organization trade bloc
SYSTEM
11
Q340195 Q191384 Q899770 Q41550 Q3772571 Q123759 Q181574 Q656801 Q7825 Q170481 Q827525
(Q16,P463,c(Q43229)) (Q16,P463,c(Q1129645))
action count
action union
action filter_type
action find
entity Q16
relation P463
type Q43229
action filter_type
action find
entity Q16
relation P463
type Q1129645
[ANSWER]
['Q16', 'P463', {'concept': 'Q43229'}] ['Q16', 'P463', {'concept': 'Q1129645'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { resource:Q16 property:P463 ?r . ?r rdf:type ontology:Q43229 } UNION { resource:Q16 property:P463 ?r . ?r rdf:type ontology:Q1129645 } }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development Caribbean Development Bank Organization of American States North American Free Trade Agreement International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
11
action count
action union
action filter_type
action find
entity Canada
relation member of
type organization
action filter_type
action find
entity Canada
relation member of
type trade bloc
['Canada', 'member of', {'concept': 'organization'}] ['Canada', 'member of', {'concept': 'trade bloc'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { { resource:Canada property:member_of ?r . ?r rdf:type ontology:organization } UNION { resource:Canada property:member_of ?r . ?r rdf:type ontology:trade_bloc } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P121
Q2424752 Q3084961 Q3839081
USER
Which disasters manage min number of products and product linings ?
(c(Q3839081),P121,c(Q2424752)|c(Q3084961))
action argmin
action union
action find_tuple_counts
relation P121
type Q3839081
type Q2424752
action find_tuple_counts
relation P121
type Q3839081
type Q3084961
[{'concept': 'Q3839081'}, 'P121', [{'concept': 'Q2424752'}, {'concept': 'Q3084961'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:Q2424752 ) ( ontology:Q3084961 ) } . ?w rdf:type ?c } GROUP BY ?h } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { { ?m property:P121 ?g . ?m rdf:type ontology:Q3839081 . ?g rdf:type ontology:Q2424752 } UNION { ?m property:P121 ?g . ?m rdf:type ontology:Q3839081 . ?g rdf:type ontology:Q3084961 } } GROUP BY ?m } . FILTER ( ?k = ?t ) }
action argmin
action union
action find_tuple_counts
relation item operated
type disaster
type product
action find_tuple_counts
relation item operated
type disaster
type product lining
[{'concept': 'disaster'}, 'item operated', [{'concept': 'product'}, {'concept': 'product lining'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:product ) ( ontology:product_lining ) } . ?w rdf:type ?c } GROUP BY ?h } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { { ?m property:item_operated ?g . ?m rdf:type ontology:disaster . ?g rdf:type ontology:product } UNION { ?m property:item_operated ?g . ?m rdf:type ontology:disaster . ?g rdf:type ontology:product_lining } } GROUP BY ?m } . FILTER ( ?k = ?t ) }
[]
product product lining disaster
Q17374096 Q1640926 Q3960716
SYSTEM
Malaysia Airlines Flight 17, Viareggio train derailment, Silvertown explosion
Q3737036 Q15831524 Q1640926 Q4626051 Q3960716 Q462847 Q15621133 Q5438057 Q15908324 Q16514461 Q15905450 Q7126582 Q3177188 Q17496200 Q1419491 Q17374096 Q2475745 Q18396768 Q8025209 Q15907964 Q4115786 Q5704685 Q1573486 Q4611923 Q4969273
(c(Q3839081),P121,c(Q2424752)|c(Q3084961))
action argmin
action union
action find_tuple_counts
relation P121
type Q3839081
type Q2424752
action find_tuple_counts
relation P121
type Q3839081
type Q3084961
[ANSWERS] manage min number of products and product linings
[{'concept': 'Q3839081'}, 'P121', [{'concept': 'Q2424752'}, {'concept': 'Q3084961'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:Q2424752 ) ( ontology:Q3084961 ) } . ?w rdf:type ?c } GROUP BY ?h } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { { ?m property:P121 ?g . ?m rdf:type ontology:Q3839081 . ?g rdf:type ontology:Q2424752 } UNION { ?m property:P121 ?g . ?m rdf:type ontology:Q3839081 . ?g rdf:type ontology:Q3084961 } } GROUP BY ?m } . FILTER ( ?k = ?t ) }
Copterline Flight 103 Royal Air Force NS11 crash Viareggio train derailment 2012 Ljubljana Marshes hot air balloon crash Silvertown explosion United Airlines Flight 585 1952 Moses Lake C-124 crash Faucett Flight 251 Malaysia Airlines Flight 370 2014 Jämijärvi Comp Air 8 crash Johannisthal air disaster Palair Macedonian Airlines Flight 301 TAM Transportes Aéreos Regionais Flight 402 Sepahan Airlines Flight 5915 Mount Salak Sukhoi Superjet 100 crash Malaysia Airlines Flight 17 Siberia Airlines Flight 1812 2014 Virgin Galactic crash Wingfoot Air Express crash crash of the USS Shenandoah TWA Flight 903 Helgoland Island air disaster LOT Flight 7 2008 South Carolina Learjet 60 crash Britannia Airways Flight 105
Malaysia Airlines Flight 17, Viareggio train derailment and Silvertown explosion manage min number of products and product linings
Malaysia Airlines Flight 17 Viareggio train derailment Silvertown explosion
action argmin
action union
action find_tuple_counts
relation item operated
type disaster
type product
action find_tuple_counts
relation item operated
type disaster
type product lining
[{'concept': 'disaster'}, 'item operated', [{'concept': 'product'}, {'concept': 'product lining'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?t ) { SELECT DISTINCT ?h ( COUNT ( ?w ) AS ?f ) WHERE { VALUES ( ?c ) { ( ontology:product ) ( ontology:product_lining ) } . ?w rdf:type ?c } GROUP BY ?h } } . { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?k ) WHERE { { ?m property:item_operated ?g . ?m rdf:type ontology:disaster . ?g rdf:type ontology:product } UNION { ?m property:item_operated ?g . ?m rdf:type ontology:disaster . ?g rdf:type ontology:product_lining } } GROUP BY ?m } . FILTER ( ?k = ?t ) }
[]