Simple Question (Direct)
Simple Question
Q25350560
P734
Q82799
USER
Who has the surname Justine Keay ?
(Q25350560,P734,c(Q82799))
action filter_type
action find
entity Q25350560
relation P734
type Q82799
['Q25350560', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q25350560 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Justine Keay
action filter_type
action find
entity Justine Keay
relation family name
type name
['Justine Keay', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Justine_Keay property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q16871313
SYSTEM
Keay
Q16871313
(Q25350560,P734,c(Q82799))
action filter_type
action find
entity Q25350560
relation P734
type Q82799
[ANSWER] has the surname Justine [ANSWER]
['Q25350560', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q25350560 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Keay
Keay has the surname Justine Keay
Keay
action filter_type
action find
entity Justine Keay
relation family name
type name
['Justine Keay', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Justine_Keay property:family_name ?k . ?k rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are approximately 120 names composed in ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 120
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P407 ?p . ?p rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?p } . FILTER ( ?g = 120 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 120
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?p } . FILTER ( ?g = 120 ) }
[]
language name
Q1321 Q652
SYSTEM
Spanish, Italian
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 120
[ANSWERS] are approximately 120 names composed in
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P407 ?p . ?p rdf:type ontology:Q34770 . ?m rdf:type ontology:Q82799 } GROUP BY ?p } . FILTER ( ?g = 120 ) }
Spanish Italian
Spanish and Italian are approximately 120 names composed in
Spanish Italian
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 120
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:language_of_work_or_name ?p . ?p rdf:type ontology:language . ?m rdf:type ontology:name } GROUP BY ?p } . FILTER ( ?g = 120 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36795
P282
Q2001982 Q9779 Q34770
USER
Which languages adopt less number of notations or alphabets as the writing system than Tartessian ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q36795 property:P282 ?r . { { ?r rdf:type ontology:Q2001982 } UNION { ?r rdf:type ontology:Q9779 } } } } . FILTER ( ?f < ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?y property:P282 ?z . ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q2001982 } UNION { ?y property:P282 ?z . ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q9779 } } GROUP BY ?y } }
Tartessian
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Tartessian property:writing_system ?r . { { ?r rdf:type ontology:notation } UNION { ?r rdf:type ontology:alphabet } } } } . FILTER ( ?f < ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?y property:writing_system ?z . ?y rdf:type ontology:language . ?z rdf:type ontology:notation } UNION { ?y property:writing_system ?z . ?y rdf:type ontology:language . ?z rdf:type ontology:alphabet } } GROUP BY ?y } }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
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(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36795
relation P282
type Q2001982
type Q9779
[ANSWERS] adopt less number of notations or alphabets as the writing system than Tartessian
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Q36795 property:P282 ?r . { { ?r rdf:type ontology:Q2001982 } UNION { ?r rdf:type ontology:Q9779 } } } } . FILTER ( ?f < ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?y property:P282 ?z . ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q2001982 } UNION { ?y property:P282 ?z . ?y rdf:type ontology:Q34770 . ?z rdf:type ontology:Q9779 } } GROUP BY ?y } }
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
English, Old Egyptian and Norn adopt less number of notations or alphabets as the writing system than Tartessian
English Old Egyptian Norn
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Tartessian
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?b ) WHERE { resource:Tartessian property:writing_system ?r . { { ?r rdf:type ontology:notation } UNION { ?r rdf:type ontology:alphabet } } } } . FILTER ( ?f < ?b ) . { SELECT DISTINCT ?y ( COUNT ( ?z ) AS ?f ) WHERE { { ?y property:writing_system ?z . ?y rdf:type ontology:language . ?z rdf:type ontology:notation } UNION { ?y property:writing_system ?z . ?y rdf:type ontology:language . ?z rdf:type ontology:alphabet } } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2705672
P282
Q2001982 Q9779 Q34770
USER
And how about Paeonian language?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q2705672
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q2705672 property:P282 ?e . { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?e rdf:type ?z } } } . FILTER ( ?i < ?m ) }
Paeonian language
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Paeonian_language property:writing_system ?e . { VALUES ( ?z ) { ( ontology:notation ) ( ontology:alphabet ) } . ?e rdf:type ?z } } } . FILTER ( ?i < ?m ) }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
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(Q2001982)|c(Q9779))
action less
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q2705672
relation P282
type Q2001982
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Q2705672 property:P282 ?e . { VALUES ( ?z ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } . ?e rdf:type ?z } } } . FILTER ( ?i < ?m ) }
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
English Old Egyptian Norn
action less
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity Paeonian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?m ) WHERE { resource:Paeonian_language property:writing_system ?e . { VALUES ( ?z ) { ( ontology:notation ) ( ontology:alphabet ) } . ?e rdf:type ?z } } } . FILTER ( ?i < ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q34909
P364
Q34770 Q2342494 Q201658
USER
How many languages are considered to be the original language of creation of around the same number of collectables and film genres as Old Icelandic ?
(c(Q2342494)|c(Q201658),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q34909
relation P364
type Q2342494
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?s rdf:type ?g } GROUP BY ?c } . FILTER ( ?k = ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:P364 resource:Q34909 . { VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?d rdf:type ?f } } } }
Old Icelandic
action count
action approx
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 film genre
action count
action filter_multi_types
action find_reverse
entity Old Icelandic
relation original language of work
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?s rdf:type ?g } GROUP BY ?c } . FILTER ( ?k = ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:original_language_of_work resource:Old_Icelandic . { VALUES ( ?f ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?d rdf:type ?f } } } }
[]
language collectable film genre
SYSTEM
31
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q2342494)|c(Q201658),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q34909
relation P364
type Q2342494
type Q201658
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?s rdf:type ?g } GROUP BY ?c } . FILTER ( ?k = ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:P364 resource:Q34909 . { VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q201658 ) } . ?d rdf:type ?f } } } }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
31
action count
action approx
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 film genre
action count
action filter_multi_types
action find_reverse
entity Old Icelandic
relation original language of work
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { VALUES ( ?g ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?s rdf:type ?g } GROUP BY ?c } . FILTER ( ?k = ?q ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d property:original_language_of_work resource:Old_Icelandic . { VALUES ( ?f ) { ( ontology:collectable ) ( ontology:film_genre ) } . ?d rdf:type ?f } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q36765
P364
Q34770 Q2342494 Q201658
USER
And how about Demotic?
(c(Q2342494)|c(Q201658),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q36765
relation P364
type Q2342494
type Q201658
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { { ?y rdf:type ontology:Q2342494 } UNION { ?y rdf:type ontology:Q201658 } } . ?y property:P364 resource:Q36765 } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?s WHERE { { ?c property:P364 ?s . ?s rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2342494 } UNION { ?c property:P364 ?s . ?s rdf:type ontology:Q34770 . ?c rdf:type ontology:Q201658 } } GROUP BY ?s } }
Demotic
action count
action approx
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 film genre
action count
action filter_multi_types
action find_reverse
entity Demotic
relation original language of work
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { { ?y rdf:type ontology:collectable } UNION { ?y rdf:type ontology:film_genre } } . ?y property:original_language_of_work resource:Demotic } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?s WHERE { { ?c property:original_language_of_work ?s . ?s rdf:type ontology:language . ?c rdf:type ontology:collectable } UNION { ?c property:original_language_of_work ?s . ?s rdf:type ontology:language . ?c rdf:type ontology:film_genre } } GROUP BY ?s } }
[]
language collectable film genre
SYSTEM
31
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q2342494)|c(Q201658),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action find_reverse_tuple_counts
relation P364
type Q34770
type Q201658
action count
action filter_multi_types
action find_reverse
entity Q36765
relation P364
type Q2342494
type Q201658
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q201658'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { { ?y rdf:type ontology:Q2342494 } UNION { ?y rdf:type ontology:Q201658 } } . ?y property:P364 resource:Q36765 } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?s WHERE { { ?c property:P364 ?s . ?s rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2342494 } UNION { ?c property:P364 ?s . ?s rdf:type ontology:Q34770 . ?c rdf:type ontology:Q201658 } } GROUP BY ?s } }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
31
action count
action approx
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 film genre
action count
action filter_multi_types
action find_reverse
entity Demotic
relation original language of work
type collectable
type film genre
[[{'concept': 'collectable'}, {'concept': 'film genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { FILTER ( ?z = ?i ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?i ) WHERE { { { ?y rdf:type ontology:collectable } UNION { ?y rdf:type ontology:film_genre } } . ?y property:original_language_of_work resource:Demotic } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) ?s WHERE { { ?c property:original_language_of_work ?s . ?s rdf:type ontology:language . ?c rdf:type ontology:collectable } UNION { ?c property:original_language_of_work ?s . ?s rdf:type ontology:language . ?c rdf:type ontology:film_genre } } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25350560
P102
Q7210356
USER
Which political organization is Justine Keay a member of ?
(Q25350560,P102,c(Q7210356))
action filter_type
action find
entity Q25350560
relation P102
type Q7210356
['Q25350560', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q25350560 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Justine Keay
action filter_type
action find
entity Justine Keay
relation member of political party
type political organization
['Justine Keay', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Justine_Keay property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
political organization
Q216082
SYSTEM
Australian Labor Party
Q216082
(Q25350560,P102,c(Q7210356))
action filter_type
action find
entity Q25350560
relation P102
type Q7210356
Party [ANSWER] is Justine Keay a member of
['Q25350560', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?m WHERE { resource:Q25350560 property:P102 ?m . ?m rdf:type ontology:Q7210356 }
Australian Labor Party
Party Australian Labor Party is Justine Keay a member of
Australian Labor Party
action filter_type
action find
entity Justine Keay
relation member of political party
type political organization
['Justine Keay', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?m WHERE { resource:Justine_Keay property:member_of_political_party ?m . ?m rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2256591
Q7210356
USER
And what about Roger De Kinder?
(Q2256591,P102,c(Q7210356))
action filter_type
action find
entity Q2256591
relation P102
type Q7210356
['Q2256591', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q2256591 property:P102 ?j }
Roger De Kinder
action filter_type
action find
entity Roger De Kinder
relation member of political party
type political organization
['Roger De Kinder', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Roger_De_Kinder property:member_of_political_party ?j }
[]
political organization
Q2532509
SYSTEM
Belgian Socialist Party
Q2532509
(Q2256591,P102,c(Q7210356))
action filter_type
action find
entity Q2256591
relation P102
type Q7210356
[ANSWER]
['Q2256591', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7210356 . resource:Q2256591 property:P102 ?j }
Belgian Socialist Party
Belgian Socialist Party
action filter_type
action find
entity Roger De Kinder
relation member of political party
type political organization
['Roger De Kinder', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_organization . resource:Roger_De_Kinder property:member_of_political_party ?j }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2532509 Q31
P17
Q15617994
USER
Is that political organization located in Belgium ?
(Q2532509,P17,Q31)
action is_in
entity Q31
action find
entity Q2532509
relation P17
['Q2532509', 'P17', 'Q31']
ASK WHERE { resource:Q2532509 property:P17 resource:Q31 }
Belgian Socialist Party Belgium
action is_in
entity Belgium
action find
entity Belgian Socialist Party
relation country
['Belgian Socialist Party', 'country', 'Belgium']
ASK WHERE { resource:Belgian_Socialist_Party property:country resource:Belgium }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q2532509,P17,Q31)
action is_in
entity Q31
action find
entity Q2532509
relation P17
[ANSWER]
['Q2532509', 'P17', 'Q31']
ASK WHERE { resource:Q2532509 property:P17 resource:Q31 }
Yes
action is_in
entity Belgium
action find
entity Belgian Socialist Party
relation country
['Belgian Socialist Party', 'country', 'Belgium']
ASK WHERE { resource:Belgian_Socialist_Party property:country resource:Belgium }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q7725634 Q482994
USER
How many languages are the languages of work for atmost 412 literary works and albums ?
(c(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
value 412
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?m WHERE { { ?h property:P407 ?m . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q482994 } UNION { ?h property:P407 ?m . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q7725634 } } GROUP BY ?m } . FILTER ( ?t <= 412 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
value 412
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?m WHERE { { ?h property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?h rdf:type ontology:album } UNION { ?h property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?h rdf:type ontology:literary_work } } GROUP BY ?m } . FILTER ( ?t <= 412 ) }
[]
language literary work album
SYSTEM
28
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(Q7725634)|c(Q482994),P407,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
action find_reverse_tuple_counts
relation P407
type Q34770
type Q482994
value 412
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q482994'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?m WHERE { { ?h property:P407 ?m . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q482994 } UNION { ?h property:P407 ?m . ?m rdf:type ontology:Q34770 . ?h rdf:type ontology:Q7725634 } } GROUP BY ?m } . FILTER ( ?t <= 412 ) }
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
28
action count
action atmost
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
action find_reverse_tuple_counts
relation language of work or name
type language
type album
value 412
[[{'concept': 'literary work'}, {'concept': 'album'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) ?m WHERE { { ?h property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?h rdf:type ontology:album } UNION { ?h property:language_of_work_or_name ?m . ?m rdf:type ontology:language . ?h rdf:type ontology:literary_work } } GROUP BY ?m } . FILTER ( ?t <= 412 ) }
[]