Simple Question (Direct)
Simple Question
Q4707710
P184
Q502895
USER
Which person was the doctoral advisor of Alan Sargeson ?
(Q4707710,P184,c(Q502895))
action filter_type
action find
entity Q4707710
relation P184
type Q502895
['Q4707710', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4707710 property:P184 ?e . ?e rdf:type ontology:Q502895 }
Alan Sargeson
action filter_type
action find
entity Alan Sargeson
relation doctoral advisor
type common name
['Alan Sargeson', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Alan_Sargeson property:doctoral_advisor ?e . ?e rdf:type ontology:common_name }
[]
common name
Q5482144
SYSTEM
Francis Patrick Dwyer
Q5482144
(Q4707710,P184,c(Q502895))
action filter_type
action find
entity Q4707710
relation P184
type Q502895
[ANSWER] was the doctoral advisor of Alan Sargeson
['Q4707710', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4707710 property:P184 ?e . ?e rdf:type ontology:Q502895 }
Francis Patrick Dwyer
Francis Patrick Dwyer was the doctoral advisor of Alan Sargeson
Francis Patrick Dwyer
action filter_type
action find
entity Alan Sargeson
relation doctoral advisor
type common name
['Alan Sargeson', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Alan_Sargeson property:doctoral_advisor ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5482144
P1412
Q34770
USER
Which language can that person understand ?
(Q5482144,P1412,c(Q34770))
action filter_type
action find
entity Q5482144
relation P1412
type Q34770
['Q5482144', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q5482144 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
Francis Patrick Dwyer
action filter_type
action find
entity Francis Patrick Dwyer
relation languages spoken, written or signed
type language
['Francis Patrick Dwyer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Francis_Patrick_Dwyer property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5482144,P1412,c(Q34770))
action filter_type
action find
entity Q5482144
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q5482144', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q5482144 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Francis Patrick Dwyer
relation languages spoken, written or signed
type language
['Francis Patrick Dwyer', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:Francis_Patrick_Dwyer property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16013765
Q34770
USER
And how about Henry Usborne?
(Q16013765,P1412,c(Q34770))
action filter_type
action find
entity Q16013765
relation P1412
type Q34770
['Q16013765', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q16013765 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Henry Usborne
action filter_type
action find
entity Henry Usborne
relation languages spoken, written or signed
type language
['Henry Usborne', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Henry_Usborne property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q16013765,P1412,c(Q34770))
action filter_type
action find
entity Q16013765
relation P1412
type Q34770
[ANSWER]
['Q16013765', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q16013765 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Henry Usborne
relation languages spoken, written or signed
type language
['Henry Usborne', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Henry_Usborne property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q25591835 Q5329170
P361
Q5962346
USER
Is that language a component of bug and Anglo-Frisian languages ?
(Q1860,P361,Q25591835) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q25591835
relation P361
action find_reverse
entity Q5329170
relation P361
['Q1860', 'P361', 'Q25591835'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q25591835 . resource:Q1860 property:P361 resource:Q5329170 }
English bug Anglo-Frisian languages
action is_in
entity English
action intersection
action find_reverse
entity bug
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'bug'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:bug . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q1860,P361,Q25591835) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q25591835
relation P361
action find_reverse
entity Q5329170
relation P361
[ANSWER]
['Q1860', 'P361', 'Q25591835'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q25591835 . resource:Q1860 property:P361 resource:Q5329170 }
NO and YES respectively
action is_in
entity English
action intersection
action find_reverse
entity bug
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'bug'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:bug . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5482144 Q4126143 Q1645852
P27
Q1048835
USER
Is Francis Patrick Dwyer a citizen of Voskresenka and Fanzara ?
(Q5482144,P27,Q4126143) (Q5482144,P27,Q1645852)
action is_in
entity Q5482144
action intersection
action find_reverse
entity Q4126143
relation P27
action find_reverse
entity Q1645852
relation P27
['Q5482144', 'P27', 'Q4126143'] ['Q5482144', 'P27', 'Q1645852']
ASK WHERE { resource:Q5482144 property:P27 resource:Q4126143 . resource:Q5482144 property:P27 resource:Q1645852 }
Francis Patrick Dwyer Voskresenka Fanzara
action is_in
entity Francis Patrick Dwyer
action intersection
action find_reverse
entity Voskresenka
relation country of citizenship
action find_reverse
entity Fanzara
relation country of citizenship
['Francis Patrick Dwyer', 'country of citizenship', 'Voskresenka'] ['Francis Patrick Dwyer', 'country of citizenship', 'Fanzara']
ASK WHERE { resource:Francis_Patrick_Dwyer property:country_of_citizenship resource:Voskresenka . resource:Francis_Patrick_Dwyer property:country_of_citizenship resource:Fanzara }
[]
political territorial entity
SYSTEM
NO
(Q5482144,P27,Q4126143) (Q5482144,P27,Q1645852)
action is_in
entity Q5482144
action intersection
action find_reverse
entity Q4126143
relation P27
action find_reverse
entity Q1645852
relation P27
[ANSWER]
['Q5482144', 'P27', 'Q4126143'] ['Q5482144', 'P27', 'Q1645852']
ASK WHERE { resource:Q5482144 property:P27 resource:Q4126143 . resource:Q5482144 property:P27 resource:Q1645852 }
No
action is_in
entity Francis Patrick Dwyer
action intersection
action find_reverse
entity Voskresenka
relation country of citizenship
action find_reverse
entity Fanzara
relation country of citizenship
['Francis Patrick Dwyer', 'country of citizenship', 'Voskresenka'] ['Francis Patrick Dwyer', 'country of citizenship', 'Fanzara']
ASK WHERE { resource:Francis_Patrick_Dwyer property:country_of_citizenship resource:Voskresenka . resource:Francis_Patrick_Dwyer property:country_of_citizenship resource:Fanzara }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1860 Q5329170
P361
Q5962346
USER
Is English a component of Anglo-Frisian languages ?
(Q1860,P361,Q5329170)
action is_in
entity Q5329170
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 }
English Anglo-Frisian languages
action is_in
entity Anglo-Frisian languages
action find
entity English
relation part of
['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages }
[]
classification scheme
SYSTEM
YES
(Q1860,P361,Q5329170)
action is_in
entity Q5329170
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 }
Yes
action is_in
entity Anglo-Frisian languages
action find
entity English
relation part of
['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q1048835
USER
How many political territories are known to have atleast 1 language as their official language ?
(c(Q1048835),P37,c(Q34770))
action count
action atleast
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?w ) WHERE { ?o property:P37 ?y . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q34770 } GROUP BY ?o } . FILTER ( ?w >= 1 ) }
action count
action atleast
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?w ) WHERE { ?o property:official_language ?y . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:language } GROUP BY ?o } . FILTER ( ?w >= 1 ) }
[]
language political territorial entity
SYSTEM
41
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 count
action atleast
action find_tuple_counts
relation P37
type Q1048835
type Q34770
value 1
[ANSWER]
[{'concept': 'Q1048835'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?w ) WHERE { ?o property:P37 ?y . ?o rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q34770 } GROUP BY ?o } . FILTER ( ?w >= 1 ) }
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
41
action count
action atleast
action find_tuple_counts
relation official language
type political territorial entity
type language
value 1
[{'concept': 'political territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?w ) WHERE { ?o property:official_language ?y . ?o rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:language } GROUP BY ?o } . FILTER ( ?w >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q2001982 Q34770
USER
How many languages are atmost 2 alphabets or notations the writing system of ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?i rdf:type ?x } GROUP BY ?m } . FILTER ( ?b <= 2 ) }
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:notation ) ( ontology:alphabet ) } . ?i rdf:type ?x } GROUP BY ?m } . FILTER ( ?b <= 2 ) }
[]
alphabet notation language
SYSTEM
58
Q7102906 Q182695 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q13211 Q36741 Q35499 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?i rdf:type ?x } GROUP BY ?m } . FILTER ( ?b <= 2 ) }
Orizaba Nahuatl Late Old Japanese Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Ruthenian Polabian Old Church Slavonic Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Church Slavonic Traditional Chinese Serbian written in Cyrillic Slavoserbian Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
58
action count
action atmost
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?b ) WHERE { VALUES ( ?x ) { ( ontology:notation ) ( ontology:alphabet ) } . ?i rdf:type ?x } GROUP BY ?m } . FILTER ( ?b <= 2 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q51592
P282
Q8192 Q34770
USER
Which writing systems are the writing systems used for greater number of languages than Batak alphabet ?
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q51592
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?e ) WHERE { ?u rdf:type ontology:Q8192 . ?j rdf:type ontology:Q34770 . ?j property:P282 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q51592 property:P282 ?f . ?f rdf:type ontology:Q8192 } } . FILTER ( ?e > ?w ) }
Batak alphabet
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Batak alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?e ) WHERE { ?u rdf:type ontology:writing_system . ?j rdf:type ontology:language . ?j property:writing_system ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Batak_alphabet property:writing_system ?f . ?f rdf:type ontology:writing_system } } . FILTER ( ?e > ?w ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q51592
relation P282
type Q8192
[ANSWERS] are the writing systems used for greater number of languages than Batak alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?e ) WHERE { ?u rdf:type ontology:Q8192 . ?j rdf:type ontology:Q34770 . ?j property:P282 ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q51592 property:P282 ?f . ?f rdf:type ontology:Q8192 } } . FILTER ( ?e > ?w ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are the writing systems used for greater number of languages than Batak alphabet
katakana Linear A hiragana
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Batak alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?j ) AS ?e ) WHERE { ?u rdf:type ontology:writing_system . ?j rdf:type ontology:language . ?j property:writing_system ?u } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Batak_alphabet property:writing_system ?f . ?f rdf:type ontology:writing_system } } . FILTER ( ?e > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2274646
P282
Q8192 Q34770
USER
And what about Inuktitut syllabics?
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q2274646
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P282 ?v . ?v rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q2274646 property:P282 ?t . ?t rdf:type ontology:Q8192 } } . FILTER ( ?y > ?g ) }
Inuktitut syllabics
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Inuktitut syllabics
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:writing_system ?v . ?v rdf:type ontology:writing_system . ?n rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Inuktitut_syllabics property:writing_system ?t . ?t rdf:type ontology:writing_system } } . FILTER ( ?y > ?g ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q2274646
relation P282
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:P282 ?v . ?v rdf:type ontology:Q8192 . ?n rdf:type ontology:Q34770 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Q2274646 property:P282 ?t . ?t rdf:type ontology:Q8192 } } . FILTER ( ?y > ?g ) }
katakana Linear A hiragana
katakana Linear A hiragana
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Inuktitut syllabics
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?y ) WHERE { ?n property:writing_system ?v . ?v rdf:type ontology:writing_system . ?n rdf:type ontology:language } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { resource:Inuktitut_syllabics property:writing_system ?t . ?t rdf:type ontology:writing_system } } . FILTER ( ?y > ?g ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q82946 Q30972 Q48332
P282
Q34770
USER
Which languages utilizes katakana, Linear A and hiragana as the writing system ?
(c(Q34770),P282,Q82946) (c(Q34770),P282,Q30972) (c(Q34770),P282,Q48332)
action union
action filter_type
action find_reverse
entity Q82946
relation P282
type Q34770
action filter_type
action find_reverse
entity Q30972
relation P282
type Q34770
action filter_type
action find_reverse
entity Q48332
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q82946'] [{'concept': 'Q34770'}, 'P282', 'Q30972'] [{'concept': 'Q34770'}, 'P282', 'Q48332']
SELECT DISTINCT ?a WHERE { VALUES ( ?n ) { ( resource:Q30972 ) ( resource:Q82946 ) } . ?a property:P282 ?n }
katakana Linear A hiragana
action union
action filter_type
action find_reverse
entity katakana
relation writing system
type language
action filter_type
action find_reverse
entity Linear A
relation writing system
type language
action filter_type
action find_reverse
entity hiragana
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'katakana'] [{'concept': 'language'}, 'writing system', 'Linear A'] [{'concept': 'language'}, 'writing system', 'hiragana']
SELECT DISTINCT ?a WHERE { VALUES ( ?n ) { ( resource:Linear_A ) ( resource:katakana ) } . ?a property:writing_system ?n }
[]
language
Q182695 Q1669994 Q182695
SYSTEM
Late Old Japanese for 1st, 3rd, Minoan language for 2nd
Q182695 Q1669994 Q182695
(c(Q34770),P282,Q82946) (c(Q34770),P282,Q30972) (c(Q34770),P282,Q48332)
action union
action filter_type
action find_reverse
entity Q82946
relation P282
type Q34770
action filter_type
action find_reverse
entity Q30972
relation P282
type Q34770
action filter_type
action find_reverse
entity Q48332
relation P282
type Q34770
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', 'Q82946'] [{'concept': 'Q34770'}, 'P282', 'Q30972'] [{'concept': 'Q34770'}, 'P282', 'Q48332']
SELECT DISTINCT ?a WHERE { VALUES ( ?n ) { ( resource:Q30972 ) ( resource:Q82946 ) } . ?a property:P282 ?n }
Late Old Japanese Minoan language Late Old Japanese
Late Old Japanese, Minoan language and Late Old Japanese utilize katakana, Linear A and hiragana as the writing system
Late Old Japanese Minoan language Late Old Japanese
action union
action filter_type
action find_reverse
entity katakana
relation writing system
type language
action filter_type
action find_reverse
entity Linear A
relation writing system
type language
action filter_type
action find_reverse
entity hiragana
relation writing system
type language
[{'concept': 'language'}, 'writing system', 'katakana'] [{'concept': 'language'}, 'writing system', 'Linear A'] [{'concept': 'language'}, 'writing system', 'hiragana']
SELECT DISTINCT ?a WHERE { VALUES ( ?n ) { ( resource:Linear_A ) ( resource:katakana ) } . ?a property:writing_system ?n }
[]
Clarification
Simple Question|Single Entity|Indirect
Q182695
P364
Q234460
USER
Which text is known to be originally created in that one language ?
(c(Q234460),P364,Q182695)
action filter_type
action find_reverse
entity Q182695
relation P364
type Q234460
[{'concept': 'Q234460'}, 'P364', 'Q182695']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q234460 . ?m property:P364 resource:Q182695 }
Late Old Japanese
action filter_type
action find_reverse
entity Late Old Japanese
relation original language of work
type text
[{'concept': 'text'}, 'original language of work', 'Late Old Japanese']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:text . ?m property:original_language_of_work resource:Late_Old_Japanese }
[]
text
Clarification for simple ques.
Q182695
SYSTEM
Did you mean Late Old Japanese ?
Q182695 Q1669994 Q182695
(c(Q234460),P364,Q182695) (c(Q234460),P364,Q1669994) (c(Q234460),P364,Q182695)
[ANSWER]
[{'concept': 'Q234460'}, 'P364', 'Q182695'] [{'concept': 'Q234460'}, 'P364', 'Q1669994'] [{'concept': 'Q234460'}, 'P364', 'Q182695']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q234460 . ?m property:P364 resource:Q182695 }
Late Old Japanese Minoan language Late Old Japanese
Did you mean Late Old Japanese ?
Late Old Japanese
[{'concept': 'text'}, 'original language of work', 'Late Old Japanese'] [{'concept': 'text'}, 'original language of work', 'Minoan language'] [{'concept': 'text'}, 'original language of work', 'Late Old Japanese']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:text . ?m property:original_language_of_work resource:Late_Old_Japanese }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q234460),P364,Q182695)
[{'concept': 'Q234460'}, 'P364', 'Q182695']
[{'concept': 'text'}, 'original language of work', 'Late Old Japanese']
[]
Q8269
SYSTEM
The Tale of Genji
Q8269
(c(Q234460),P364,Q182695)
action filter_type
action find_reverse
entity Q182695
relation P364
type Q234460
[ANSWER] is known to be originally created in that one language
[{'concept': 'Q234460'}, 'P364', 'Q182695']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q234460 . ?m property:P364 resource:Q182695 }
The Tale of Genji
The Tale of Genji is known to be originally created in that one language
The Tale of Genji
action filter_type
action find_reverse
entity Late Old Japanese
relation original language of work
type text
[{'concept': 'text'}, 'original language of work', 'Late Old Japanese']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:text . ?m property:original_language_of_work resource:Late_Old_Japanese }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8269
P364
Q34770
USER
Which language was used originally for the creation of that text ?
(Q8269,P364,c(Q34770))
action filter_type
action find
entity Q8269
relation P364
type Q34770
['Q8269', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q8269 property:P364 ?r . ?r rdf:type ontology:Q34770 }
The Tale of Genji
action filter_type
action find
entity The Tale of Genji
relation original language of work
type language
['The Tale of Genji', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:The_Tale_of_Genji property:original_language_of_work ?r . ?r rdf:type ontology:language }
[]
language
Q182695
SYSTEM
Late Old Japanese
Q182695
(Q8269,P364,c(Q34770))
action filter_type
action find
entity Q8269
relation P364
type Q34770
[ANSWER] was used originally for the creation of that text
['Q8269', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q8269 property:P364 ?r . ?r rdf:type ontology:Q34770 }
Late Old Japanese
Late Old Japanese was used originally for the creation of that text
Late Old Japanese
action filter_type
action find
entity The Tale of Genji
relation original language of work
type language
['The Tale of Genji', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:The_Tale_of_Genji property:original_language_of_work ?r . ?r rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P282
Q8192 Q9779 Q34770
USER
Which languages use more number of writing systems or alphabets as the writing system than that language ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?i ) WHERE { { ?w rdf:type ontology:Q34770 . ?r rdf:type ontology:Q9779 . ?w property:P282 ?r } UNION { ?w rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 . ?w property:P282 ?r } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q182695 property:P282 ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?i > ?u ) }
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?i ) WHERE { { ?w rdf:type ontology:language . ?r rdf:type ontology:alphabet . ?w property:writing_system ?r } UNION { ?w rdf:type ontology:language . ?r rdf:type ontology:writing_system . ?w property:writing_system ?r } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Late_Old_Japanese property:writing_system ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?i > ?u ) }
[]
writing system alphabet language
SYSTEM
9
Q182695 Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q8192)|c(Q9779))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?i ) WHERE { { ?w rdf:type ontology:Q34770 . ?r rdf:type ontology:Q9779 . ?w property:P282 ?r } UNION { ?w rdf:type ontology:Q34770 . ?r rdf:type ontology:Q8192 . ?w property:P282 ?r } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Q182695 property:P282 ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?i > ?u ) }
Late Old Japanese Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
9
action greater
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?i ) WHERE { { ?w rdf:type ontology:language . ?r rdf:type ontology:alphabet . ?w property:writing_system ?r } UNION { ?w rdf:type ontology:language . ?r rdf:type ontology:writing_system . ?w property:writing_system ?r } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?u ) WHERE { resource:Late_Old_Japanese property:writing_system ?a . { ?a rdf:type ?v . VALUES ( ?v ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?i > ?u ) }
[]