Simple Question (Direct)
Simple Question
Q6255420
P1412
Q34770
USER
Which language can John Rogers read ?
(Q6255420,P1412,c(Q34770))
action filter_type
action find
entity Q6255420
relation P1412
type Q34770
['Q6255420', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q6255420 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
John Rogers
action filter_type
action find
entity John Rogers
relation languages spoken, written or signed
type language
['John Rogers', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:John_Rogers property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q6255420,P1412,c(Q34770))
action filter_type
action find
entity Q6255420
relation P1412
type Q34770
[ANSWER]
['Q6255420', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q6255420 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity John Rogers
relation languages spoken, written or signed
type language
['John Rogers', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:John_Rogers property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6255420
P39
Q12737077
USER
Which occupation was a position held by John Rogers ?
(Q6255420,P39,c(Q12737077))
action filter_type
action find
entity Q6255420
relation P39
type Q12737077
['Q6255420', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q6255420 property:P39 ?h }
John Rogers
action filter_type
action find
entity John Rogers
relation position held
type occupation
['John Rogers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:John_Rogers property:position_held ?h }
[]
occupation
Q17502533
SYSTEM
member of the Ohio House of Representatives
Q17502533
(Q6255420,P39,c(Q12737077))
action filter_type
action find
entity Q6255420
relation P39
type Q12737077
[ANSWER]
['Q6255420', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q6255420 property:P39 ?h }
member of the Ohio House of Representatives
member of the Ohio House of Representatives
action filter_type
action find
entity John Rogers
relation position held
type occupation
['John Rogers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:John_Rogers property:position_held ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6255420
P248
Q18608569
USER
Where is that person mentioned first ?
(Q17502533,P248,c(Q18608569))
action filter_type
action find
entity Q6255420
relation P248
type Q18608569
['Q17502533', 'P248', {'concept': 'Q18608569'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q18608569 . resource:Q6255420 property:P248 ?r }
John Rogers
action filter_type
action find
entity John Rogers
relation stated in
type lower house of U.S. state legislature
['member of the Ohio House of Representatives', 'stated in', {'concept': 'lower house of U.S. state legislature'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:lower_house_of_U.S._state_legislature . resource:John_Rogers property:stated_in ?r }
[]
lower house of U.S. state legislature
Q277228
SYSTEM
Ohio House of Representatives
Q277228
(Q17502533,P248,c(Q18608569))
action filter_type
action find
entity Q6255420
relation P248
type Q18608569
[ANSWER]
['Q17502533', 'P248', {'concept': 'Q18608569'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q18608569 . resource:Q6255420 property:P248 ?r }
Ohio House of Representatives
Ohio House of Representatives
action filter_type
action find
entity John Rogers
relation stated in
type lower house of U.S. state legislature
['member of the Ohio House of Representatives', 'stated in', {'concept': 'lower house of U.S. state legislature'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:lower_house_of_U.S._state_legislature . resource:John_Rogers property:stated_in ?r }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P37
Q34770 Q56061 Q13220204
USER
Which languages are recognized as the official language of max number of administrative territories and administrative country subdivisions ?
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P37 ?i . ?i rdf:type ontology:Q34770 . ?s rdf:type ontology:Q13220204 } UNION { ?i rdf:type ontology:Q34770 . ?s rdf:type ontology:Q56061 . ?s property:P37 ?i } } GROUP BY ?i } . FILTER ( ?x = ?l ) }
action argmax
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:official_language ?i . ?i rdf:type ontology:language . ?s rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?i rdf:type ontology:language . ?s rdf:type ontology:administrative_territorial_entity . ?s property:official_language ?i } } GROUP BY ?i } . FILTER ( ?x = ?l ) }
[]
language administrative territorial entity second-level administrative country subdivision
Q652
SYSTEM
Italian
Q652
(c(Q56061)|c(Q13220204),P37,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
[ANSWER]
[[{'concept': 'Q56061'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:Q56061 ) ( ontology:Q13220204 ) } } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P37 ?i . ?i rdf:type ontology:Q34770 . ?s rdf:type ontology:Q13220204 } UNION { ?i rdf:type ontology:Q34770 . ?s rdf:type ontology:Q56061 . ?s property:P37 ?i } } GROUP BY ?i } . FILTER ( ?x = ?l ) }
Italian
Italian
action argmax
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
[[{'concept': 'administrative territorial entity'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?t ) WHERE { ?w rdf:type ?m . VALUES ( ?m ) { ( ontology:administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } } GROUP BY ?g } } . { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:official_language ?i . ?i rdf:type ontology:language . ?s rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?i rdf:type ontology:language . ?s rdf:type ontology:administrative_territorial_entity . ?s property:official_language ?i } } GROUP BY ?i } . FILTER ( ?x = ?l ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q9779 Q34770
USER
How many alphabets are used as the alphabet set for atmost 3 languages ?
(c(Q34770),P282,c(Q9779))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 3
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v <= 3 ) . { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P282 ?i . ?i rdf:type ontology:Q9779 . ?h rdf:type ontology:Q34770 } GROUP BY ?i } }
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 3
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v <= 3 ) . { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:writing_system ?i . ?i rdf:type ontology:alphabet . ?h rdf:type ontology:language } GROUP BY ?i } }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action atmost
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
value 3
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v <= 3 ) . { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P282 ?i . ?i rdf:type ontology:Q9779 . ?h rdf:type ontology:Q34770 } GROUP BY ?i } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action atmost
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
value 3
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?b ) WHERE { FILTER ( ?v <= 3 ) . { SELECT DISTINCT ?i ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:writing_system ?i . ?i rdf:type ontology:alphabet . ?h rdf:type ontology:language } GROUP BY ?i } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are used as the alphabet set for exactly 1 language ?
(c(Q34770),P282,c(Q8192))
action equal
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P282 ?v . ?v rdf:type ontology:Q8192 . ?x rdf:type ontology:Q34770 } GROUP BY ?v } }
action equal
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:writing_system ?v . ?v rdf:type ontology:writing_system . ?x rdf:type ontology:language } GROUP BY ?v } }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action equal
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P282 ?v . ?v rdf:type ontology:Q8192 . ?x rdf:type ontology:Q34770 } GROUP BY ?v } }
katakana Linear A hiragana
katakana Linear A hiragana
action equal
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:writing_system ?v . ?v rdf:type ontology:writing_system . ?x rdf:type ontology:language } GROUP BY ?v } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q21161942
P282
Q9779 Q8192 Q34770
USER
Which languages adopt lesser number of alphabets and writing systems as the writing system than Serbian written in Cyrillic ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q21161942
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?d ) WHERE { { ?w property:P282 ?l . ?w rdf:type ontology:Q34770 . ?l rdf:type ontology:Q9779 } UNION { ?w property:P282 ?l . ?w rdf:type ontology:Q34770 . ?l rdf:type ontology:Q8192 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q21161942 property:P282 ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } . FILTER ( ?d < ?i ) }
Serbian written in Cyrillic
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Serbian written in Cyrillic
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?d ) WHERE { { ?w property:writing_system ?l . ?w rdf:type ontology:language . ?l rdf:type ontology:alphabet } UNION { ?w property:writing_system ?l . ?w rdf:type ontology:language . ?l rdf:type ontology:writing_system } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Serbian_written_in_Cyrillic property:writing_system ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } . FILTER ( ?d < ?i ) }
[]
alphabet writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 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 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q21161942
relation P282
type Q9779
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?d ) WHERE { { ?w property:P282 ?l . ?w rdf:type ontology:Q34770 . ?l rdf:type ontology:Q9779 } UNION { ?w property:P282 ?l . ?w rdf:type ontology:Q34770 . ?l rdf:type ontology:Q8192 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q21161942 property:P282 ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } } } } . FILTER ( ?d < ?i ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese 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 Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
Avestan English Old Egyptian
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Serbian written in Cyrillic
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?l ) AS ?d ) WHERE { { ?w property:writing_system ?l . ?w rdf:type ontology:language . ?l rdf:type ontology:alphabet } UNION { ?w property:writing_system ?l . ?w rdf:type ontology:language . ?l rdf:type ontology:writing_system } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Serbian_written_in_Cyrillic property:writing_system ?g . { ?g rdf:type ?x . VALUES ( ?x ) { ( ontology:alphabet ) ( ontology:writing_system ) } } } } . FILTER ( ?d < ?i ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q35499
P282
Q9779 Q8192 Q34770
USER
And also tell me about Old Church Slavonic?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q35499
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?r ) WHERE { { ?w property:P282 ?o . ?w rdf:type ontology:Q34770 . ?o rdf:type ontology:Q9779 } UNION { ?w rdf:type ontology:Q34770 . ?o rdf:type ontology:Q8192 . ?w property:P282 ?o } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:Q9779 } UNION { ?p rdf:type ontology:Q8192 } } . resource:Q35499 property:P282 ?p } } . FILTER ( ?r < ?e ) }
Old Church Slavonic
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Old Church Slavonic
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?r ) WHERE { { ?w property:writing_system ?o . ?w rdf:type ontology:language . ?o rdf:type ontology:alphabet } UNION { ?w rdf:type ontology:language . ?o rdf:type ontology:writing_system . ?w property:writing_system ?o } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:alphabet } UNION { ?p rdf:type ontology:writing_system } } . resource:Old_Church_Slavonic property:writing_system ?p } } . FILTER ( ?r < ?e ) }
[]
alphabet writing system language
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 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 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_multi_types
action find
entity Q35499
relation P282
type Q9779
type Q8192
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?r ) WHERE { { ?w property:P282 ?o . ?w rdf:type ontology:Q34770 . ?o rdf:type ontology:Q9779 } UNION { ?w rdf:type ontology:Q34770 . ?o rdf:type ontology:Q8192 . ?w property:P282 ?o } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:Q9779 } UNION { ?p rdf:type ontology:Q8192 } } . resource:Q35499 property:P282 ?p } } . FILTER ( ?r < ?e ) }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese 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 Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
Avestan English Old Egyptian
action less
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_multi_types
action find
entity Old Church Slavonic
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?r ) WHERE { { ?w property:writing_system ?o . ?w rdf:type ontology:language . ?o rdf:type ontology:alphabet } UNION { ?w rdf:type ontology:language . ?o rdf:type ontology:writing_system . ?w property:writing_system ?o } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { { ?p rdf:type ontology:alphabet } UNION { ?p rdf:type ontology:writing_system } } . resource:Old_Church_Slavonic property:writing_system ?p } } . FILTER ( ?r < ?e ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
Which languages have writing system as less number of writing systems than that language ?
(c(Q34770),P282,c(Q8192))
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?z WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?z WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
writing system language
Comparative|More/Less|Single entity type|Clarification
Q29572
SYSTEM
Did you mean Avestan ?
(c(Q34770),P282,c(Q8192))
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?z WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Did you mean Avestan ?
Avestan
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?z WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Comparative Reasoning (All)
USER
No, I meant English. Could you tell me the answer for that?
(c(Q34770),P282,c(Q8192))
Q1860
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
[]
Q29572 Q1860 Q447117
SYSTEM
Avestan, English, Old Egyptian
Q7102906 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(Q8192))
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?z WHERE { ?z property:Q8192 ?y . ?z rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 }
Orizaba Nahuatl 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
Avestan English Old Egyptian
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?z WHERE { ?z property:writing_system ?y . ?z rdf:type ontology:language . ?y rdf:type ontology:writing_system }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P361
Q5962346
USER
Which classification schemes are English a portion of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { resource:Q1860 property:P361 ?w . ?w rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { resource:English property:part_of ?w . ?w rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS]
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { resource:Q1860 property:P361 ?w . ?w rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { resource:English property:part_of ?w . ?w rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P921
Q21114848
USER
Which magazine genre was mainly based on that language ?
(c(Q21114848),P921,Q1346342) (c(Q21114848),P921,Q5329170)
action filter_type
action find_reverse
entity Q1860
relation P921
type Q21114848
[{'concept': 'Q21114848'}, 'P921', 'Q1346342'] [{'concept': 'Q21114848'}, 'P921', 'Q5329170']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q1860 . ?f rdf:type ontology:Q21114848 }
English
action filter_type
action find_reverse
entity English
relation main subject
type magazine genre
[{'concept': 'magazine genre'}, 'main subject', 'Anglic languages'] [{'concept': 'magazine genre'}, 'main subject', 'Anglo-Frisian languages']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:English . ?f rdf:type ontology:magazine_genre }
[]
magazine genre
Q7050706
SYSTEM
Nordic Journal of English Studies
Q7050706
(c(Q21114848),P921,Q1346342) (c(Q21114848),P921,Q5329170)
action filter_type
action find_reverse
entity Q1860
relation P921
type Q21114848
[ANSWER]
[{'concept': 'Q21114848'}, 'P921', 'Q1346342'] [{'concept': 'Q21114848'}, 'P921', 'Q5329170']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q1860 . ?f rdf:type ontology:Q21114848 }
Nordic Journal of English Studies
Nordic Journal of English Studies
action filter_type
action find_reverse
entity English
relation main subject
type magazine genre
[{'concept': 'magazine genre'}, 'main subject', 'Anglic languages'] [{'concept': 'magazine genre'}, 'main subject', 'Anglo-Frisian languages']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:English . ?f rdf:type ontology:magazine_genre }
[]