Simple Question (Direct)
Simple Question
Q4740220
P102
Q7210356
USER
Which party does Amaresh Misra belong to ?
(Q4740220,P102,c(Q7210356))
action filter_type
action find
entity Q4740220
relation P102
type Q7210356
['Q4740220', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q4740220 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Amaresh Misra
action filter_type
action find
entity Amaresh Misra
relation member of political party
type political organization
['Amaresh Misra', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Amaresh_Misra property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q10225
SYSTEM
Indian National Congress
Q10225
(Q4740220,P102,c(Q7210356))
action filter_type
action find
entity Q4740220
relation P102
type Q7210356
Amaresh Misra belongs to [ANSWER]
['Q4740220', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q4740220 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Indian National Congress
Amaresh Misra belongs to Indian National Congress
Indian National Congress
action filter_type
action find
entity Amaresh Misra
relation member of political party
type political organization
['Amaresh Misra', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Amaresh_Misra property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4740220
P1412
Q34770
USER
Which language can Amaresh Misra understand ?
(Q4740220,P1412,c(Q34770))
action filter_type
action find
entity Q4740220
relation P1412
type Q34770
['Q4740220', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q4740220 property:P1412 ?d }
Amaresh Misra
action filter_type
action find
entity Amaresh Misra
relation languages spoken, written or signed
type language
['Amaresh Misra', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Amaresh_Misra property:languages_spoken,_written_or_signed ?d }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4740220,P1412,c(Q34770))
action filter_type
action find
entity Q4740220
relation P1412
type Q34770
Amaresh Misra can understand [ANSWER]
['Q4740220', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q34770 . resource:Q4740220 property:P1412 ?d }
English
Amaresh Misra can understand English
English
action filter_type
action find
entity Amaresh Misra
relation languages spoken, written or signed
type language
['Amaresh Misra', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:language . resource:Amaresh_Misra property:languages_spoken,_written_or_signed ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4740220
P27
Q15617994
USER
Which administrative territory does Amaresh Misra belong to ?
(Q4740220,P27,c(Q15617994))
action filter_type
action find
entity Q4740220
relation P27
type Q15617994
['Q4740220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4740220 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Amaresh Misra
action filter_type
action find
entity Amaresh Misra
relation country of citizenship
type designation for an administrative territorial entity
['Amaresh Misra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Amaresh_Misra property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q4740220,P27,c(Q15617994))
action filter_type
action find
entity Q4740220
relation P27
type Q15617994
Amaresh Misra belongs to [ANSWER]
['Q4740220', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q4740220 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
India
Amaresh Misra belongs to India
India
action filter_type
action find
entity Amaresh Misra
relation country of citizenship
type designation for an administrative territorial entity
['Amaresh Misra', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Amaresh_Misra property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4740220
P106
Q12737077
USER
What are the professions of that person ?
(Q668,P106,c(Q12737077))
action filter_type
action find
entity Q4740220
relation P106
type Q12737077
['Q668', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4740220 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
Amaresh Misra
action filter_type
action find
entity Amaresh Misra
relation occupation
type occupation
['India', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Amaresh_Misra property:occupation ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q201788 Q82955
SYSTEM
historian, politician
Q201788 Q82955
(Q668,P106,c(Q12737077))
action filter_type
action find
entity Q4740220
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q668', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q4740220 property:P106 ?q . ?q rdf:type ontology:Q12737077 }
historian politician
The professions of that person are historian and politician
historian politician
action filter_type
action find
entity Amaresh Misra
relation occupation
type occupation
['India', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Amaresh_Misra property:occupation ?q . ?q rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q182695
P282
Q9779 Q2001982 Q34770
USER
How many languages utilizes lesser number of alphabets and notations as the writing system than Late Old Japanese ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?q rdf:type ?v } GROUP BY ?g } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q182695 property:P282 ?a . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } } } }
Late Old Japanese
action count
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 notation
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } . ?q rdf:type ?v } GROUP BY ?g } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Late_Old_Japanese property:writing_system ?a . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:alphabet ) ( ontology:notation ) } } } } }
[]
alphabet notation language
SYSTEM
43
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q182695
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?v ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?q rdf:type ?v } GROUP BY ?g } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q182695 property:P282 ?a . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } } } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese 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 Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
43
action count
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 notation
action count
action filter_multi_types
action find
entity Late Old Japanese
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?l ) WHERE { VALUES ( ?v ) { ( ontology:notation ) ( ontology:alphabet ) } . ?q rdf:type ?v } GROUP BY ?g } . FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Late_Old_Japanese property:writing_system ?a . { ?a rdf:type ?f . VALUES ( ?f ) { ( ontology:alphabet ) ( ontology:notation ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q20972034
P282
Q9779 Q2001982 Q34770
USER
And how about Classic Greek?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q20972034
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?c WHERE { { ?c rdf:type ontology:Q34770 . ?o rdf:type ontology:Q2001982 . ?c property:P282 ?o } UNION { ?c property:P282 ?o . ?c rdf:type ontology:Q34770 . ?o rdf:type ontology:Q9779 } } GROUP BY ?c } . FILTER ( ?d < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q20972034 property:P282 ?s . { { ?s rdf:type ontology:Q2001982 } UNION { ?s rdf:type ontology:Q9779 } } } } }
Classic Greek
action count
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 notation
action count
action filter_multi_types
action find
entity Classic Greek
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?c WHERE { { ?c rdf:type ontology:language . ?o rdf:type ontology:notation . ?c property:writing_system ?o } UNION { ?c property:writing_system ?o . ?c rdf:type ontology:language . ?o rdf:type ontology:alphabet } } GROUP BY ?c } . FILTER ( ?d < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Classic_Greek property:writing_system ?s . { { ?s rdf:type ontology:notation } UNION { ?s rdf:type ontology:alphabet } } } } }
[]
alphabet notation language
SYSTEM
43
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q20972034
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?c WHERE { { ?c rdf:type ontology:Q34770 . ?o rdf:type ontology:Q2001982 . ?c property:P282 ?o } UNION { ?c property:P282 ?o . ?c rdf:type ontology:Q34770 . ?o rdf:type ontology:Q9779 } } GROUP BY ?c } . FILTER ( ?d < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Q20972034 property:P282 ?s . { { ?s rdf:type ontology:Q2001982 } UNION { ?s rdf:type ontology:Q9779 } } } } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese 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 Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
43
action count
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 notation
action count
action filter_multi_types
action find
entity Classic Greek
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?c WHERE { { ?c rdf:type ontology:language . ?o rdf:type ontology:notation . ?c property:writing_system ?o } UNION { ?c property:writing_system ?o . ?c rdf:type ontology:language . ?o rdf:type ontology:alphabet } } GROUP BY ?c } . FILTER ( ?d < ?f ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { resource:Classic_Greek property:writing_system ?s . { { ?s rdf:type ontology:notation } UNION { ?s rdf:type ontology:alphabet } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10225
P127
Q732577
USER
Which publication belongs to Indian National Congress ?
(c(Q732577),P127,Q10225)
action filter_type
action find_reverse
entity Q10225
relation P127
type Q732577
[{'concept': 'Q732577'}, 'P127', 'Q10225']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q10225 . ?x rdf:type ontology:Q732577 }
Indian National Congress
action filter_type
action find_reverse
entity Indian National Congress
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Indian National Congress']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Indian_National_Congress . ?x rdf:type ontology:publication }
[]
publication
Q12436127
SYSTEM
The National Herald
Q12436127
(c(Q732577),P127,Q10225)
action filter_type
action find_reverse
entity Q10225
relation P127
type Q732577
[ANSWER] belongs to Indian National Congress
[{'concept': 'Q732577'}, 'P127', 'Q10225']
SELECT DISTINCT ?x WHERE { ?x property:P127 resource:Q10225 . ?x rdf:type ontology:Q732577 }
The National Herald
The National Herald belongs to Indian National Congress
The National Herald
action filter_type
action find_reverse
entity Indian National Congress
relation owned by
type publication
[{'concept': 'publication'}, 'owned by', 'Indian National Congress']
SELECT DISTINCT ?x WHERE { ?x property:owned_by resource:Indian_National_Congress . ?x rdf:type ontology:publication }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q10225
P39
Q502895
USER
Which person was appointed for the position of that political organization ?
(c(Q502895),P39,Q12436127)
action filter_type
action find_reverse
entity Q10225
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q12436127']
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q10225 . ?e rdf:type ontology:Q502895 }
Indian National Congress
action filter_type
action find_reverse
entity Indian National Congress
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'The National Herald']
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:Indian_National_Congress . ?e rdf:type ontology:common_name }
[]
common name
Q6167685
SYSTEM
Jayasudha
Q6167685
(c(Q502895),P39,Q12436127)
action filter_type
action find_reverse
entity Q10225
relation P39
type Q502895
[ANSWER] was appointed for the position of that political organization
[{'concept': 'Q502895'}, 'P39', 'Q12436127']
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q10225 . ?e rdf:type ontology:Q502895 }
Jayasudha
Jayasudha was appointed for the position of that political organization
Jayasudha
action filter_type
action find_reverse
entity Indian National Congress
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'The National Herald']
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:Indian_National_Congress . ?e rdf:type ontology:common_name }
[]