Simple Question (Direct)
Simple Question
Q67867
P47
Q13220204
USER
Which administrative country subdivisions are adjacent to Vergeletto ?
(Q67867,P47,c(Q13220204))
action filter_type
action find
entity Q67867
relation P47
type Q13220204
['Q67867', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q13220204 . resource:Q67867 property:P47 ?t }
Vergeletto
action filter_type
action find
entity Vergeletto
relation shares border with
type second-level administrative country subdivision
['Vergeletto', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:second-level_administrative_country_subdivision . resource:Vergeletto property:shares_border_with ?t }
[]
second-level administrative country subdivision
Q67996 Q67664 Q67864
SYSTEM
Maggia, Onsernone, Campo
Q67864 Q68352 Q67664 Q67996
(Q67867,P47,c(Q13220204))
action filter_type
action find
entity Q67867
relation P47
type Q13220204
[ANSWERS] are adjacent to Vergeletto
['Q67867', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q13220204 . resource:Q67867 property:P47 ?t }
Campo Gresso Onsernone Maggia
Maggia, Onsernone and Campo are adjacent to Vergeletto
Maggia Onsernone Campo
action filter_type
action find
entity Vergeletto
relation shares border with
type second-level administrative country subdivision
['Vergeletto', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:second-level_administrative_country_subdivision . resource:Vergeletto property:shares_border_with ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q67996
P37
Q34770
USER
What is considered to be the official language of that administrative country subdivision ?
(Q67996,P37,c(Q34770))
action filter_type
action find
entity Q67996
relation P37
type Q34770
['Q67996', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q67996 property:P37 ?p }
Maggia
action filter_type
action find
entity Maggia
relation official language
type language
['Maggia', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Maggia property:official_language ?p }
[]
language
Clarification for simple ques.
Q67664
SYSTEM
Did you mean Onsernone ?
Q67996 Q67664 Q67864
(Q67996,P37,c(Q34770)) (Q67664,P37,c(Q34770)) (Q67864,P37,c(Q34770))
[ANSWER]
['Q67996', 'P37', {'concept': 'Q34770'}] ['Q67664', 'P37', {'concept': 'Q34770'}] ['Q67864', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q67996 property:P37 ?p }
Maggia Onsernone Campo
Did you mean Onsernone ?
Onsernone
['Maggia', 'official language', {'concept': 'language'}] ['Onsernone', 'official language', {'concept': 'language'}] ['Campo', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Maggia property:official_language ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Maggia. Could you tell me the answer for that?
(Q67996,P37,c(Q34770))
Q67996
['Q67996', 'P37', {'concept': 'Q34770'}]
['Maggia', 'official language', {'concept': 'language'}]
[]
Q652
SYSTEM
Italian
Q652
(Q67996,P37,c(Q34770))
action filter_type
action find
entity Q67996
relation P37
type Q34770
[ANSWER] is considered to be the official language of that administrative country subdivision
['Q67996', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q67996 property:P37 ?p }
Italian
Italian is considered to be the official language of that administrative country subdivision
Italian
action filter_type
action find
entity Maggia
relation official language
type language
['Maggia', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:Maggia property:official_language ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
Which languages are the names of the language native to approximately the same number of people as that language ?
(c(Q502895),P103,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q652
relation P103
type Q34770
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P103 ?y . ?y rdf:type ontology:Q34770 . ?n rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q652 property:P103 ?m . ?m rdf:type ontology:Q34770 } } }
action approx
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Italian
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:native_language ?y . ?y rdf:type ontology:language . ?n rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Italian property:native_language ?m . ?m rdf:type ontology:language } } }
[]
language common name
Q9056 Q8752 Q397
SYSTEM
Czech, Basque, Latin
Q3200839 Q9056 Q652 Q8752 Q1321 Q13211 Q397 Q8785 Q25164
(c(Q502895),P103,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find
entity Q652
relation P103
type Q34770
[ANSWERS] are the names of the language native to approximately the same number of people as that language
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P103 ?y . ?y rdf:type ontology:Q34770 . ?n rdf:type ontology:Q502895 } GROUP BY ?y } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q652 property:P103 ?m . ?m rdf:type ontology:Q34770 } } }
Kwaza language Czech Italian Basque Spanish Ruthenian Latin Armenian Nynorsk
Czech, Basque and Latin are the names of the language native to approximately the same number of people as that language
Czech Basque Latin
action approx
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find
entity Italian
relation native language
type language
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:native_language ?y . ?y rdf:type ontology:language . ?n rdf:type ontology:common_name } GROUP BY ?y } . FILTER ( ?t = ?k ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Italian property:native_language ?m . ?m rdf:type ontology:language } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q454486
P1412
Q502895
USER
Does Frank Furedi talk in those languages ?
(Q454486,P1412,Q9056) (Q454486,P1412,Q8752) (Q454486,P1412,Q397)
action is_in
entity prev_answer
action find
entity Q454486
relation P1412
['Q454486', 'P1412', 'Q9056'] ['Q454486', 'P1412', 'Q8752'] ['Q454486', 'P1412', 'Q397']
ASK WHERE { resource:Q454486 property:P1412 ?f . VALUES ( ?f ) { ( resource:Q3200839 ) ( resource:Q9056 ) ( resource:Q652 ) } }
Frank Furedi
action is_in
entity prev_answer
action find
entity Frank Furedi
relation languages spoken, written or signed
['Frank Furedi', 'languages spoken, written or signed', 'Czech'] ['Frank Furedi', 'languages spoken, written or signed', 'Basque'] ['Frank Furedi', 'languages spoken, written or signed', 'Latin']
ASK WHERE { resource:Frank_Furedi property:languages_spoken,_written_or_signed ?f . VALUES ( ?f ) { ( resource:Kwaza_language ) ( resource:Czech ) ( resource:Italian ) } }
[]
common name
SYSTEM
NO
(Q454486,P1412,Q9056) (Q454486,P1412,Q8752) (Q454486,P1412,Q397)
action is_in
entity prev_answer
action find
entity Q454486
relation P1412
[ANSWER]
['Q454486', 'P1412', 'Q9056'] ['Q454486', 'P1412', 'Q8752'] ['Q454486', 'P1412', 'Q397']
ASK WHERE { resource:Q454486 property:P1412 ?f . VALUES ( ?f ) { ( resource:Q3200839 ) ( resource:Q9056 ) ( resource:Q652 ) } }
No
action is_in
entity prev_answer
action find
entity Frank Furedi
relation languages spoken, written or signed
['Frank Furedi', 'languages spoken, written or signed', 'Czech'] ['Frank Furedi', 'languages spoken, written or signed', 'Basque'] ['Frank Furedi', 'languages spoken, written or signed', 'Latin']
ASK WHERE { resource:Frank_Furedi property:languages_spoken,_written_or_signed ?f . VALUES ( ?f ) { ( resource:Kwaza_language ) ( resource:Czech ) ( resource:Italian ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q231
P37
Q34770 Q1048835
USER
Which political territories have their official language as greater number of languages than Walloon Region ?
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q231
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?m ) WHERE { ?e property:P37 ?x . ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q231 property:P37 ?v } } . FILTER ( ?m > ?c ) }
Walloon Region
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Walloon Region
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?m ) WHERE { ?e property:official_language ?x . ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Walloon_Region property:official_language ?v } } . FILTER ( ?m > ?c ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q757 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q231
relation P37
type Q1048835
[ANSWERS] have their official language as greater number of languages than Walloon Region
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?m ) WHERE { ?e property:P37 ?x . ?e rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q34770 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:Q1048835 . resource:Q231 property:P37 ?v } } . FILTER ( ?m > ?c ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Saint Vincent and the Grenadines Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia, Canada and Catalonia have their official language as greater number of languages than Walloon Region
Australia Canada Catalonia
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Walloon Region
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?m ) WHERE { ?e property:official_language ?x . ?e rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:language } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { ?v rdf:type ontology:political_territorial_entity . resource:Walloon_Region property:official_language ?v } } . FILTER ( ?m > ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q18257
P37
Q34770 Q1048835
USER
And also tell me about Abella de la Conca?
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q18257
relation P37
type Q1048835
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?p ) WHERE { ?w property:P37 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q34770 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q18257 property:P37 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?p > ?q ) }
Abella de la Conca
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Abella de la Conca
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?p ) WHERE { ?w property:official_language ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Abella_de_la_Conca property:official_language ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?p > ?q ) }
[]
language political territorial entity
Q408 Q16 Q5705
SYSTEM
Australia, Canada, Catalonia
Q127167 Q193714 Q691 Q686790 Q785 Q769 Q763 Q917883 Q35086 Q766 Q9676 Q1054923 Q52626 Q5720 Q664 Q13353 Q37362 Q1771153 Q5705 Q13786 Q16 Q5785 Q624511 Q15601 Q1628531 Q649612 Q757 Q685 Q778 Q25228 Q4474 Q408 Q1631311 Q1444150 Q9648 Q643919 Q1644430 Q23635 Q781 Q1907203 Q1769772
(c(Q1048835),P37,c(Q34770))
action greater
action find_tuple_counts
relation P37
type Q1048835
type Q34770
action count
action filter_type
action find
entity Q18257
relation P37
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?p ) WHERE { ?w property:P37 ?d . ?w rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q34770 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Q18257 property:P37 ?g . ?g rdf:type ontology:Q1048835 } } . FILTER ( ?p > ?q ) }
Western Cape Mandatory Palestine Papua New Guinea Mediona Jersey Grenada Saint Kitts and Nevis Molina de Segura South Georgia and the South Sandwich Islands Jamaica Isle of Man British Hong Kong Formentera Valencian Country New Zealand Montserrat Akrotiri and Dhekelia Albuixech Catalonia Cebu Canada Cayman Islands Aracena Corbera de Llobregat Quintanar de la Orden Coca, Segovia Saint Vincent and the Grenadines Solomon Islands The Bahamas Anguilla Ortuella Australia Cuéllar Alboloduy Falkland Islands Torfaen County Borough Monreal del Campo Bermuda Antigua and Barbuda San Miguel del Arroyo Bierge
Australia Canada Catalonia
action greater
action find_tuple_counts
relation official language
type political territorial entity
type language
action count
action filter_type
action find
entity Abella de la Conca
relation official language
type political territorial entity
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?d ) AS ?p ) WHERE { ?w property:official_language ?d . ?w rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { resource:Abella_de_la_Conca property:official_language ?g . ?g rdf:type ontology:political_territorial_entity } } . FILTER ( ?p > ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652
P144
Q1190554
USER
Which event is based on Italian ?
(c(Q1190554),P144,Q652)
action filter_type
action find_reverse
entity Q652
relation P144
type Q1190554
[{'concept': 'Q1190554'}, 'P144', 'Q652']
SELECT DISTINCT ?h WHERE { ?h property:P144 resource:Q652 . ?h rdf:type ontology:Q1190554 }
Italian
action filter_type
action find_reverse
entity Italian
relation based on
type event
[{'concept': 'event'}, 'based on', 'Italian']
SELECT DISTINCT ?h WHERE { ?h property:based_on resource:Italian . ?h rdf:type ontology:event }
[]
event
Q36352
SYSTEM
Loglan
Q36352
(c(Q1190554),P144,Q652)
action filter_type
action find_reverse
entity Q652
relation P144
type Q1190554
[ANSWER] is based on Italian
[{'concept': 'Q1190554'}, 'P144', 'Q652']
SELECT DISTINCT ?h WHERE { ?h property:P144 resource:Q652 . ?h rdf:type ontology:Q1190554 }
Loglan
Loglan is based on Italian
Loglan
action filter_type
action find_reverse
entity Italian
relation based on
type event
[{'concept': 'event'}, 'based on', 'Italian']
SELECT DISTINCT ?h WHERE { ?h property:based_on resource:Italian . ?h rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q652
P282
Q9779
USER
Which alphabet is utilized as the script for that language ?
(Q36352,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
['Q36352', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?v WHERE { resource:Q652 property:P282 ?v . ?v rdf:type ontology:Q9779 }
Italian
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Loglan', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?v WHERE { resource:Italian property:writing_system ?v . ?v rdf:type ontology:alphabet }
[]
alphabet
Q550383
SYSTEM
Italian alphabet
Q550383
(Q36352,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
[ANSWER] is utilized as the script for that language
['Q36352', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?v WHERE { resource:Q652 property:P282 ?v . ?v rdf:type ontology:Q9779 }
Italian alphabet
Italian alphabet is utilized as the script for that language
Italian alphabet
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Loglan', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?v WHERE { resource:Italian property:writing_system ?v . ?v rdf:type ontology:alphabet }
[]