Simple Question (Direct)
Simple Question
Q1095497
P20
Q56061
USER
Where did the demise of Clarence Profit occur ?
(Q1095497,P20,c(Q56061))
action filter_type
action find
entity Q1095497
relation P20
type Q56061
['Q1095497', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1095497 property:P20 ?a . ?a rdf:type ontology:Q56061 }
Clarence Profit
action filter_type
action find
entity Clarence Profit
relation place of death
type administrative territorial entity
['Clarence Profit', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Clarence_Profit property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1095497,P20,c(Q56061))
action filter_type
action find
entity Q1095497
relation P20
type Q56061
The demise of Clarence Profit occurred in [ANSWER]
['Q1095497', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1095497 property:P20 ?a . ?a rdf:type ontology:Q56061 }
New York City
The demise of Clarence Profit occurred in New York City
New York City
action filter_type
action find
entity Clarence Profit
relation place of death
type administrative territorial entity
['Clarence Profit', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Clarence_Profit property:place_of_death ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1095497
P1303
Q34379
USER
Which musical instrument can Clarence Profit perform with ?
(Q1095497,P1303,c(Q34379))
action filter_type
action find
entity Q1095497
relation P1303
type Q34379
['Q1095497', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { resource:Q1095497 property:P1303 ?g . ?g rdf:type ontology:Q34379 }
Clarence Profit
action filter_type
action find
entity Clarence Profit
relation instrument
type musical instrument
['Clarence Profit', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { resource:Clarence_Profit property:instrument ?g . ?g rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q1095497,P1303,c(Q34379))
action filter_type
action find
entity Q1095497
relation P1303
type Q34379
Clarence Profit can perform on [ANSWER]
['Q1095497', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { resource:Q1095497 property:P1303 ?g . ?g rdf:type ontology:Q34379 }
piano
Clarence Profit can perform on piano
piano
action filter_type
action find
entity Clarence Profit
relation instrument
type musical instrument
['Clarence Profit', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { resource:Clarence_Profit property:instrument ?g . ?g rdf:type ontology:musical_instrument }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q60
P190
Q56061
USER
How many administrative territories are twin cities of New York City ?
(Q60,P190,c(Q56061))
action count
action filter_type
action find
entity Q60
relation P190
type Q56061
['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q60 property:P190 ?a . ?a rdf:type ontology:Q56061 }
New York City
action count
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:New_York_City property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
14
Q3630 Q3561 Q33935 Q34820 Q51103 Q34647 Q2807 Q956 Q1781 Q84 Q85 Q1490 Q1218 Q585
(Q60,P190,c(Q56061))
action count
action filter_type
action find
entity Q60
relation P190
type Q56061
[ANSWER]
['Q60', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:Q60 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Jakarta Algiers Tel Aviv Santo Domingo Cali Johannesburg Madrid Beijing Budapest London Cairo Tokyo Jerusalem Oslo
14
action count
action filter_type
action find
entity New York City
relation sister city
type administrative territorial entity
['New York City', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { resource:New_York_City property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q12439
Q56061
USER
And how about Detroit?
(Q12439,P190,c(Q56061))
action count
action filter_type
action find
entity Q12439
relation P190
type Q56061
['Q12439', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q12439 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Detroit
action count
action filter_type
action find
entity Detroit
relation sister city
type administrative territorial entity
['Detroit', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Detroit property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
5
(Q12439,P190,c(Q56061))
action count
action filter_type
action find
entity Q12439
relation P190
type Q56061
[ANSWER]
['Q12439', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q12439 property:P190 ?e . ?e rdf:type ontology:Q56061 }
5
action count
action filter_type
action find
entity Detroit
relation sister city
type administrative territorial entity
['Detroit', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Detroit property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3810159 Q1095497
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Clarence Profit or Josep ?
OR((Q1095497,P27,c(Q15617994)), (Q3810159,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1095497
relation P27
action find
entity Q3810159
relation P27
type Q15617994
{'OR': [['Q1095497', 'P27', {'concept': 'Q15617994'}], ['Q3810159', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1095497 property:P27 ?i } UNION { resource:Q3810159 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
Josep Clarence Profit
action filter_type
action union
action find
entity Clarence Profit
relation country of citizenship
action find
entity Josep
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Clarence Profit', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Josep', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Clarence_Profit property:country_of_citizenship ?i } UNION { resource:Josep property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q45
SYSTEM
United States of America, Portugal
Q30 Q45
OR((Q1095497,P27,c(Q15617994)), (Q3810159,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1095497
relation P27
action find
entity Q3810159
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Clarence Profit or Josep
{'OR': [['Q1095497', 'P27', {'concept': 'Q15617994'}], ['Q3810159', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1095497 property:P27 ?i } UNION { resource:Q3810159 property:P27 ?i } } . ?i rdf:type ontology:Q15617994 }
United States of America Portugal
United States of America and Portugal are the countries of citizenship of Clarence Profit or Josep
United States of America Portugal
action filter_type
action union
action find
entity Clarence Profit
relation country of citizenship
action find
entity Josep
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Clarence Profit', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Josep', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Clarence_Profit property:country_of_citizenship ?i } UNION { resource:Josep property:country_of_citizenship ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5735180
P27
Q502895
USER
Are Herbert O. Dunn civilians of those administrative territories ?
(Q5735180,P27,Q30) (Q5735180,P27,Q45)
action is_in
entity prev_answer
action find
entity Q5735180
relation P27
['Q5735180', 'P27', 'Q30'] ['Q5735180', 'P27', 'Q45']
ASK WHERE { VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q45 ) } . resource:Q5735180 property:P27 ?r }
Herbert O. Dunn
action is_in
entity prev_answer
action find
entity Herbert O. Dunn
relation country of citizenship
['Herbert O. Dunn', 'country of citizenship', 'United States of America'] ['Herbert O. Dunn', 'country of citizenship', 'Portugal']
ASK WHERE { VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:Portugal ) } . resource:Herbert_O._Dunn property:country_of_citizenship ?r }
[]
common name
SYSTEM
YES
(Q5735180,P27,Q30) (Q5735180,P27,Q45)
action is_in
entity prev_answer
action find
entity Q5735180
relation P27
[ANSWER]
['Q5735180', 'P27', 'Q30'] ['Q5735180', 'P27', 'Q45']
ASK WHERE { VALUES ( ?r ) { ( resource:Q30 ) ( resource:Q45 ) } . resource:Q5735180 property:P27 ?r }
Yes
action is_in
entity prev_answer
action find
entity Herbert O. Dunn
relation country of citizenship
['Herbert O. Dunn', 'country of citizenship', 'United States of America'] ['Herbert O. Dunn', 'country of citizenship', 'Portugal']
ASK WHERE { VALUES ( ?r ) { ( resource:United_States_of_America ) ( resource:Portugal ) } . resource:Herbert_O._Dunn property:country_of_citizenship ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q858
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with less number of administrative territories than Syria ?
(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
entity Q858
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q858 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?c ) }
Syria
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
entity Syria
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Syria property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?c ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q218 Q20 Q948
SYSTEM
Romania, Norway, Tunisia
Q702 Q804 Q783 Q784 Q265 Q712 Q710 Q837 Q657 Q792 Q790 Q986 Q242 Q244 Q811 Q929 Q29999 Q854 Q819 Q424 Q730 Q1013 Q232 Q238 Q20 Q1045 Q1041 Q921 Q1027 Q1020 Q842 Q1028 Q786 Q1036 Q1037 Q1032 Q965 Q967 Q962 Q697 Q695 Q117 Q754 Q218 Q912 Q917 Q1007 Q1006 Q1005 Q833 Q977 Q970 Q683 Q34020 Q686 Q836 Q574 Q774 Q948 Q817 Q1019 Q945 Q678 Q33788
(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
entity Q858
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with less number of administrative territories than Syria
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:P530 ?s . ?s rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Q858 property:P530 ?f . ?f rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?c ) }
Federated States of Micronesia Panama Honduras Dominica Uzbekistan Fiji Kiribati Nepal Chad El Salvador Haiti Eritrea Belize Barbados Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Kazakhstan San Marino Norway Somalia Senegal Brunei Mauritius Malawi Oman Morocco Dominican Republic Uganda Rwanda Niger Burkina Faso Burundi Benin Nauru Palau Ghana Trinidad and Tobago Romania Mali Bhutan Guinea-Bissau Guinea Gambia Malaysia Djibouti Comoros Samoa Niue Vanuatu Myanmar East Timor Guatemala Tunisia Kuwait Madagascar Togo Tonga New Caledonia
Romania, Norway and Tunisia have diplomatic relationships with less number of administrative territories than Syria
Romania Norway Tunisia
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
entity Syria
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 ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?a ) WHERE { ?t property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?c ) WHERE { resource:Syria property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P183
Q16521
USER
Which taxon is endemic to Norway ?
(c(Q16521),P183,Q20)
action filter_type
action find_reverse
entity Q20
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q20']
SELECT DISTINCT ?a WHERE { ?a property:P183 resource:Q20 . ?a rdf:type ontology:Q16521 }
Norway
action filter_type
action find_reverse
entity Norway
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Norway']
SELECT DISTINCT ?a WHERE { ?a property:endemic_to resource:Norway . ?a rdf:type ontology:taxon }
[]
taxon
Q22452187
SYSTEM
Sorbus sognensis
Q22452187
(c(Q16521),P183,Q20)
action filter_type
action find_reverse
entity Q20
relation P183
type Q16521
[ANSWER] is endemic to Norway
[{'concept': 'Q16521'}, 'P183', 'Q20']
SELECT DISTINCT ?a WHERE { ?a property:P183 resource:Q20 . ?a rdf:type ontology:Q16521 }
Sorbus sognensis
Sorbus sognensis is endemic to Norway
Sorbus sognensis
action filter_type
action find_reverse
entity Norway
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'Norway']
SELECT DISTINCT ?a WHERE { ?a property:endemic_to resource:Norway . ?a rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q22452187,P1313,c(Q12737077))
action filter_type
action find
entity Q20
relation P1313
type Q12737077
['Q22452187', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q20 property:P1313 ?v . ?v rdf:type ontology:Q12737077 }
Norway
action filter_type
action find
entity Norway
relation office held by head of government
type occupation
['Sorbus sognensis', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Norway property:office_held_by_head_of_government ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q13409304
SYSTEM
Statsminister
Q13409304
(Q22452187,P1313,c(Q12737077))
action filter_type
action find
entity Q20
relation P1313
type Q12737077
[ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q22452187', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q20 property:P1313 ?v . ?v rdf:type ontology:Q12737077 }
Statsminister
Statsminister serves as the political office that is fulfilled by the head of the government of that administrative territory
Statsminister
action filter_type
action find
entity Norway
relation office held by head of government
type occupation
['Sorbus sognensis', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Norway property:office_held_by_head_of_government ?v . ?v rdf:type ontology:occupation }
[]