Simple Question (Direct)
Simple Question
Q2735571
P1412
Q34770
USER
Which language does Juan Vicente de Güemes, 2nd Count of Revillagigedo speak in ?
(Q2735571,P1412,c(Q34770))
action filter_type
action find
entity Q2735571
relation P1412
type Q34770
['Q2735571', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q2735571 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Juan Vicente de Güemes, 2nd Count of Revillagigedo
action filter_type
action find
entity Juan Vicente de Güemes, 2nd Count of Revillagigedo
relation languages spoken, written or signed
type language
['Juan Vicente de Güemes, 2nd Count of Revillagigedo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Juan_Vicente_de_Güemes,_2nd_Count_of_Revillagigedo property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2735571,P1412,c(Q34770))
action filter_type
action find
entity Q2735571
relation P1412
type Q34770
Juan Vicente de Güemes , 2nd Count of Revillagigedo speaks in [ANSWER]
['Q2735571', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { resource:Q2735571 property:P1412 ?b . ?b rdf:type ontology:Q34770 }
Spanish
Juan Vicente de Güemes , 2nd Count of Revillagigedo speaks in Spanish
Spanish
action filter_type
action find
entity Juan Vicente de Güemes, 2nd Count of Revillagigedo
relation languages spoken, written or signed
type language
['Juan Vicente de Güemes, 2nd Count of Revillagigedo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { resource:Juan_Vicente_de_Güemes,_2nd_Count_of_Revillagigedo property:languages_spoken,_written_or_signed ?b . ?b rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2735571
P410
Q4189293
USER
Which title was the military rank held by Juan Vicente de Güemes, 2nd Count of Revillagigedo ?
(Q2735571,P410,c(Q4189293))
action filter_type
action find
entity Q2735571
relation P410
type Q4189293
['Q2735571', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4189293 . resource:Q2735571 property:P410 ?s }
Juan Vicente de Güemes, 2nd Count of Revillagigedo
action filter_type
action find
entity Juan Vicente de Güemes, 2nd Count of Revillagigedo
relation military rank
type title
['Juan Vicente de Güemes, 2nd Count of Revillagigedo', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:title . resource:Juan_Vicente_de_Güemes,_2nd_Count_of_Revillagigedo property:military_rank ?s }
[]
title
Q83460
SYSTEM
general officer
Q83460
(Q2735571,P410,c(Q4189293))
action filter_type
action find
entity Q2735571
relation P410
type Q4189293
The [ANSWER] was the military rank held by Juan Vicente de Güemes, 2nd Count of Revillagigedo
['Q2735571', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4189293 . resource:Q2735571 property:P410 ?s }
general officer
The general officer was the military rank held by Juan Vicente de Güemes, 2nd Count of Revillagigedo
general officer
action filter_type
action find
entity Juan Vicente de Güemes, 2nd Count of Revillagigedo
relation military rank
type title
['Juan Vicente de Güemes, 2nd Count of Revillagigedo', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:title . resource:Juan_Vicente_de_Güemes,_2nd_Count_of_Revillagigedo property:military_rank ?s }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5569160
Q4189293
USER
And also tell me about Glenn V. Davidson?
(Q5569160,P410,c(Q4189293))
action filter_type
action find
entity Q5569160
relation P410
type Q4189293
['Q5569160', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q5569160 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
Glenn V. Davidson
action filter_type
action find
entity Glenn V. Davidson
relation military rank
type title
['Glenn V. Davidson', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Glenn_V._Davidson property:military_rank ?i . ?i rdf:type ontology:title }
[]
title
Q214443
SYSTEM
vice admiral
Q214443
(Q5569160,P410,c(Q4189293))
action filter_type
action find
entity Q5569160
relation P410
type Q4189293
[ANSWER]
['Q5569160', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?i WHERE { resource:Q5569160 property:P410 ?i . ?i rdf:type ontology:Q4189293 }
vice admiral
vice admiral
action filter_type
action find
entity Glenn V. Davidson
relation military rank
type title
['Glenn V. Davidson', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?i WHERE { resource:Glenn_V._Davidson property:military_rank ?i . ?i rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5569160
P21
Q290
USER
Which sex does that person possess ?
(Q214443,P21,c(Q290))
action filter_type
action find
entity Q5569160
relation P21
type Q290
['Q214443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q5569160 property:P21 ?n . ?n rdf:type ontology:Q290 }
Glenn V. Davidson
action filter_type
action find
entity Glenn V. Davidson
relation gender
type sex
['vice admiral', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Glenn_V._Davidson property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q214443,P21,c(Q290))
action filter_type
action find
entity Q5569160
relation P21
type Q290
That person possesses a [ANSWER]
['Q214443', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q5569160 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Glenn V. Davidson
relation gender
type sex
['vice admiral', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Glenn_V._Davidson property:gender ?n . ?n rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q82799 Q7725634
USER
Which languages are approximately 29 names or literary works in ?
(c(Q82799)|c(Q7725634),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 29
[[{'concept': 'Q82799'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:Q82799 ) ( ontology:Q7725634 ) } } GROUP BY ?v } }
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 29
[[{'concept': 'name'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:name ) ( ontology:literary_work ) } } GROUP BY ?v } }
[]
language name literary work
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799)|c(Q7725634),P407,c(Q34770))
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 29
[ANSWERS] are approximately 29 names or literary works in
[[{'concept': 'Q82799'}, {'concept': 'Q7725634'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:Q82799 ) ( ontology:Q7725634 ) } } GROUP BY ?v } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are approximately 29 names or literary works in
Old Egyptian Old Church Slavonic Etruscan
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 29
[[{'concept': 'name'}, {'concept': 'literary work'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?x . VALUES ( ?x ) { ( ontology:name ) ( ontology:literary_work ) } } GROUP BY ?v } }
[]
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 ?x WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P282 ?x . ?x rdf:type ontology:Q8192 . ?m rdf:type ontology:Q34770 } GROUP BY ?x } }
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 ?x WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:writing_system ?x . ?x rdf:type ontology:writing_system . ?m rdf:type ontology:language } GROUP BY ?x } }
[]
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] are used as the alphabet set for exactly 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P282 ?x . ?x rdf:type ontology:Q8192 . ?m rdf:type ontology:Q34770 } GROUP BY ?x } }
katakana Linear A hiragana
Katakana, Linear A and hiragana are used as the alphabet set for exactly 1 language
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 ?x WHERE { FILTER ( ?e = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:writing_system ?x . ?x rdf:type ontology:writing_system . ?m rdf:type ontology:language } GROUP BY ?x } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
Which languages adopt atmost 1 alphabets and writing systems as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?r ) WHERE { { ?n property:P282 ?f . ?n rdf:type ontology:Q34770 . ?f rdf:type ontology:Q9779 } UNION { ?n property:P282 ?f . ?n rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 } } GROUP BY ?n } . FILTER ( ?r <= 1 ) }
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 writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?r ) WHERE { { ?n property:writing_system ?f . ?n rdf:type ontology:language . ?f rdf:type ontology:alphabet } UNION { ?n property:writing_system ?f . ?n rdf:type ontology:language . ?f rdf:type ontology:writing_system } } GROUP BY ?n } . FILTER ( ?r <= 1 ) }
[]
alphabet writing system language
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(Q9779)|c(Q8192))
action atmost
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWERS] adopt atmost 1 alphabets and writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?r ) WHERE { { ?n property:P282 ?f . ?n rdf:type ontology:Q34770 . ?f rdf:type ontology:Q9779 } UNION { ?n property:P282 ?f . ?n rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 } } GROUP BY ?n } . FILTER ( ?r <= 1 ) }
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 and Old Egyptian adopt atmost 1 alphabets and writing systems as the writing system
Avestan English Old Egyptian
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 writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?f ) AS ?r ) WHERE { { ?n property:writing_system ?f . ?n rdf:type ontology:language . ?f rdf:type ontology:alphabet } UNION { ?n property:writing_system ?f . ?n rdf:type ontology:language . ?f rdf:type ontology:writing_system } } GROUP BY ?n } . FILTER ( ?r <= 1 ) }
[]