Simple Question (Direct)
Simple Question
Q1689925
P106
Q12737077
USER
What are the professions of Jo Booren ?
(Q1689925,P106,c(Q12737077))
action filter_type
action find
entity Q1689925
relation P106
type Q12737077
['Q1689925', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1689925 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Jo Booren
action filter_type
action find
entity Jo Booren
relation occupation
type occupation
['Jo Booren', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jo_Booren property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q158852 Q36834 Q17093672
SYSTEM
conductor, composer, trumpeter
Q158852 Q36834 Q17093672
(Q1689925,P106,c(Q12737077))
action filter_type
action find
entity Q1689925
relation P106
type Q12737077
The professions of Jo Booren are [ANSWERS]
['Q1689925', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1689925 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
conductor composer trumpeter
The professions of Jo Booren are conductor, composer and trumpeter
conductor composer trumpeter
action filter_type
action find
entity Jo Booren
relation occupation
type occupation
['Jo Booren', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Jo_Booren property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1689925
P1303
Q34379
USER
Which musical instrument can that person perform with ?
(Q158852,P1303,c(Q34379)) (Q36834,P1303,c(Q34379)) (Q17093672,P1303,c(Q34379))
action filter_type
action find
entity Q1689925
relation P1303
type Q34379
['Q158852', 'P1303', {'concept': 'Q34379'}] ['Q36834', 'P1303', {'concept': 'Q34379'}] ['Q17093672', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34379 . resource:Q1689925 property:P1303 ?e }
Jo Booren
action filter_type
action find
entity Jo Booren
relation instrument
type musical instrument
['conductor', 'instrument', {'concept': 'musical instrument'}] ['composer', 'instrument', {'concept': 'musical instrument'}] ['trumpeter', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:musical_instrument . resource:Jo_Booren property:instrument ?e }
[]
musical instrument
Q8338
SYSTEM
trumpet
Q8338
(Q158852,P1303,c(Q34379)) (Q36834,P1303,c(Q34379)) (Q17093672,P1303,c(Q34379))
action filter_type
action find
entity Q1689925
relation P1303
type Q34379
That person can perform a [ANSWER]
['Q158852', 'P1303', {'concept': 'Q34379'}] ['Q36834', 'P1303', {'concept': 'Q34379'}] ['Q17093672', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34379 . resource:Q1689925 property:P1303 ?e }
trumpet
That person can perform a trumpet
trumpet
action filter_type
action find
entity Jo Booren
relation instrument
type musical instrument
['conductor', 'instrument', {'concept': 'musical instrument'}] ['composer', 'instrument', {'concept': 'musical instrument'}] ['trumpeter', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:musical_instrument . resource:Jo_Booren property:instrument ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1689925
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q8338,P27,c(Q15617994))
action filter_type
action find
entity Q1689925
relation P27
type Q15617994
['Q8338', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1689925 property:P27 ?k }
Jo Booren
action filter_type
action find
entity Jo Booren
relation country of citizenship
type designation for an administrative territorial entity
['trumpet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jo_Booren property:country_of_citizenship ?k }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
(Q8338,P27,c(Q15617994))
action filter_type
action find
entity Q1689925
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q8338', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q1689925 property:P27 ?k }
Kingdom of the Netherlands
Kingdom of the Netherlands is that person an inhabitant of
Kingdom of the Netherlands
action filter_type
action find
entity Jo Booren
relation country of citizenship
type designation for an administrative territorial entity
['trumpet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Jo_Booren property:country_of_citizenship ?k }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q1048835 Q15617994
USER
How many political territories and administrative territories are adjacent to that administrative territory ?
(Q29999,P47,c(Q1048835)) (Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q29999,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29999
relation P47
type Q1048835
action filter_type
action find
entity Q29999
relation P47
type Q15617994
['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { resource:Q29999 property:P47 ?w . ?w rdf:type ontology:Q1048835 } UNION { resource:Q29999 property:P47 ?w . ?w rdf:type ontology:Q15617994 } }
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type designation for an administrative territorial entity
['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?w . ?w rdf:type ontology:political_territorial_entity } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
1 political territories and 3 administrative territories
Q142 Q31 Q717 Q183
(Q29999,P47,c(Q1048835)) (Q29999,P47,c(Q15617994)) (Q29999,P47,c(Q1048835)) (Q29999,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q29999
relation P47
type Q1048835
action filter_type
action find
entity Q29999
relation P47
type Q15617994
[ANSWER]
['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q15617994'}] ['Q29999', 'P47', {'concept': 'Q1048835'}] ['Q29999', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { resource:Q29999 property:P47 ?w . ?w rdf:type ontology:Q1048835 } UNION { resource:Q29999 property:P47 ?w . ?w rdf:type ontology:Q15617994 } }
France Belgium Venezuela Germany
1 political territories and 3 administrative territories
action count
action union
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type political territorial entity
action filter_type
action find
entity Kingdom of the Netherlands
relation shares border with
type designation for an administrative territorial entity
['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'political territorial entity'}] ['Kingdom of the Netherlands', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { resource:Kingdom_of_the_Netherlands property:shares_border_with ?w . ?w rdf:type ontology:political_territorial_entity } UNION { resource:Kingdom_of_the_Netherlands property:shares_border_with ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q869 Q29999
P163
Q14660
USER
Which flags are associated with Kingdom of the Netherlands or Thailand ?
OR((Q29999,P163,c(Q14660)), (Q869,P163,c(Q14660)))
action filter_type
action union
action find
entity Q29999
relation P163
action find
entity Q869
relation P163
type Q14660
{'OR': [['Q29999', 'P163', {'concept': 'Q14660'}], ['Q869', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q29999 property:P163 ?v } UNION { resource:Q869 property:P163 ?v } } . ?v rdf:type ontology:Q14660 }
Thailand Kingdom of the Netherlands
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation flag
action find
entity Thailand
relation flag
type flag
{'OR': [['Kingdom of the Netherlands', 'flag', {'concept': 'flag'}], ['Thailand', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kingdom_of_the_Netherlands property:flag ?v } UNION { resource:Thailand property:flag ?v } } . ?v rdf:type ontology:flag }
[]
flag
Q134885 Q46585
SYSTEM
flag of Thailand, flag of the Netherlands
Q134885 Q46585
OR((Q29999,P163,c(Q14660)), (Q869,P163,c(Q14660)))
action filter_type
action union
action find
entity Q29999
relation P163
action find
entity Q869
relation P163
type Q14660
And [ANSWERS] are associated with Kingdom of the Netherlands or Thailand
{'OR': [['Q29999', 'P163', {'concept': 'Q14660'}], ['Q869', 'P163', {'concept': 'Q14660'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q29999 property:P163 ?v } UNION { resource:Q869 property:P163 ?v } } . ?v rdf:type ontology:Q14660 }
flag of Thailand flag of the Netherlands
And flag of Thailand and flag of the Netherlands are associated with Kingdom of the Netherlands or Thailand
flag of Thailand flag of the Netherlands
action filter_type
action union
action find
entity Kingdom of the Netherlands
relation flag
action find
entity Thailand
relation flag
type flag
{'OR': [['Kingdom of the Netherlands', 'flag', {'concept': 'flag'}], ['Thailand', 'flag', {'concept': 'flag'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Kingdom_of_the_Netherlands property:flag ?v } UNION { resource:Thailand property:flag ?v } } . ?v rdf:type ontology:flag }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1001
Q15617994 Q56061 Q14660
USER
Which flags have jurisdiction over around the same number of administrative territories and administrative territories as that flag ?
(c(Q14660),P1001,c(Q15617994)|c(Q56061))
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q56061 }
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:administrative_territorial_entity }
[]
designation for an administrative territorial entity administrative territorial entity flag
Comparative|More/Less|Mult. entity type|Clarification
Q46585
SYSTEM
Did you mean flag of the Netherlands ?
(c(Q14660),P1001,c(Q15617994)|c(Q56061))
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q56061 }
Did you mean flag of the Netherlands ?
flag of the Netherlands
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q14660),P1001,c(Q15617994)|c(Q56061))
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
[]
SYSTEM
202
Q102939 Q83392 Q483659 Q42436 Q168935 Q42537 Q102944 Q182514 Q171124 Q185285 Q26491 Q103084 Q127974 Q133022 Q42876 Q103019 Q134885 Q169907 Q132633 Q169903 Q104351 Q135014 Q164584 Q105643 Q328889 Q81952 Q43175 Q188072 Q127296 Q162980 Q134252 Q160242 Q79874 Q82205 Q103055 Q165775 Q82194 Q600147 Q188477 Q41673 Q33213 Q1426630 Q131650 Q4575 Q160425 Q188609 Q43192 Q225360 Q102977 Q163333 Q101472 Q160861 Q130481 Q637134 Q190648 Q93335 Q127179 Q159538 Q184596 Q45136 Q165811 Q159872 Q235829 Q131204 Q170543 Q484249 Q163832 Q168925 Q618036 Q46008 Q122462 Q102993 Q130458 Q392167 Q224972 Q129132 Q102198 Q12990 Q30768 Q169192 Q128812 Q47891 Q124020 Q160255 Q160250 Q103046 Q134247 Q170465 Q165542 Q165545 Q1418784 Q24577771 Q241781 Q131147 Q202189 Q185277 Q162699 Q102960 Q170814 Q102967 Q160872 Q160877 Q159741 Q171103 Q173554 Q130811 Q81477 Q81471 Q204666 Q134933 Q165538 Q81970 Q4633 Q134521 Q266618 Q165500 Q104969 Q134627 Q41327 Q83278 Q170554 Q170555 Q103037 Q19810326 Q36005 Q168912 Q168917 Q659058 Q124329 Q102987 Q483774 Q130442 Q121688 Q102184 Q126622 Q165872 Q134874 Q163753 Q463964 Q184268 Q184265 Q167119 Q81286 Q128347 Q130449 Q242502 Q1414813 Q165552 Q165550 Q202610 Q103070 Q82236 Q16611 Q429900 Q636719 Q184283 Q159986 Q170809 Q182782 Q102953 Q165822 Q178179 Q83149 Q173548 Q200260 Q162068 Q128480 Q103001 Q133015 Q130774 Q130807 Q163008 Q165905 Q162999 Q170795 Q173201 Q48409 Q162781 Q162789 Q512175 Q169441 Q154823 Q167584 Q117758 Q34599 Q81526 Q131469 Q162033 Q1122078 Q180725 Q170064 Q79198 Q170289 Q159865 Q165641 Q103064 Q168941 Q127155 Q172533 Q179383 Q160676 Q160124
(c(Q14660),P1001,c(Q15617994)|c(Q56061))
[ANSWER]
[{'concept': 'Q14660'}, 'P1001', [{'concept': 'Q15617994'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P1001 ?y } UNION { ?z property:P1001 ?x } } . ?z rdf:type ontology:Q14660 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q56061 }
Flag of Honduras Flag of Algeria Flag of Singapore Flag of Poland Flag of Malaysia flag of the United States of America flag of Cape Verde Flag of Fiji Flag of Guyana Flag of Vanuatu Flag of Georgia Flag of Burundi Flag of Ukraine flag of Luxembourg Flag of Italy Flag of Madagascar flag of Thailand Flag of São Tomé and Príncipe flag of Belarus Flag of Mali Flag of Barbados Flag of the Gambia Flag of the Democratic Republic of the Congo Flag of Tuvalu Flag of the Northern Mariana Islands flag of Turkey Flag of Japan Flag of Tonga Flag of South Korea Flag of Montenegro Flag of Burkina Faso flag of Botswana flag of Afghanistan flag of Ireland flag of Liechtenstein Flag of the Central African Republic flag of Brazil Flag of the City of Madrid flag of Samoa flag of India flag of Armenia Flag of Nunavut flag of Kazakhstan Flag of the Faroe Islands flag of Colombia Flag of Palau Flag of France Flag of Bulgaria Flag of Mauritania Flag of the Republic of the Congo Flag of Indonesia Flag of Slovakia Flag of Bahrain flag of British Columbia Flag of the Federated States of Micronesia Flag of Iceland flag of Bangladesh Flag of Somalia Flag of Saint Lucia Flag of Syria flag of Chad Flag of Cameroon flag of Guam Flag of Vietnam flag of Rwanda Flag of Mozambique Flag of Serbia Flag of San Marino Flag of Toronto flag of Laos flag of Mexico Flag of Swaziland flag of Egypt flag of Quebec Flag of the Canary Islands flag of Greece Flag of Sudan flag of Belgium flag of East Timor flag of Belize Flag of Portugal Flag of Finland flag of Switzerland flag of Peru flag of South Africa Flag of Niger Flag of the United Arab Emirates flag of Paraguay flag of Ecuador flag of Kuwait Flag of New Brunswick flag of the People's Republic of Benin Flag of Madeira Flag of the People's Republic of China Flag of Niue Flag of Nauru Flag of Yemen Flag of Nigeria Flag of Zambia Flag of Ivory Coast flag of Chile Flag of Saudi Arabia flag of Nepal Flag of Uruguay flag of El Salvador Flag of Romania Flag of Lithuania Flag of Estonia Flag of US Virgin Islands Flag of Senegal flag of Venezuela flag of Hungary Flag of Cyprus Flag of Bhutan Flag of Prince Edward Island Flag of Guinea Flag of Lesotho flag of the Philippines flag of Turkmenistan flag of the United Kingdom flag of Equatorial Guinea Flag of Eritrea Flag of Uganda flag of Dzisna flag of Lebanon Flag of Sierra Leone Flag of Comoros flag of Paris Flag of Angola Flag of Haiti Flag of Uzbekistan flag of Benin flag of Spain Flag of Djibouti Flag of Iran Flag of Brunei Flag of Bolivia Flag of Burma Flag of Northern Ireland flag of Greenland Flag of Dominican Republic Flag of the Republic of Macedonia flag of Sweden Flag of Pakistan Flag of Latvia Flag of American Samoa Flag of New York City Flag of Mongolia Flag of Oman flag of Åland Flag of Togo Flag of Azerbaijan flag of Russia Flag of Saba Flag of Newfoundland and Labrador Flag of Trinidad and Tobago Flag of Zimbabwe Flag of Tanzania Flag of South Sudan Flag of Guinea-Bissau flag of Namibia Flag of Guatemala flag of Norway Flag of Mauritius Flag of the Marshall Islands Flag of Ethiopia flag of Israel Flag of Malawi Flag of Croatia flag of Argentina flag of Slovenia Flag of Cuba flag of Kenya Flag of Cambodia Flag of Liberia Flag of the Seychelles flag of Albania flag of Iraq Flag of Tunisia Flag of Manitoba Flag of the Maldives Flag of Sri Lanka Flag of Moldova Flag of Kiribati Flag of Libya flag of Andorra flag of Malta flag of Bosnia and Herzegovina Flag of Alberta Flag of Suriname Flag of Jordan Flag of Vatican City Flag of Costa Rica Flag of Morocco flag of Kyrgyzstan Flag of North Korea flag of Panama flag of the Czech Republic flag of Nicaragua Flag of Dominica Flag of Ghana Flag of Tajikistan
202
[{'concept': 'flag'}, 'applies to jurisdiction', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:applies_to_jurisdiction ?y } UNION { ?z property:applies_to_jurisdiction ?x } } . ?z rdf:type ontology:flag . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:administrative_territorial_entity }
[]