Simple Question (Direct)
Simple Question
Q1506885
P102
Q7210356
USER
Which political organizations are George Ashmun a member of ?
(Q1506885,P102,c(Q7210356))
action filter_type
action find
entity Q1506885
relation P102
type Q7210356
['Q1506885', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q1506885 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
George Ashmun
action filter_type
action find
entity George Ashmun
relation member of political party
type political organization
['George Ashmun', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:George_Ashmun property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q42183 Q29468
SYSTEM
Whig Party, Republican Party
Q42183 Q29468
(Q1506885,P102,c(Q7210356))
action filter_type
action find
entity Q1506885
relation P102
type Q7210356
Party [ANSWERS] are George Ashmun a member of
['Q1506885', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q1506885 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Whig Party Republican Party
Party Whig Party and Republican Party are George Ashmun a member of
Whig Party Republican Party
action filter_type
action find
entity George Ashmun
relation member of political party
type political organization
['George Ashmun', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:George_Ashmun property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1506885
P1412
Q34770
USER
Which language does George Ashmun speak in ?
(Q1506885,P1412,c(Q34770))
action filter_type
action find
entity Q1506885
relation P1412
type Q34770
['Q1506885', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q1506885 property:P1412 ?c }
George Ashmun
action filter_type
action find
entity George Ashmun
relation languages spoken, written or signed
type language
['George Ashmun', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:George_Ashmun property:languages_spoken,_written_or_signed ?c }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1506885,P1412,c(Q34770))
action filter_type
action find
entity Q1506885
relation P1412
type Q34770
George Ashmun speaks the [ANSWER]
['Q1506885', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q34770 . resource:Q1506885 property:P1412 ?c }
English
George Ashmun speaks the English
English
action filter_type
action find
entity George Ashmun
relation languages spoken, written or signed
type language
['George Ashmun', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:language . resource:George_Ashmun property:languages_spoken,_written_or_signed ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a portion of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { resource:Q1860 property:P361 ?f . ?f 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 ?f WHERE { resource:English property:part_of ?f . ?f 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] are that language a portion of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a portion of
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 ?f WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1860
P361
Q34770
USER
Are English a component of those classification schemes ?
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { VALUES ( ?a ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . resource:Q1860 property:P361 ?a }
English
action is_in
entity prev_answer
action find
entity English
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { VALUES ( ?a ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . resource:English property:part_of ?a }
[]
language
SYSTEM
YES
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { VALUES ( ?a ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . resource:Q1860 property:P361 ?a }
Yes
action is_in
entity prev_answer
action find
entity English
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { VALUES ( ?a ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . resource:English property:part_of ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P264
Q2031291
USER
Which release has English as its recording sponsor ?
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P264 resource:Q1860 . ?c rdf:type ontology:Q2031291 }
English
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?c WHERE { ?c property:record_label resource:English . ?c rdf:type ontology:release }
[]
release
Q7281317
SYSTEM
Radiosurgery
Q7281317
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[ANSWER] has English as its recording sponsor
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P264 resource:Q1860 . ?c rdf:type ontology:Q2031291 }
Radiosurgery
Radiosurgery has English as its recording sponsor
Radiosurgery
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?c WHERE { ?c property:record_label resource:English . ?c rdf:type ontology:release }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29468
P462
Q1075
USER
Which color is Republican Party associated with ?
(Q29468,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
['Q29468', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?w WHERE { resource:Q29468 property:P462 ?w . ?w rdf:type ontology:Q1075 }
Republican Party
action filter_type
action find
entity Republican Party
relation color
type color
['Republican Party', 'color', {'concept': 'color'}]
SELECT DISTINCT ?w WHERE { resource:Republican_Party property:color ?w . ?w rdf:type ontology:color }
[]
color
Q3142
SYSTEM
red
Q3142
(Q29468,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
Republican Party is associated with [ANSWER]
['Q29468', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?w WHERE { resource:Q29468 property:P462 ?w . ?w rdf:type ontology:Q1075 }
red
Republican Party is associated with red
red
action filter_type
action find
entity Republican Party
relation color
type color
['Republican Party', 'color', {'concept': 'color'}]
SELECT DISTINCT ?w WHERE { resource:Republican_Party property:color ?w . ?w rdf:type ontology:color }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
Which languages adopt min number of writing systems and notations as the writing system ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action argmin
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?k WHERE { { ?k property:P282 ?y . ?k rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 } UNION { ?k property:P282 ?y . ?k rdf:type ontology:Q34770 . ?y rdf:type ontology:Q2001982 } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?c WHERE { VALUES ( ?h ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?d rdf:type ?h } GROUP BY ?c } . FILTER ( ?u = ?l ) }
action argmin
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?k WHERE { { ?k property:writing_system ?y . ?k rdf:type ontology:language . ?y rdf:type ontology:writing_system } UNION { ?k property:writing_system ?y . ?k rdf:type ontology:language . ?y rdf:type ontology:notation } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?c WHERE { VALUES ( ?h ) { ( ontology:writing_system ) ( ontology:notation ) } . ?d rdf:type ?h } GROUP BY ?c } . FILTER ( ?u = ?l ) }
[]
writing system notation language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q13211 Q36741 Q35499 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q33251 Q18130932 Q21161942 Q1639124 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q36464 Q837985 Q447117 Q7511561 Q652 Q33982
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action argmin
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
[ANSWERS] adopt min number of writing systems and notations as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?k WHERE { { ?k property:P282 ?y . ?k rdf:type ontology:Q34770 . ?y rdf:type ontology:Q8192 } UNION { ?k property:P282 ?y . ?k rdf:type ontology:Q34770 . ?y rdf:type ontology:Q2001982 } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?c WHERE { VALUES ( ?h ) { ( ontology:Q8192 ) ( ontology:Q2001982 ) } . ?d rdf:type ?h } GROUP BY ?c } . FILTER ( ?u = ?l ) }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Ruthenian Polabian Old Church Slavonic Hittite 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 Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Nivkh language Middle High German Old Egyptian Sierra Puebla Nahuatl Italian Low Prussian
English, Old Egyptian and Norn adopt min number of writing systems and notations as the writing system
English Old Egyptian Norn
action argmin
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) ?k WHERE { { ?k property:writing_system ?y . ?k rdf:type ontology:language . ?y rdf:type ontology:writing_system } UNION { ?k property:writing_system ?y . ?k rdf:type ontology:language . ?y rdf:type ontology:notation } } GROUP BY ?k } } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?c WHERE { VALUES ( ?h ) { ( ontology:writing_system ) ( ontology:notation ) } . ?d rdf:type ?h } GROUP BY ?c } . FILTER ( ?u = ?l ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q36708
P17
Q15617994
USER
Which administrative territory is that language a part of ?
(Q36708,P17,c(Q15617994))
action filter_type
action find
entity Q36708
relation P17
type Q15617994
['Q36708', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q36708 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Norn
action filter_type
action find
entity Norn
relation country
type designation for an administrative territorial entity
['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Norn property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q447117
SYSTEM
Did you mean Old Egyptian ?
Q1860 Q447117 Q36708
(Q1860,P17,c(Q15617994)) (Q447117,P17,c(Q15617994)) (Q36708,P17,c(Q15617994))
[ANSWER]
['Q1860', 'P17', {'concept': 'Q15617994'}] ['Q447117', 'P17', {'concept': 'Q15617994'}] ['Q36708', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q36708 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
English Old Egyptian Norn
Did you mean Old Egyptian ?
Old Egyptian
['English', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Old Egyptian', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Norn property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Norn. Could you tell me the answer for that?
(Q36708,P17,c(Q15617994))
Q36708
['Q36708', 'P17', {'concept': 'Q15617994'}]
['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q145
SYSTEM
United Kingdom
Q145
(Q36708,P17,c(Q15617994))
action filter_type
action find
entity Q36708
relation P17
type Q15617994
[ANSWER] is that language a part of
['Q36708', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q36708 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is that language a part of
United Kingdom
action filter_type
action find
entity Norn
relation country
type designation for an administrative territorial entity
['Norn', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Norn property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]