Simple Question (Direct)
Simple Question
Q5339752
P102
Q7210356
USER
Which party does Edmund Potter belong to ?
(Q5339752,P102,c(Q7210356))
action filter_type
action find
entity Q5339752
relation P102
type Q7210356
['Q5339752', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q5339752 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Edmund Potter
action filter_type
action find
entity Edmund Potter
relation member of political party
type political organization
['Edmund Potter', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Edmund_Potter property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q5339752,P102,c(Q7210356))
action filter_type
action find
entity Q5339752
relation P102
type Q7210356
Edmund Potter belongs to [ANSWER]
['Q5339752', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q5339752 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Liberal Party
Edmund Potter belongs to Liberal Party
Liberal Party
action filter_type
action find
entity Edmund Potter
relation member of political party
type political organization
['Edmund Potter', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Edmund_Potter property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5339752
P1412
Q34770
USER
Which language does Edmund Potter speak in ?
(Q5339752,P1412,c(Q34770))
action filter_type
action find
entity Q5339752
relation P1412
type Q34770
['Q5339752', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q5339752 property:P1412 ?w }
Edmund Potter
action filter_type
action find
entity Edmund Potter
relation languages spoken, written or signed
type language
['Edmund Potter', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:Edmund_Potter property:languages_spoken,_written_or_signed ?w }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5339752,P1412,c(Q34770))
action filter_type
action find
entity Q5339752
relation P1412
type Q34770
Edmund Potter speaks the [ANSWER]
['Q5339752', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q34770 . resource:Q5339752 property:P1412 ?w }
English
Edmund Potter speaks the English
English
action filter_type
action find
entity Edmund Potter
relation languages spoken, written or signed
type language
['Edmund Potter', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:language . resource:Edmund_Potter property:languages_spoken,_written_or_signed ?w }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5241484
Q34770
USER
And what about David del Puerto?
(Q5241484,P1412,c(Q34770))
action filter_type
action find
entity Q5241484
relation P1412
type Q34770
['Q5241484', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q5241484 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
David del Puerto
action filter_type
action find
entity David del Puerto
relation languages spoken, written or signed
type language
['David del Puerto', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:David_del_Puerto property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5241484,P1412,c(Q34770))
action filter_type
action find
entity Q5241484
relation P1412
type Q34770
[ANSWER]
['Q5241484', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q5241484 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Spanish
Spanish
action filter_type
action find
entity David del Puerto
relation languages spoken, written or signed
type language
['David del Puerto', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:David_del_Puerto property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q20051607
P1412
Q502895
USER
Does Melcior de Palau i Bonet used that language ?
(Q20051607,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q20051607
relation P1412
['Q20051607', 'P1412', 'Q1321']
ASK WHERE { resource:Q20051607 property:P1412 resource:Q1321 }
Spanish Melcior de Palau i Bonet
action is_in
entity Spanish
action find
entity Melcior de Palau i Bonet
relation languages spoken, written or signed
['Melcior de Palau i Bonet', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Melcior_de_Palau_i_Bonet property:languages_spoken,_written_or_signed resource:Spanish }
[]
common name
SYSTEM
YES
(Q20051607,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q20051607
relation P1412
[ANSWER]
['Q20051607', 'P1412', 'Q1321']
ASK WHERE { resource:Q20051607 property:P1412 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Melcior de Palau i Bonet
relation languages spoken, written or signed
['Melcior de Palau i Bonet', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Melcior_de_Palau_i_Bonet property:languages_spoken,_written_or_signed resource:Spanish }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5339752 Q6805589
P39
Q12737077
USER
Was media consultant a position for which Edmund Potter was appointed ?
(Q5339752,P39,Q6805589)
action is_in
entity Q6805589
action find
entity Q5339752
relation P39
['Q5339752', 'P39', 'Q6805589']
ASK WHERE { resource:Q5339752 property:P39 resource:Q6805589 }
Edmund Potter media consultant
action is_in
entity media consultant
action find
entity Edmund Potter
relation position held
['Edmund Potter', 'position held', 'media consultant']
ASK WHERE { resource:Edmund_Potter property:position_held resource:media_consultant }
[]
occupation
SYSTEM
NO
(Q5339752,P39,Q6805589)
action is_in
entity Q6805589
action find
entity Q5339752
relation P39
[ANSWER]
['Q5339752', 'P39', 'Q6805589']
ASK WHERE { resource:Q5339752 property:P39 resource:Q6805589 }
No
action is_in
entity media consultant
action find
entity Edmund Potter
relation position held
['Edmund Potter', 'position held', 'media consultant']
ASK WHERE { resource:Edmund_Potter property:position_held resource:media_consultant }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1860 Q2489344
P361
Q5962346
USER
Is English a part of Barito languages ?
(Q1860,P361,Q2489344)
action is_in
entity Q2489344
action find
entity Q1860
relation P361
['Q1860', 'P361', 'Q2489344']
ASK WHERE { resource:Q1860 property:P361 resource:Q2489344 }
English Barito languages
action is_in
entity Barito languages
action find
entity English
relation part of
['English', 'part of', 'Barito languages']
ASK WHERE { resource:English property:part_of resource:Barito_languages }
[]
classification scheme
SYSTEM
NO
(Q1860,P361,Q2489344)
action is_in
entity Q2489344
action find
entity Q1860
relation P361
[ANSWER]
['Q1860', 'P361', 'Q2489344']
ASK WHERE { resource:Q1860 property:P361 resource:Q2489344 }
No
action is_in
entity Barito languages
action find
entity English
relation part of
['English', 'part of', 'Barito languages']
ASK WHERE { resource:English property:part_of resource:Barito_languages }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P407
Q34770 Q2031291 Q482994
USER
Which languages are min number of releases and albums in ?
(c(Q2031291)|c(Q482994),P407,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
[[{'concept': 'Q2031291'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P407 ?j . ?j rdf:type ontology:Q34770 . ?z rdf:type ontology:Q2031291 } UNION { ?z property:P407 ?j . ?j rdf:type ontology:Q34770 . ?z rdf:type ontology:Q482994 } } GROUP BY ?j } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?w ) WHERE { { ?e property:P407 ?n . ?e rdf:type ontology:Q2031291 . ?n rdf:type ontology:Q34770 } UNION { ?e property:P407 ?n . ?n rdf:type ontology:Q34770 . ?e rdf:type ontology:Q482994 } } GROUP BY ?n } . FILTER ( ?w = ?i ) }
action argmin
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type album
[[{'concept': 'release'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?z rdf:type ontology:release } UNION { ?z property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?z rdf:type ontology:album } } GROUP BY ?j } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?w ) WHERE { { ?e property:language_of_work_or_name ?n . ?e rdf:type ontology:release . ?n rdf:type ontology:language } UNION { ?e property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?e rdf:type ontology:album } } GROUP BY ?n } . FILTER ( ?w = ?i ) }
[]
language release album
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291)|c(Q482994),P407,c(Q34770))
action argmin
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
[ANSWERS]
[[{'concept': 'Q2031291'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P407 ?j . ?j rdf:type ontology:Q34770 . ?z rdf:type ontology:Q2031291 } UNION { ?z property:P407 ?j . ?j rdf:type ontology:Q34770 . ?z rdf:type ontology:Q482994 } } GROUP BY ?j } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?w ) WHERE { { ?e property:P407 ?n . ?e rdf:type ontology:Q2031291 . ?n rdf:type ontology:Q34770 } UNION { ?e property:P407 ?n . ?n rdf:type ontology:Q34770 . ?e rdf:type ontology:Q482994 } } GROUP BY ?n } . FILTER ( ?w = ?i ) }
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 Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Which languages are min number of releases and albums in
Old Egyptian Old Church Slavonic Etruscan
action argmin
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type album
[[{'concept': 'release'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?x ) AS ?i ) { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?z rdf:type ontology:release } UNION { ?z property:language_of_work_or_name ?j . ?j rdf:type ontology:language . ?z rdf:type ontology:album } } GROUP BY ?j } } . { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?w ) WHERE { { ?e property:language_of_work_or_name ?n . ?e rdf:type ontology:release . ?n rdf:type ontology:language } UNION { ?e property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?e rdf:type ontology:album } } GROUP BY ?n } . FILTER ( ?w = ?i ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P364
Q34770 Q2342494 Q838948
USER
Which languages are considered to be the original language of creation of exactly 3 collectables and works of art ?
(c(Q2342494)|c(Q838948),P364,c(Q34770))
action equal
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
value 3
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2342494 . ?g property:P364 ?x } UNION { ?x rdf:type ontology:Q34770 . ?g rdf:type ontology:Q838948 . ?g property:P364 ?x } } GROUP BY ?x } . FILTER ( ?q = 3 ) }
action equal
action union
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
value 3
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:language . ?g rdf:type ontology:collectable . ?g property:original_language_of_work ?x } UNION { ?x rdf:type ontology:language . ?g rdf:type ontology:work_of_art . ?g property:original_language_of_work ?x } } GROUP BY ?x } . FILTER ( ?q = 3 ) }
[]
language collectable work of art
Q33251 Q25164
SYSTEM
Church Slavonic, Nynorsk
Q33251 Q25164
(c(Q2342494)|c(Q838948),P364,c(Q34770))
action equal
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
value 3
[ANSWERS] are considered to be the original language of creation of exactly 3 collectables and works of art
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:Q34770 . ?g rdf:type ontology:Q2342494 . ?g property:P364 ?x } UNION { ?x rdf:type ontology:Q34770 . ?g rdf:type ontology:Q838948 . ?g property:P364 ?x } } GROUP BY ?x } . FILTER ( ?q = 3 ) }
Church Slavonic Nynorsk
Church Slavonic and Nynorsk are considered to be the original language of creation of exactly 3 collectables and works of art
Church Slavonic Nynorsk
action equal
action union
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
value 3
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) ?x WHERE { { ?x rdf:type ontology:language . ?g rdf:type ontology:collectable . ?g property:original_language_of_work ?x } UNION { ?x rdf:type ontology:language . ?g rdf:type ontology:work_of_art . ?g property:original_language_of_work ?x } } GROUP BY ?x } . FILTER ( ?q = 3 ) }
[]