Simple Question (Direct)
Simple Question
Q2169377
P21
Q290
USER
Which sex does Michiel Pestman belong to ?
(Q2169377,P21,c(Q290))
action filter_type
action find
entity Q2169377
relation P21
type Q290
['Q2169377', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q2169377 property:P21 ?j }
Michiel Pestman
action filter_type
action find
entity Michiel Pestman
relation gender
type sex
['Michiel Pestman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Michiel_Pestman property:gender ?j }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2169377,P21,c(Q290))
action filter_type
action find
entity Q2169377
relation P21
type Q290
Michiel Pestman belongs to [ANSWER]
['Q2169377', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . resource:Q2169377 property:P21 ?j }
male
Michiel Pestman belongs to male
male
action filter_type
action find
entity Michiel Pestman
relation gender
type sex
['Michiel Pestman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . resource:Michiel_Pestman property:gender ?j }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2169377
P27
Q15617994
USER
Which administrative territory is Michiel Pestman an inhabitant of ?
(Q2169377,P27,c(Q15617994))
action filter_type
action find
entity Q2169377
relation P27
type Q15617994
['Q2169377', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2169377 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Michiel Pestman
action filter_type
action find
entity Michiel Pestman
relation country of citizenship
type designation for an administrative territorial entity
['Michiel Pestman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Michiel_Pestman property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q2169377,P27,c(Q15617994))
action filter_type
action find
entity Q2169377
relation P27
type Q15617994
[ANSWER] is Michiel Pestman an inhabitant of
['Q2169377', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q2169377 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Kingdom of the Netherlands
Kingdom of the Netherlands is Michiel Pestman an inhabitant of
Kingdom of the Netherlands
action filter_type
action find
entity Michiel Pestman
relation country of citizenship
type designation for an administrative territorial entity
['Michiel Pestman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Michiel_Pestman property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29999 Q14326055
P27
Q502895
USER
Is Jim Denault a citizen of that administrative territory ?
(Q14326055,P27,Q29999)
action is_in
entity Q14326055
action find
entity Q29999
relation P27
['Q14326055', 'P27', 'Q29999']
ASK WHERE { resource:Q29999 property:P27 resource:Q14326055 }
Kingdom of the Netherlands Jim Denault
action is_in
entity Jim Denault
action find
entity Kingdom of the Netherlands
relation country of citizenship
['Jim Denault', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:country_of_citizenship resource:Jim_Denault }
[]
common name
SYSTEM
NO
(Q14326055,P27,Q29999)
action is_in
entity Q14326055
action find
entity Q29999
relation P27
[ANSWER]
['Q14326055', 'P27', 'Q29999']
ASK WHERE { resource:Q29999 property:P27 resource:Q14326055 }
No
action is_in
entity Jim Denault
action find
entity Kingdom of the Netherlands
relation country of citizenship
['Jim Denault', 'country of citizenship', 'Kingdom of the Netherlands']
ASK WHERE { resource:Kingdom_of_the_Netherlands property:country_of_citizenship resource:Jim_Denault }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29999
P47
Q1048835
USER
Which political territory is adjacent to that administrative territory ?
action filter_type
action find
entity Q29999
relation P47
type Q1048835
SELECT DISTINCT ?n WHERE { resource:Q29999 property:P47 ?n . ?n rdf:type ontology:Q1048835 }
Kingdom of the Netherlands
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
SELECT DISTINCT ?n WHERE { resource:Kingdom_of_the_Netherlands property:shares_border_with ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
action filter_type
action find
entity Q29999
relation P47
type Q1048835
[ANSWER] is adjacent to that administrative territory
SELECT DISTINCT ?n WHERE { resource:Q29999 property:P47 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany is adjacent to that administrative territory
Germany
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
SELECT DISTINCT ?n WHERE { resource:Kingdom_of_the_Netherlands property:shares_border_with ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29999
P530
Q1048835
USER
Which political territory has diplomatic associations with Kingdom of the Netherlands ?
(c(Q1048835),P530,Q29999)
action filter_type
action find
entity Q29999
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q29999']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q29999 property:P530 ?s }
Kingdom of the Netherlands
action filter_type
action find
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Kingdom of the Netherlands']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?s }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P530,Q29999)
action filter_type
action find
entity Q29999
relation P530
type Q1048835
[ANSWER] has diplomatic associations with Kingdom of the Netherlands
[{'concept': 'Q1048835'}, 'P530', 'Q29999']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q29999 property:P530 ?s }
Canada
Canada has diplomatic associations with Kingdom of the Netherlands
Canada
action filter_type
action find
entity Kingdom of the Netherlands
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Kingdom of the Netherlands']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:Kingdom_of_the_Netherlands property:diplomatic_relation ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P137
Q3084961
USER
Which product linings can be described as facility operator of 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 ?w WHERE { ?w rdf:type ontology:Q3084961 . ?w property:P137 resource:Q16 }
Canada
action filter_type
action find_reverse
entity Canada
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Canada']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:product_lining . ?w property:operator resource:Canada }
[]
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] can be described as facility operator of that political territory
[{'concept': 'Q3084961'}, 'P137', 'Q16']
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q3084961 . ?w property:P137 resource:Q16 }
T-33 Shooting Star CF-100 Canuck
T-33 Shooting Star and CF-100 Canuck can be described as facility operator of 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 ?w WHERE { ?w rdf:type ontology:product_lining . ?w property:operator resource:Canada }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q58725 Q791488
P137
Q15617994
USER
Which administrative territories are the facility operator of T-33 Shooting Star and CF-100 Canuck ?
(Q58725,P137,c(Q15617994)) (Q791488,P137,c(Q15617994))
action union
action filter_type
action find
entity Q58725
relation P137
type Q15617994
action filter_type
action find
entity Q791488
relation P137
type Q15617994
['Q58725', 'P137', {'concept': 'Q15617994'}] ['Q791488', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q58725 property:P137 ?q . ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q15617994 . resource:Q791488 property:P137 ?q } }
T-33 Shooting Star CF-100 Canuck
action union
action filter_type
action find
entity T-33 Shooting Star
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity CF-100 Canuck
relation operator
type designation for an administrative territorial entity
['T-33 Shooting Star', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['CF-100 Canuck', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:T-33_Shooting_Star property:operator ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:CF-100_Canuck property:operator ?q } }
[]
designation for an administrative territorial entity
Q142 Q31 Q31
SYSTEM
France for 1st, Belgium for 2nd, 3rd
Q739 Q142 Q792 Q298 Q31 Q750 Q31
(Q58725,P137,c(Q15617994)) (Q791488,P137,c(Q15617994))
action union
action filter_type
action find
entity Q58725
relation P137
type Q15617994
action filter_type
action find
entity Q791488
relation P137
type Q15617994
[ANSWERS]
['Q58725', 'P137', {'concept': 'Q15617994'}] ['Q791488', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { resource:Q58725 property:P137 ?q . ?q rdf:type ontology:Q15617994 } UNION { ?q rdf:type ontology:Q15617994 . resource:Q791488 property:P137 ?q } }
Colombia France El Salvador Chile Belgium Bolivia Belgium
France, Belgium and Belgium are the facility operator of T-33 Shooting Star and CF-100 Canuck
France Belgium Belgium
action union
action filter_type
action find
entity T-33 Shooting Star
relation operator
type designation for an administrative territorial entity
action filter_type
action find
entity CF-100 Canuck
relation operator
type designation for an administrative territorial entity
['T-33 Shooting Star', 'operator', {'concept': 'designation for an administrative territorial entity'}] ['CF-100 Canuck', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { { resource:T-33_Shooting_Star property:operator ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:CF-100_Canuck property:operator ?q } }
[]
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 ?v WHERE { ?v property:P121 resource:Q58725 . ?v rdf:type ontology:Q1875621 }
T-33 Shooting Star
action filter_type
action find_reverse
entity T-33 Shooting Star
relation item operated
type aircraft class
[{'concept': 'aircraft class'}, 'item operated', 'T-33 Shooting Star']
SELECT DISTINCT ?v WHERE { ?v property:item_operated resource:T-33_Shooting_Star . ?v rdf:type ontology:aircraft_class }
[]
aircraft class
Clarification for simple ques.
Q58725
SYSTEM
Did you mean T-33 Shooting Star ?
Q142 Q31 Q31
(c(Q1875621),P121,Q142) (c(Q1875621),P121,Q31) (c(Q1875621),P121,Q31)
[ANSWER]
[{'concept': 'Q1875621'}, 'P121', 'Q142'] [{'concept': 'Q1875621'}, 'P121', 'Q31'] [{'concept': 'Q1875621'}, 'P121', 'Q31']
SELECT DISTINCT ?v WHERE { ?v property:P121 resource:Q58725 . ?v rdf:type ontology:Q1875621 }
France Belgium Belgium
Did you mean T-33 Shooting Star ?
T-33 Shooting Star
[{'concept': 'aircraft class'}, 'item operated', 'France'] [{'concept': 'aircraft class'}, 'item operated', 'Belgium'] [{'concept': 'aircraft class'}, 'item operated', 'Belgium']
SELECT DISTINCT ?v WHERE { ?v property:item_operated resource:T-33_Shooting_Star . ?v rdf:type ontology:aircraft_class }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1875621),P121,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 ?v WHERE { ?v property:P121 resource:Q58725 . ?v rdf:type ontology:Q1875621 }
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 ?v WHERE { ?v property:item_operated resource:T-33_Shooting_Star . ?v rdf:type ontology:aircraft_class }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P137
Q15617994 Q1875621
USER
Which administrative territories operate min number of aircraft classes ?
(c(Q1875621),P137,Q953)
action argmin
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q1875621
[{'concept': 'Q1875621'}, 'P137', 'Q953']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?h ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1875621 . ?v property:P137 ?l } GROUP BY ?l } } . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P137 ?t . ?t rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1875621 } GROUP BY ?t } . FILTER ( ?y = ?h ) }
action argmin
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type aircraft class
[{'concept': 'aircraft class'}, 'operator', 'Zambia']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?h ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:aircraft_class . ?v property:operator ?l } GROUP BY ?l } } . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:operator ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:aircraft_class } GROUP BY ?t } . FILTER ( ?y = ?h ) }
[]
designation for an administrative territorial entity aircraft class
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q7998125 Q702 Q2944229 Q801 Q800 Q709 Q6800666 Q805 Q419 Q804 Q668 Q142 Q4805252 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q833 Q711 Q717 Q837 Q1029 Q974 Q252 Q399 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q796 Q794 Q954 Q4731699 Q884 Q958 Q881 Q986 Q5200304 Q822 Q241 Q242 Q244 Q811 Q6842951 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q1029560 Q734 Q819 Q424 Q163966 Q7432239 Q1013 Q236 Q230 Q221 Q232 Q233 Q5259616 Q238 Q20 Q1045 Q1044 Q1042 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q842 Q184 Q4898024 Q1028 Q736 Q786 Q1904 Q228 Q227 Q1050 Q225 Q224 Q854 Q222 Q7123994 Q5172652 Q96 Q229 Q347 Q7493512 Q17 Q1989 Q8560653 Q902 Q1036 Q1037 Q6135283 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q6391894 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q836 Q1320340 Q29 Q574 Q7413758 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q5945856 Q1011 Q945 Q5643180 Q7413264 Q6864332 Q1039 Q672 Q176 Q4819251 Q5130690 Q6378510 Q863 Q869 Q953
(c(Q1875621),P137,Q953)
action argmin
action find_reverse_tuple_counts
relation P137
type Q15617994
type Q1875621
[ANSWERS] operate min number of aircraft classes
[{'concept': 'Q1875621'}, 'P137', 'Q953']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?h ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q1875621 . ?v property:P137 ?l } GROUP BY ?l } } . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:P137 ?t . ?t rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1875621 } GROUP BY ?t } . FILTER ( ?y = ?h ) }
Wichita Falls Independent School District Federated States of Micronesia Charlotte-Mecklenburg Schools Israel Costa Rica Marshall Islands McCracken County Public Schools Yemen Peru Panama India France Ashland Independent School District Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Malaysia Mongolia Venezuela Nepal Mozambique Democratic Republic of the Congo Indonesia Armenia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Iraq Iran Zimbabwe Allen Independent School District South Korea South Sudan Vietnam Eritrea Cypress-Fairbanks Independent School District Lebanon Cuba Belize Barbados Nicaragua Midpeninsula Regional Open Space District Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Houston Independent School District Guyana Laos Cambodia Mitte School District of Lancaster Lesotho Montenegro Georgia Republic of Macedonia Kazakhstan Malta Denton Independent School District San Marino Norway Somalia Sierra Leone Seychelles Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Oman Belarus Bethlehem Area School District Morocco Ecuador Dominican Republic Ontario Andorra Azerbaijan Swaziland Bosnia and Herzegovina Croatia Sri Lanka Albania Paducah Public Schools Corpus Christi Independent School District Mexico Cyprus Liechtenstein Sheldon Independent School District Japan Saskatchewan Midland Independent School District Bangladesh Uganda Rwanda North East Independent School District Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Kent School District Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Myanmar Los Angeles Unified School District Spain East Timor San Diego Unified School District Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Huntsville City Schools Cape Verde Togo Hallsville Independent School District San Angelo Independent School District Mineral Wells Independent School District Sao Tomé and Príncipe Tuvalu Quebec Auburn City Schools Clear Creek Independent School District Katy Independent School District Tajikistan Thailand Zambia
Italy, Brazil and United States of America operate min number of aircraft classes
Italy Brazil United States of America
action argmin
action find_reverse_tuple_counts
relation operator
type designation for an administrative territorial entity
type aircraft class
[{'concept': 'aircraft class'}, 'operator', 'Zambia']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MIN ( ?j ) AS ?h ) { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?j ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:aircraft_class . ?v property:operator ?l } GROUP BY ?l } } . { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?y ) WHERE { ?o property:operator ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:aircraft_class } GROUP BY ?t } . FILTER ( ?y = ?h ) }
[]