Simple Question (Direct)
Simple Question
Q6120513
P27
Q1048835
USER
Which political territory is Jacques Cossette an inhabitant of ?
(Q6120513,P27,c(Q1048835))
action filter_type
action find
entity Q6120513
relation P27
type Q1048835
['Q6120513', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q6120513 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Jacques Cossette
action filter_type
action find
entity Jacques Cossette
relation country of citizenship
type political territorial entity
['Jacques Cossette', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jacques_Cossette property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6120513,P27,c(Q1048835))
action filter_type
action find
entity Q6120513
relation P27
type Q1048835
The [ANSWER] is Jacques Cossette an inhabitant of
['Q6120513', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q6120513 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Canada
The Canada is Jacques Cossette an inhabitant of
Canada
action filter_type
action find
entity Jacques Cossette
relation country of citizenship
type political territorial entity
['Jacques Cossette', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jacques_Cossette property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P137
Q3084961
USER
Which product linings were operated by that political territory ?
(c(Q3084961),P137,Q16)
action filter_type
action find_reverse
entity Q16
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q16']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q16 . ?s rdf:type ontology:Q3084961 }
Canada
action filter_type
action find_reverse
entity Canada
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Canada']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Canada . ?s rdf:type ontology:product_lining }
[]
product lining
Q58725 Q791488
SYSTEM
T-33 Shooting Star, CF-100 Canuck
Q58725 Q791488
(c(Q3084961),P137,Q16)
action filter_type
action find_reverse
entity Q16
relation P137
type Q3084961
[ANSWERS] were operated by that political territory
[{'concept': 'Q3084961'}, 'P137', 'Q16']
SELECT DISTINCT ?s WHERE { ?s property:P137 resource:Q16 . ?s rdf:type ontology:Q3084961 }
T-33 Shooting Star CF-100 Canuck
T-33 Shooting Star and CF-100 Canuck were operated by that political territory
T-33 Shooting Star CF-100 Canuck
action filter_type
action find_reverse
entity Canada
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Canada']
SELECT DISTINCT ?s WHERE { ?s property:operator resource:Canada . ?s rdf:type ontology:product_lining }
[]
Clarification
Simple Question|Single Entity|Indirect
Q58725
P121
Q1875621
USER
Which aircraft class operates 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 ?g WHERE { ?g rdf:type ontology:Q1875621 . ?g property:P121 resource:Q58725 }
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 ?g WHERE { ?g rdf:type ontology:aircraft_class . ?g property:item_operated resource:T-33_Shooting_Star }
[]
aircraft class
Clarification for simple ques.
Q791488
SYSTEM
Did you mean CF-100 Canuck ?
Q58725 Q791488
(c(Q1875621),P121,Q58725) (c(Q1875621),P121,Q791488)
[ANSWER]
[{'concept': 'Q1875621'}, 'P121', 'Q58725'] [{'concept': 'Q1875621'}, 'P121', 'Q791488']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1875621 . ?g property:P121 resource:Q58725 }
T-33 Shooting Star CF-100 Canuck
Did you mean CF-100 Canuck ?
CF-100 Canuck
[{'concept': 'aircraft class'}, 'item operated', 'T-33 Shooting Star'] [{'concept': 'aircraft class'}, 'item operated', 'CF-100 Canuck']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:aircraft_class . ?g property:item_operated resource:T-33_Shooting_Star }
[]
Simple Question (Coreferenced)
USER
No, I meant T-33 Shooting Star. Could you tell me the answer for that?
(c(Q1875621),P121,Q58725)
Q58725
[{'concept': 'Q1875621'}, 'P121', 'Q58725']
[{'concept': 'aircraft class'}, 'item operated', 'T-33 Shooting Star']
[]
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] operates that product lining
[{'concept': 'Q1875621'}, 'P121', 'Q58725']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1875621 . ?g property:P121 resource:Q58725 }
T-33 in Bolivian service
T-33 in Bolivian service operates 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 ?g WHERE { ?g rdf:type ontology:aircraft_class . ?g property:item_operated resource:T-33_Shooting_Star }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q15617994 Q1875621
USER
Which administrative territories can manage exactly 1 aircraft class ?
(c(Q1875621),P137,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q1875621
value 1
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q1875621 . ?z rdf:type ontology:Q15617994 . ?o property:P137 ?z } GROUP BY ?z } . FILTER ( ?n = 1 ) }
action equal
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type aircraft class
value 1
[{'concept': 'aircraft class'}, 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:aircraft_class . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:operator ?z } GROUP BY ?z } . FILTER ( ?n = 1 ) }
[]
designation for an administrative territorial entity aircraft class
Q414 Q398 Q889
SYSTEM
Argentina, Bahrain, Afghanistan
Q414 Q398 Q889
(c(Q1875621),P137,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q1875621
value 1
[ANSWERS] can manage exactly 1 aircraft class
[{'concept': 'Q1875621'}, 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q1875621 . ?z rdf:type ontology:Q15617994 . ?o property:P137 ?z } GROUP BY ?z } . FILTER ( ?n = 1 ) }
Argentina Bahrain Afghanistan
Argentina, Bahrain and Afghanistan can manage exactly 1 aircraft class
Argentina Bahrain Afghanistan
action equal
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type aircraft class
value 1
[{'concept': 'aircraft class'}, 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:aircraft_class . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o property:operator ?z } GROUP BY ?z } . FILTER ( ?n = 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q29
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with lesser number of administrative territories than Spain ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q29
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P530 resource:Q29 . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?s ) WHERE { ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?x } GROUP BY ?x } }
Spain
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:diplomatic_relation resource:Spain . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?s ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?x } GROUP BY ?x } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q184
SYSTEM
Georgia, Netherlands, Belarus
Q702 Q804 Q800 Q419 Q55 Q783 Q784 Q265 Q712 Q710 Q717 Q837 Q398 Q657 Q792 Q790 Q958 Q986 Q242 Q244 Q811 Q33 Q924 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1027 Q1020 Q189 Q842 Q184 Q1029 Q1028 Q736 Q786 Q225 Q221 Q96 Q229 Q902 Q1036 Q1037 Q1032 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q695 Q117 Q754 Q750 Q217 Q214 Q218 Q219 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q29
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with lesser number of administrative territories than Spain
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P530 resource:Q29 . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?s < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?s ) WHERE { ?x rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 . ?t property:P530 ?x } GROUP BY ?x } }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Honduras Dominica Uzbekistan Fiji Kiribati Venezuela Nepal Bahrain Chad El Salvador Haiti South Sudan Eritrea Belize Barbados Nicaragua Finland Tanzania Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Mauritius Malawi Iceland Oman Belarus Mozambique Morocco Ecuador Dominican Republic Bosnia and Herzegovina Republic of Macedonia Mexico Cyprus Bangladesh Uganda Rwanda Niger Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Palau Ghana Trinidad and Tobago Bolivia Republic of Moldova Slovakia Romania Bulgaria Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia Thailand
Georgia, Netherlands and Belarus have diplomatic relationships with lesser number of administrative territories than Spain
Georgia Netherlands Belarus
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Spain
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:diplomatic_relation resource:Spain . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?s < ?u ) . { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?s ) WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?x } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q967
P530
Q15617994 Q15617994
USER
And what about Burundi?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:P530 ?x . ?d rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q967 property:P530 ?o } } . FILTER ( ?a < ?c ) }
Burundi
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Burundi
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:diplomatic_relation ?x . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Burundi property:diplomatic_relation ?o } } . FILTER ( ?a < ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q967
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:P530 ?x . ?d rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:Q15617994 . resource:Q967 property:P530 ?o } } . FILTER ( ?a < ?c ) }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic Kingdom of the Netherlands Kazakhstan
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Burundi
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?x ) AS ?a ) WHERE { ?d property:diplomatic_relation ?x . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Burundi property:diplomatic_relation ?o } } . FILTER ( ?a < ?c ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q414 Q334
P530
Q1048835
USER
How many political territories have diplomatic relations with Argentina and Singapore ?
(c(Q1048835),P530,Q414) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q414
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q414'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P530 resource:Q414 . ?y rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 . ?y property:P530 resource:Q334 }
Argentina Singapore
action count
action intersection
action filter_type
action find_reverse
entity Argentina
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Argentina'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:diplomatic_relation resource:Argentina . ?y rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation resource:Singapore }
[]
political territorial entity
SYSTEM
2
Q408 Q183
(c(Q1048835),P530,Q414) (c(Q1048835),P530,Q334)
action count
action intersection
action filter_type
action find_reverse
entity Q414
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q334
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q414'] [{'concept': 'Q1048835'}, 'P530', 'Q334']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:P530 resource:Q414 . ?y rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q1048835 . ?y property:P530 resource:Q334 }
Australia Germany
2
action count
action intersection
action filter_type
action find_reverse
entity Argentina
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Singapore
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Argentina'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Singapore']
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { ?y property:diplomatic_relation resource:Argentina . ?y rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation resource:Singapore }
[]