Simple Question (Direct)
Simple Question
Q492124
P364
Q34770
USER
Which language was used originally for the creation of Murder Most Foul ?
(Q492124,P364,c(Q34770))
action filter_type
action find
entity Q492124
relation P364
type Q34770
['Q492124', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q492124 property:P364 ?u . ?u rdf:type ontology:Q34770 }
Murder Most Foul
action filter_type
action find
entity Murder Most Foul
relation original language of work
type language
['Murder Most Foul', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Murder_Most_Foul property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q492124,P364,c(Q34770))
action filter_type
action find
entity Q492124
relation P364
type Q34770
[ANSWER] was used originally for the creation of Murder Most Foul
['Q492124', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q492124 property:P364 ?u . ?u rdf:type ontology:Q34770 }
English
English was used originally for the creation of Murder Most Foul
English
action filter_type
action find
entity Murder Most Foul
relation original language of work
type language
['Murder Most Foul', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Murder_Most_Foul property:original_language_of_work ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P495
Q2031291
USER
Which releases originated in that language ?
(c(Q2031291),P495,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P495
type Q2031291
[{'concept': 'Q2031291'}, 'P495', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P495 resource:Q1860 . ?c rdf:type ontology:Q2031291 }
English
action filter_type
action find_reverse
entity English
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', 'English']
SELECT DISTINCT ?c WHERE { ?c property:country_of_origin resource:English . ?c rdf:type ontology:release }
[]
release
Q17544704 Q19852570
SYSTEM
Kära vinter, Marry Me, Or Not
Q17544704 Q19852570
(c(Q2031291),P495,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P495
type Q2031291
[ANSWERS]
[{'concept': 'Q2031291'}, 'P495', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P495 resource:Q1860 . ?c rdf:type ontology:Q2031291 }
Kära vinter Marry Me, Or Not
Kära vinter and Marry Me, Or Not originated in that language
Kära vinter Marry Me, Or Not
action filter_type
action find_reverse
entity English
relation country of origin
type release
[{'concept': 'release'}, 'country of origin', 'English']
SELECT DISTINCT ?c WHERE { ?c property:country_of_origin resource:English . ?c rdf:type ontology:release }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q8785
P364
Q34770 Q21114848 Q2342494
USER
How many languages are considered to be the original language of creation of greater number of magazine genres and collectables than Armenian ?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?r ) WHERE { { ?y rdf:type ontology:Q34770 . ?c rdf:type ontology:Q21114848 . ?c property:P364 ?y } UNION { ?c property:P364 ?y . ?y rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2342494 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P364 resource:Q8785 . { { ?z rdf:type ontology:Q21114848 } UNION { ?z rdf:type ontology:Q2342494 } } } } . FILTER ( ?r > ?n ) }
Armenian
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Armenian
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?r ) WHERE { { ?y rdf:type ontology:language . ?c rdf:type ontology:magazine_genre . ?c property:original_language_of_work ?y } UNION { ?c property:original_language_of_work ?y . ?y rdf:type ontology:language . ?c rdf:type ontology:collectable } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:original_language_of_work resource:Armenian . { { ?z rdf:type ontology:magazine_genre } UNION { ?z rdf:type ontology:collectable } } } } . FILTER ( ?r > ?n ) }
[]
language magazine genre collectable
SYSTEM
6
Q1860 Q1321 Q397 Q9056 Q37041 Q652
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P364
type Q21114848
type Q2342494
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?r ) WHERE { { ?y rdf:type ontology:Q34770 . ?c rdf:type ontology:Q21114848 . ?c property:P364 ?y } UNION { ?c property:P364 ?y . ?y rdf:type ontology:Q34770 . ?c rdf:type ontology:Q2342494 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:P364 resource:Q8785 . { { ?z rdf:type ontology:Q21114848 } UNION { ?z rdf:type ontology:Q2342494 } } } } . FILTER ( ?r > ?n ) }
English Spanish Latin Czech classical Chinese Italian
6
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Armenian
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?r ) WHERE { { ?y rdf:type ontology:language . ?c rdf:type ontology:magazine_genre . ?c property:original_language_of_work ?y } UNION { ?c property:original_language_of_work ?y . ?y rdf:type ontology:language . ?c rdf:type ontology:collectable } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { ?z property:original_language_of_work resource:Armenian . { { ?z rdf:type ontology:magazine_genre } UNION { ?z rdf:type ontology:collectable } } } } . FILTER ( ?r > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q10862919
P364
Q34770 Q21114848 Q2342494
USER
And how about Tibetan language?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q10862919
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?h rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { { ?f rdf:type ontology:Q21114848 } UNION { ?f rdf:type ontology:Q2342494 } } . ?f property:P364 resource:Q10862919 } } . FILTER ( ?t > ?j ) }
Tibetan language
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Tibetan language
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?h rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { { ?f rdf:type ontology:magazine_genre } UNION { ?f rdf:type ontology:collectable } } . ?f property:original_language_of_work resource:Tibetan_language } } . FILTER ( ?t > ?j ) }
[]
language magazine genre collectable
SYSTEM
17
Q13414913 Q1860 Q35499 Q8785 Q33251 Q18130932 Q1321 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q3110592 Q783605
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q10862919
relation P364
type Q21114848
type Q2342494
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?h rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { { ?f rdf:type ontology:Q21114848 } UNION { ?f rdf:type ontology:Q2342494 } } . ?f property:P364 resource:Q10862919 } } . FILTER ( ?t > ?j ) }
Simplified Chinese English Old Church Slavonic Armenian Church Slavonic Traditional Chinese Spanish Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk written Chinese Written vernacular Chinese
17
action count
action greater
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Tibetan language
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?h ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?h rdf:type ?y } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { { { ?f rdf:type ontology:magazine_genre } UNION { ?f rdf:type ontology:collectable } } . ?f property:original_language_of_work resource:Tibetan_language } } . FILTER ( ?t > ?j ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q2031291
USER
Which languages are min number of releases composed in ?
(c(Q2031291),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
[{'concept': 'Q2031291'}, 'P407', 'Q447117']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?m ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { ?g rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2031291 . ?w property:P407 ?g } GROUP BY ?g } } . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P407 ?y . ?r rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?u = ?m ) }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type release
[{'concept': 'release'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?m ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { ?g rdf:type ontology:language . ?w rdf:type ontology:release . ?w property:language_of_work_or_name ?g } GROUP BY ?g } } . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:language_of_work_or_name ?y . ?r rdf:type ontology:release . ?y rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?u = ?m ) }
[]
language release
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),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
Min number of releases are composed of [ANSWERS]
[{'concept': 'Q2031291'}, 'P407', 'Q447117']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?m ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { ?g rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2031291 . ?w property:P407 ?g } GROUP BY ?g } } . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:P407 ?y . ?r rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?u = ?m ) }
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
Min number of releases are composed of Old Egyptian, Old Church Slavonic and Etruscan
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type release
[{'concept': 'release'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( MIN ( ?k ) AS ?m ) { SELECT DISTINCT ?g ( COUNT ( ?w ) AS ?k ) WHERE { ?g rdf:type ontology:language . ?w rdf:type ontology:release . ?w property:language_of_work_or_name ?g } GROUP BY ?g } } . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?u ) WHERE { ?r property:language_of_work_or_name ?y . ?r rdf:type ontology:release . ?y rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?u = ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q9779 Q34770
USER
Which alphabets are the writing systems used for min number of languages ?
(c(Q34770),P282,Q83942)
action argmin
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q83942']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P282 ?v . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q9779 } GROUP BY ?v } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P282 ?i . ?i rdf:type ontology:Q9779 . ?p rdf:type ontology:Q34770 } GROUP BY ?i } } }
action argmin
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
[{'concept': 'language'}, 'writing system', 'Jawi alphabet']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:writing_system ?v . ?f rdf:type ontology:language . ?v rdf:type ontology:alphabet } GROUP BY ?v } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:writing_system ?i . ?i rdf:type ontology:alphabet . ?p rdf:type ontology:language } GROUP BY ?i } } }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q13405127 Q1937113 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,Q83942)
action argmin
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
[ANSWERS] are the writing systems used for min number of languages
[{'concept': 'Q34770'}, 'P282', 'Q83942']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:P282 ?v . ?f rdf:type ontology:Q34770 . ?v rdf:type ontology:Q9779 } GROUP BY ?v } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P282 ?i . ?i rdf:type ontology:Q9779 . ?p rdf:type ontology:Q34770 } GROUP BY ?i } } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Rusyn alphabet futhark Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet, Rusyn alphabet and Portuguese alphabet are the writing systems used for min number of languages
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action argmin
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
[{'concept': 'language'}, 'writing system', 'Jawi alphabet']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?e ) WHERE { ?f property:writing_system ?v . ?f rdf:type ontology:language . ?v rdf:type ontology:alphabet } GROUP BY ?v } . FILTER ( ?e = ?g ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?g ) { SELECT DISTINCT ?i ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:writing_system ?i . ?i rdf:type ontology:alphabet . ?p rdf:type ontology:language } GROUP BY ?i } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1860 Q10179
P407
Q7725634
USER
How many literary works use English and Zulu as language ?
(c(Q7725634),P407,Q1860) (c(Q7725634),P407,Q10179)
action count
action intersection
action filter_type
action find_reverse
entity Q1860
relation P407
type Q7725634
action filter_type
action find_reverse
entity Q10179
relation P407
type Q7725634
[{'concept': 'Q7725634'}, 'P407', 'Q1860'] [{'concept': 'Q7725634'}, 'P407', 'Q10179']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P407 resource:Q1860 . ?j rdf:type ontology:Q7725634 . ?j property:P407 resource:Q10179 . ?j rdf:type ontology:Q7725634 }
English Zulu
action count
action intersection
action filter_type
action find_reverse
entity English
relation language of work or name
type literary work
action filter_type
action find_reverse
entity Zulu
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'English'] [{'concept': 'literary work'}, 'language of work or name', 'Zulu']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:language_of_work_or_name resource:English . ?j rdf:type ontology:literary_work . ?j property:language_of_work_or_name resource:Zulu . ?j rdf:type ontology:literary_work }
[]
literary work
SYSTEM
2
Q2866642 Q109026
(c(Q7725634),P407,Q1860) (c(Q7725634),P407,Q10179)
action count
action intersection
action filter_type
action find_reverse
entity Q1860
relation P407
type Q7725634
action filter_type
action find_reverse
entity Q10179
relation P407
type Q7725634
[ANSWER]
[{'concept': 'Q7725634'}, 'P407', 'Q1860'] [{'concept': 'Q7725634'}, 'P407', 'Q10179']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:P407 resource:Q1860 . ?j rdf:type ontology:Q7725634 . ?j property:P407 resource:Q10179 . ?j rdf:type ontology:Q7725634 }
Asimbonanga Circle of Life
2
action count
action intersection
action filter_type
action find_reverse
entity English
relation language of work or name
type literary work
action filter_type
action find_reverse
entity Zulu
relation language of work or name
type literary work
[{'concept': 'literary work'}, 'language of work or name', 'English'] [{'concept': 'literary work'}, 'language of work or name', 'Zulu']
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { ?j property:language_of_work_or_name resource:English . ?j rdf:type ontology:literary_work . ?j property:language_of_work_or_name resource:Zulu . ?j rdf:type ontology:literary_work }
[]