Simple Question (Direct)
Simple Question
Q73388
P641
Q349
USER
Which sport was Erwin Keller a part of ?
(Q73388,P641,c(Q349))
action filter_type
action find
entity Q73388
relation P641
type Q349
['Q73388', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q73388 property:P641 ?s }
Erwin Keller
action filter_type
action find
entity Erwin Keller
relation sport
type sport
['Erwin Keller', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Erwin_Keller property:sport ?s }
[]
sport
Q1455
SYSTEM
field hockey
Q1455
(Q73388,P641,c(Q349))
action filter_type
action find
entity Q73388
relation P641
type Q349
Which sport was Erwin Keller a part of
['Q73388', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . resource:Q73388 property:P641 ?s }
field hockey
Which sport was Erwin Keller a part of
field hockey
action filter_type
action find
entity Erwin Keller
relation sport
type sport
['Erwin Keller', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . resource:Erwin_Keller property:sport ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q73388
P734
Q82799
USER
Who has the surname that person ?
(Q1455,P734,c(Q82799))
action filter_type
action find
entity Q73388
relation P734
type Q82799
['Q1455', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q73388 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Erwin Keller
action filter_type
action find
entity Erwin Keller
relation family name
type name
['field hockey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Erwin_Keller property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q1738213
SYSTEM
Keller
Q1738213
(Q1455,P734,c(Q82799))
action filter_type
action find
entity Q73388
relation P734
type Q82799
[ANSWER] has the surname that person
['Q1455', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q73388 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Keller
Keller has the surname that person
Keller
action filter_type
action find
entity Erwin Keller
relation family name
type name
['field hockey', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:Erwin_Keller property:family_name ?i . ?i rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for min number of names ?
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P407 ?f . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q82799 . ?z rdf:type ontology:Q34770 . ?y property:P407 ?z } GROUP BY ?z } . FILTER ( ?e = ?q ) }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:name . ?z rdf:type ontology:language . ?y property:language_of_work_or_name ?z } GROUP BY ?z } . FILTER ( ?e = ?q ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWERS] are the languages of work for min number of names
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P407 ?f . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q82799 } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:Q82799 . ?z rdf:type ontology:Q34770 . ?y property:P407 ?z } GROUP BY ?z } . FILTER ( ?e = ?q ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for min number of names
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?q ) { SELECT DISTINCT ?f ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:language_of_work_or_name ?f . ?f rdf:type ontology:language . ?v rdf:type ontology:name } GROUP BY ?f } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ontology:name . ?z rdf:type ontology:language . ?y property:language_of_work_or_name ?z } GROUP BY ?z } . FILTER ( ?e = ?q ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q35726
P364
Q340169
USER
Which media has that one as its original language of creation ?
(c(Q340169),P364,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P364
type Q340169
[{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?p WHERE { ?p property:P364 resource:Q35726 . ?p rdf:type ontology:Q340169 }
Etruscan
action filter_type
action find_reverse
entity Etruscan
relation original language of work
type media
[{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?p WHERE { ?p property:original_language_of_work resource:Etruscan . ?p rdf:type ontology:media }
[]
media
Clarification for simple ques.
Q447117
SYSTEM
Did you mean Old Egyptian ?
Q447117 Q35499 Q35726
(c(Q340169),P364,Q447117) (c(Q340169),P364,Q35499) (c(Q340169),P364,Q35726)
[ANSWER]
[{'concept': 'Q340169'}, 'P364', 'Q447117'] [{'concept': 'Q340169'}, 'P364', 'Q35499'] [{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?p WHERE { ?p property:P364 resource:Q35726 . ?p rdf:type ontology:Q340169 }
Old Egyptian Old Church Slavonic Etruscan
Did you mean Old Egyptian ?
Old Egyptian
[{'concept': 'media'}, 'original language of work', 'Old Egyptian'] [{'concept': 'media'}, 'original language of work', 'Old Church Slavonic'] [{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?p WHERE { ?p property:original_language_of_work resource:Etruscan . ?p rdf:type ontology:media }
[]
Simple Question (Coreferenced)
USER
No, I meant Etruscan. Could you tell me the answer for that?
(c(Q340169),P364,Q35726)
Q35726
[{'concept': 'Q340169'}, 'P364', 'Q35726']
[{'concept': 'media'}, 'original language of work', 'Etruscan']
[]
Q1244474
SYSTEM
Tabula Cortonensis
Q1244474
(c(Q340169),P364,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P364
type Q340169
[ANSWER] has that one as its original language of creation
[{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?p WHERE { ?p property:P364 resource:Q35726 . ?p rdf:type ontology:Q340169 }
Tabula Cortonensis
Tabula Cortonensis has that one as its original language of creation
Tabula Cortonensis
action filter_type
action find_reverse
entity Etruscan
relation original language of work
type media
[{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?p WHERE { ?p property:original_language_of_work resource:Etruscan . ?p rdf:type ontology:media }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P37
Q34770 Q56061 Q1048835
USER
Which languages are considered to be the official language of min number of administrative territories or political territories ?
(c(Q56061)|c(Q1048835),P37,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
[[{'concept': 'Q56061'}, {'concept': 'Q1048835'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?t rdf:type ?v } GROUP BY ?y } } . FILTER ( ?j = ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } } GROUP BY ?w } }
action argmin
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 political territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?t rdf:type ?v } GROUP BY ?y } } . FILTER ( ?j = ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?w } }
[]
language administrative territorial entity political territorial entity
Q33251 Q8752 Q35499
SYSTEM
Church Slavonic, Basque, Old Church Slavonic
Q33251 Q13211 Q3110592 Q36206 Q8752 Q36880 Q33976 Q35499 Q25164
(c(Q56061)|c(Q1048835),P37,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
[ANSWERS] are considered to be the official language of min number of administrative territories or political territories
[[{'concept': 'Q56061'}, {'concept': 'Q1048835'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:Q56061 ) ( ontology:Q1048835 ) } . ?t rdf:type ?v } GROUP BY ?y } } . FILTER ( ?j = ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q56061 ) } } GROUP BY ?w } }
Church Slavonic Ruthenian written Chinese Lak Basque Bulgar language Sardinian language Old Church Slavonic Nynorsk
Church Slavonic, Basque and Old Church Slavonic are considered to be the official language of min number of administrative territories or political territories
Church Slavonic Basque Old Church Slavonic
action argmin
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 political territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'political territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?q ) { SELECT DISTINCT ?y ( COUNT ( ?t ) AS ?g ) WHERE { VALUES ( ?v ) { ( ontology:administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?t rdf:type ?v } GROUP BY ?y } } . FILTER ( ?j = ?q ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?j ) WHERE { ?f rdf:type ?k . VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?w } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q13211
P282
Q8192 Q9779 Q34770
USER
Which languages use lesser number of writing systems or alphabets as the writing system than Ruthenian ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action less
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 Q13211
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q13211 property:P282 ?q . { VALUES ( ?w ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?q rdf:type ?w } } } . FILTER ( ?r < ?o ) }
Ruthenian
action less
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 Ruthenian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:writing_system ) ( ontology:alphabet ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Ruthenian property:writing_system ?q . { VALUES ( ?w ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?q rdf:type ?w } } } . FILTER ( ?r < ?o ) }
[]
writing system alphabet 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(Q8192)|c(Q9779))
action less
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 Q13211
relation P282
type Q8192
type Q9779
[ANSWERS] use lesser number of writing systems or alphabets as the writing system than Ruthenian
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Q13211 property:P282 ?q . { VALUES ( ?w ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?q rdf:type ?w } } } . FILTER ( ?r < ?o ) }
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 and Old Egyptian use lesser number of writing systems or alphabets as the writing system than Ruthenian
Avestan English Old Egyptian
action less
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 Ruthenian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) ?l WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:writing_system ) ( ontology:alphabet ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { resource:Ruthenian property:writing_system ?q . { VALUES ( ?w ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?q rdf:type ?w } } } . FILTER ( ?r < ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1639124
P282
Q8192 Q9779 Q34770
USER
And how about Slavoserbian?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action less
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 Q1639124
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?v rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q1639124 property:P282 ?n . { VALUES ( ?a ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?n rdf:type ?a } } } . FILTER ( ?p < ?r ) }
Slavoserbian
action less
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 Slavoserbian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?v rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Slavoserbian property:writing_system ?n . { VALUES ( ?a ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?n rdf:type ?a } } } . FILTER ( ?p < ?r ) }
[]
writing system alphabet 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(Q8192)|c(Q9779))
action less
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 Q1639124
relation P282
type Q8192
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:Q9779 ) ( ontology:Q8192 ) } . ?v rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Q1639124 property:P282 ?n . { VALUES ( ?a ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } . ?n rdf:type ?a } } } . FILTER ( ?p < ?r ) }
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 writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Slavoserbian
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?p ) WHERE { VALUES ( ?b ) { ( ontology:alphabet ) ( ontology:writing_system ) } . ?v rdf:type ?b } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { resource:Slavoserbian property:writing_system ?n . { VALUES ( ?a ) { ( ontology:writing_system ) ( ontology:alphabet ) } . ?n rdf:type ?a } } } . FILTER ( ?p < ?r ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q447117
P1412
Q502895
USER
Who talks in that language ?
(c(Q502895),P1412,Q447117)
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q447117']
SELECT DISTINCT ?u WHERE { ?u property:P1412 resource:Q447117 . ?u rdf:type ontology:Q502895 }
Old Egyptian
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian']
SELECT DISTINCT ?u WHERE { ?u property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1860
SYSTEM
Did you mean English ?
Q29572 Q1860 Q447117
(c(Q502895),P1412,Q29572) (c(Q502895),P1412,Q1860) (c(Q502895),P1412,Q447117)
[ANSWER]
[{'concept': 'Q502895'}, 'P1412', 'Q29572'] [{'concept': 'Q502895'}, 'P1412', 'Q1860'] [{'concept': 'Q502895'}, 'P1412', 'Q447117']
SELECT DISTINCT ?u WHERE { ?u property:P1412 resource:Q447117 . ?u rdf:type ontology:Q502895 }
Avestan English Old Egyptian
Did you mean English ?
English
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Avestan'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'English'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian']
SELECT DISTINCT ?u WHERE { ?u property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Old Egyptian. Could you tell me the answer for that?
(c(Q502895),P1412,Q447117)
Q447117
[{'concept': 'Q502895'}, 'P1412', 'Q447117']
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian']
[]
Q1736643 Q1162154 Q15815525
SYSTEM
Katja Lembke, Daniel Polz, Hi
Q1736643 Q1162154 Q15815525
(c(Q502895),P1412,Q447117)
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
[ANSWERS] talk in that language
[{'concept': 'Q502895'}, 'P1412', 'Q447117']
SELECT DISTINCT ?u WHERE { ?u property:P1412 resource:Q447117 . ?u rdf:type ontology:Q502895 }
Katja Lembke Daniel Polz Hi
Katja Lembke, Daniel Polz and Hi talk in that language
Katja Lembke Daniel Polz Hi
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian']
SELECT DISTINCT ?u WHERE { ?u property:languages_spoken,_written_or_signed resource:Old_Egyptian . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1736643 Q1162154 Q15815525
P21
Q290
USER
Which sexes do Katja Lembke, Daniel Polz and Hi possess ?
(Q1736643,P21,c(Q290)) (Q1162154,P21,c(Q290)) (Q15815525,P21,c(Q290))
action union
action filter_type
action find
entity Q1736643
relation P21
type Q290
action filter_type
action find
entity Q1162154
relation P21
type Q290
action filter_type
action find
entity Q15815525
relation P21
type Q290
['Q1736643', 'P21', {'concept': 'Q290'}] ['Q1162154', 'P21', {'concept': 'Q290'}] ['Q15815525', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { { resource:Q1736643 property:P21 ?d . ?d rdf:type ontology:Q290 } UNION { resource:Q1162154 property:P21 ?d . ?d rdf:type ontology:Q290 } }
Katja Lembke Daniel Polz Hi
action union
action filter_type
action find
entity Katja Lembke
relation gender
type sex
action filter_type
action find
entity Daniel Polz
relation gender
type sex
action filter_type
action find
entity Hi
relation gender
type sex
['Katja Lembke', 'gender', {'concept': 'sex'}] ['Daniel Polz', 'gender', {'concept': 'sex'}] ['Hi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { { resource:Katja_Lembke property:gender ?d . ?d rdf:type ontology:sex } UNION { resource:Daniel_Polz property:gender ?d . ?d rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q1736643,P21,c(Q290)) (Q1162154,P21,c(Q290)) (Q15815525,P21,c(Q290))
action union
action filter_type
action find
entity Q1736643
relation P21
type Q290
action filter_type
action find
entity Q1162154
relation P21
type Q290
action filter_type
action find
entity Q15815525
relation P21
type Q290
[ANSWERS]
['Q1736643', 'P21', {'concept': 'Q290'}] ['Q1162154', 'P21', {'concept': 'Q290'}] ['Q15815525', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { { resource:Q1736643 property:P21 ?d . ?d rdf:type ontology:Q290 } UNION { resource:Q1162154 property:P21 ?d . ?d rdf:type ontology:Q290 } }
female male male
Female, male and male do Katja Lembke, Daniel Polz and Hi possess
female male male
action union
action filter_type
action find
entity Katja Lembke
relation gender
type sex
action filter_type
action find
entity Daniel Polz
relation gender
type sex
action filter_type
action find
entity Hi
relation gender
type sex
['Katja Lembke', 'gender', {'concept': 'sex'}] ['Daniel Polz', 'gender', {'concept': 'sex'}] ['Hi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { { resource:Katja_Lembke property:gender ?d . ?d rdf:type ontology:sex } UNION { resource:Daniel_Polz property:gender ?d . ?d rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as their type ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?u WHERE { ?u property:P136 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?u WHERE { ?u property:genre resource:male . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6581097
SYSTEM
Did you mean male ?
Q6581072 Q6581097 Q6581097
(c(Q502895),P136,Q6581072) (c(Q502895),P136,Q6581097) (c(Q502895),P136,Q6581097)
[ANSWER]
[{'concept': 'Q502895'}, 'P136', 'Q6581072'] [{'concept': 'Q502895'}, 'P136', 'Q6581097'] [{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?u WHERE { ?u property:P136 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
female male male
Did you mean male ?
male
[{'concept': 'common name'}, 'genre', 'female'] [{'concept': 'common name'}, 'genre', 'male'] [{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?u WHERE { ?u property:genre resource:male . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P136,Q6581097)
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
[{'concept': 'common name'}, 'genre', 'male']
[]
Q23766532 Q313288 Q18221191
SYSTEM
Pierre Laviron, Augustus Pugin, Alessandro Gregorio Capponi
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as their type
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?u WHERE { ?u property:P136 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Pierre Laviron, Augustus Pugin and Alessandro Gregorio Capponi have that sex as their type
Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?u WHERE { ?u property:genre resource:male . ?u rdf:type ontology:common_name }
[]