Simple Question (Direct)
Simple Question
Q292261
P21
Q290
USER
Which sex does Jennifer Batten have ?
(Q292261,P21,c(Q290))
action filter_type
action find
entity Q292261
relation P21
type Q290
['Q292261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q292261 property:P21 ?x . ?x rdf:type ontology:Q290 }
Jennifer Batten
action filter_type
action find
entity Jennifer Batten
relation gender
type sex
['Jennifer Batten', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Jennifer_Batten property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q292261,P21,c(Q290))
action filter_type
action find
entity Q292261
relation P21
type Q290
Jennifer Batten has a [ANSWER]
['Q292261', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q292261 property:P21 ?x . ?x rdf:type ontology:Q290 }
female
Jennifer Batten has a female
female
action filter_type
action find
entity Jennifer Batten
relation gender
type sex
['Jennifer Batten', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Jennifer_Batten property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q292261
P175
Q2031291
USER
Who delivered the performance of Jennifer Batten ?
(c(Q2031291),P175,Q292261)
action filter_type
action find_reverse
entity Q292261
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q292261']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2031291 . ?h property:P175 resource:Q292261 }
Jennifer Batten
action filter_type
action find_reverse
entity Jennifer Batten
relation performer
type release
[{'concept': 'release'}, 'performer', 'Jennifer Batten']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:release . ?h property:performer resource:Jennifer_Batten }
[]
release
Q6178108 Q7991708
SYSTEM
Jennifer Batten's Tribal Rage: Momentum, Whatever
Q6178108 Q7991708
(c(Q2031291),P175,Q292261)
action filter_type
action find_reverse
entity Q292261
relation P175
type Q2031291
[ANSWERS] delivered the performance of Jennifer Batten
[{'concept': 'Q2031291'}, 'P175', 'Q292261']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q2031291 . ?h property:P175 resource:Q292261 }
Jennifer Batten's Tribal Rage: Momentum Whatever
Jennifer Batten's Tribal Rage: Momentum and Whatever delivered the performance of Jennifer Batten
Jennifer Batten's Tribal Rage: Momentum Whatever
action filter_type
action find_reverse
entity Jennifer Batten
relation performer
type release
[{'concept': 'release'}, 'performer', 'Jennifer Batten']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:release . ?h property:performer resource:Jennifer_Batten }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6178108 Q7991708
P175
Q502895
USER
What did Jennifer Batten's Tribal Rage: Momentum and Whatever perform ?
(Q6178108,P175,c(Q502895)) (Q7991708,P175,c(Q502895))
action union
action filter_type
action find
entity Q6178108
relation P175
type Q502895
action filter_type
action find
entity Q7991708
relation P175
type Q502895
['Q6178108', 'P175', {'concept': 'Q502895'}] ['Q7991708', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q6178108 property:P175 ?t . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . resource:Q7991708 property:P175 ?t } }
Jennifer Batten's Tribal Rage: Momentum Whatever
action union
action filter_type
action find
entity Jennifer Batten's Tribal Rage: Momentum
relation performer
type common name
action filter_type
action find
entity Whatever
relation performer
type common name
["Jennifer Batten's Tribal Rage: Momentum", 'performer', {'concept': 'common name'}] ['Whatever', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Jennifer_Batten's_Tribal_Rage:_Momentum property:performer ?t . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . resource:Whatever property:performer ?t } }
[]
common name
Q292261 Q292261
SYSTEM
Jennifer Batten
Q292261 Q292261
(Q6178108,P175,c(Q502895)) (Q7991708,P175,c(Q502895))
action union
action filter_type
action find
entity Q6178108
relation P175
type Q502895
action filter_type
action find
entity Q7991708
relation P175
type Q502895
[ANSWER]'s Tribal Rage : Momentum and Whatever performed by [ANSWER] and [ANSWER]
['Q6178108', 'P175', {'concept': 'Q502895'}] ['Q7991708', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { resource:Q6178108 property:P175 ?t . ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q502895 . resource:Q7991708 property:P175 ?t } }
Jennifer Batten Jennifer Batten
Jennifer Batten's Tribal Rage : Momentum and Whatever performed by Jennifer Batten and Jennifer Batten
Jennifer Batten Jennifer Batten
action union
action filter_type
action find
entity Jennifer Batten's Tribal Rage: Momentum
relation performer
type common name
action filter_type
action find
entity Whatever
relation performer
type common name
["Jennifer Batten's Tribal Rage: Momentum", 'performer', {'concept': 'common name'}] ['Whatever', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { resource:Jennifer_Batten's_Tribal_Rage:_Momentum property:performer ?t . ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:common_name . resource:Whatever property:performer ?t } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q292261
P734
Q82799
USER
Who is associated with that person ?
(Q292261,P734,c(Q82799)) (Q292261,P734,c(Q82799))
action filter_type
action find
entity Q292261
relation P734
type Q82799
['Q292261', 'P734', {'concept': 'Q82799'}] ['Q292261', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q292261 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Jennifer Batten
action filter_type
action find
entity Jennifer Batten
relation family name
type name
['Jennifer Batten', 'family name', {'concept': 'name'}] ['Jennifer Batten', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Jennifer_Batten property:family_name ?r . ?r rdf:type ontology:name }
[]
name
Q16479503
SYSTEM
Batten
Q16479503
(Q292261,P734,c(Q82799)) (Q292261,P734,c(Q82799))
action filter_type
action find
entity Q292261
relation P734
type Q82799
[ANSWER] is associated with that person
['Q292261', 'P734', {'concept': 'Q82799'}] ['Q292261', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?r WHERE { resource:Q292261 property:P734 ?r . ?r rdf:type ontology:Q82799 }
Batten
Batten is associated with that person
Batten
action filter_type
action find
entity Jennifer Batten
relation family name
type name
['Jennifer Batten', 'family name', {'concept': 'name'}] ['Jennifer Batten', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?r WHERE { resource:Jennifer_Batten property:family_name ?r . ?r rdf:type ontology:name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q472634
P658
Q2031291 Q482994 Q2031291
USER
Which releases were contained in greater number of albums or releases than The Girl Is Mine ?
(c(Q482994)|c(Q2031291),P658,c(Q2031291))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q472634
relation P658
type Q482994
type Q2031291
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q2031291'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:P658 ?e . ?e rdf:type ontology:Q2031291 . ?v rdf:type ontology:Q482994 } UNION { ?v property:P658 ?e . ?e rdf:type ontology:Q2031291 . ?v rdf:type ontology:Q2031291 } } GROUP BY ?e } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P658 resource:Q472634 . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } } } } }
The Girl Is Mine
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type release
type album
action find_reverse_tuple_counts
relation tracklist
type release
type release
action count
action filter_multi_types
action find_reverse
entity The Girl Is Mine
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'release'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:tracklist ?e . ?e rdf:type ontology:release . ?v rdf:type ontology:album } UNION { ?v property:tracklist ?e . ?e rdf:type ontology:release . ?v rdf:type ontology:release } } GROUP BY ?e } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:tracklist resource:The_Girl_Is_Mine . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:album ) ( ontology:release ) } } } } }
[]
release album release
Q562067 Q210482 Q7472918
SYSTEM
Tell Me Your Wish (Genie), Come Together, Gee
Q562067 Q562299 Q7472918 Q210482
(c(Q482994)|c(Q2031291),P658,c(Q2031291))
action greater
action union
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P658
type Q2031291
type Q2031291
action count
action filter_multi_types
action find_reverse
entity Q472634
relation P658
type Q482994
type Q2031291
[ANSWERS] were contained in greater number of albums or releases than The Girl Is Mine
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P658', {'concept': 'Q2031291'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:P658 ?e . ?e rdf:type ontology:Q2031291 . ?v rdf:type ontology:Q482994 } UNION { ?v property:P658 ?e . ?e rdf:type ontology:Q2031291 . ?v rdf:type ontology:Q2031291 } } GROUP BY ?e } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:P658 resource:Q472634 . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } } } } }
Tell Me Your Wish (Genie) Run Devil Run Gee Come Together
Tell Me Your Wish (Genie), Come Together and Gee were contained in greater number of albums or releases than The Girl Is Mine
Tell Me Your Wish (Genie) Come Together Gee
action greater
action union
action find_reverse_tuple_counts
relation tracklist
type release
type album
action find_reverse_tuple_counts
relation tracklist
type release
type release
action count
action filter_multi_types
action find_reverse
entity The Girl Is Mine
relation tracklist
type album
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'tracklist', {'concept': 'release'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?v ) AS ?x ) WHERE { { ?v property:tracklist ?e . ?e rdf:type ontology:release . ?v rdf:type ontology:album } UNION { ?v property:tracklist ?e . ?e rdf:type ontology:release . ?v rdf:type ontology:release } } GROUP BY ?e } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { ?p property:tracklist resource:The_Girl_Is_Mine . { ?p rdf:type ?g . VALUES ( ?g ) { ( ontology:album ) ( ontology:release ) } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q2031291
USER
How many languages are atmost 1104 releases in ?
(c(Q2031291),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 1104
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?b <= 1104 ) . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:P407 ?p . ?j rdf:type ontology:Q2031291 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } }
action count
action atmost
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 1104
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?b <= 1104 ) . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:language_of_work_or_name ?p . ?j rdf:type ontology:release . ?p rdf:type ontology:language } GROUP BY ?p } }
[]
language release
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(Q2031291),P407,c(Q34770))
action count
action atmost
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 1104
[ANSWER]
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?b <= 1104 ) . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:P407 ?p . ?j rdf:type ontology:Q2031291 . ?p rdf:type ontology:Q34770 } GROUP BY ?p } }
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 find_reverse_tuple_counts
relation language of work or name
type language
type release
value 1104
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?x ) WHERE { FILTER ( ?b <= 1104 ) . { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?b ) WHERE { ?j property:language_of_work_or_name ?p . ?j rdf:type ontology:release . ?p rdf:type ontology:language } GROUP BY ?p } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q652
P407
Q34770 Q2031291
USER
Which languages are the languages of work for lesser number of releases than Italian ?
(c(Q2031291),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find_reverse
entity Q652
relation P407
type Q2031291
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { ?b rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2031291 . ?w property:P407 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P407 resource:Q652 . ?n rdf:type ontology:Q2031291 } } . FILTER ( ?g < ?s ) }
Italian
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find_reverse
entity Italian
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { ?b rdf:type ontology:language . ?w rdf:type ontology:release . ?w property:language_of_work_or_name ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:language_of_work_or_name resource:Italian . ?n rdf:type ontology:release } } . FILTER ( ?g < ?s ) }
[]
language release
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find_reverse
entity Q652
relation P407
type Q2031291
[ANSWERS] are the languages of work for lesser number of releases than Italian
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { ?b rdf:type ontology:Q34770 . ?w rdf:type ontology:Q2031291 . ?w property:P407 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:P407 resource:Q652 . ?n rdf:type ontology:Q2031291 } } . FILTER ( ?g < ?s ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are the languages of work for lesser number of releases than Italian
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find_reverse
entity Italian
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?g ) WHERE { ?b rdf:type ontology:language . ?w rdf:type ontology:release . ?w property:language_of_work_or_name ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { ?n property:language_of_work_or_name resource:Italian . ?n rdf:type ontology:release } } . FILTER ( ?g < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1321
P407
Q34770 Q2031291
USER
And how about Spanish?
(c(Q2031291),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find_reverse
entity Q1321
relation P407
type Q2031291
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P407 resource:Q1321 . ?z rdf:type ontology:Q2031291 } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P407 ?r . ?r rdf:type ontology:Q34770 . ?a rdf:type ontology:Q2031291 } GROUP BY ?r } }
Spanish
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:language_of_work_or_name resource:Spanish . ?z rdf:type ontology:release } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:language_of_work_or_name ?r . ?r rdf:type ontology:language . ?a rdf:type ontology:release } GROUP BY ?r } }
[]
language release
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find_reverse
entity Q1321
relation P407
type Q2031291
[ANSWERS]
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:P407 resource:Q1321 . ?z rdf:type ontology:Q2031291 } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P407 ?r . ?r rdf:type ontology:Q34770 . ?a rdf:type ontology:Q2031291 } GROUP BY ?r } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak 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
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find_reverse
entity Spanish
relation language of work or name
type release
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?o ) WHERE { ?z property:language_of_work_or_name resource:Spanish . ?z rdf:type ontology:release } } . FILTER ( ?m < ?o ) . { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:language_of_work_or_name ?r . ?r rdf:type ontology:language . ?a rdf:type ontology:release } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q292261
P19
Q56061
USER
How many administrative territories were Jennifer Batten born in ?
(Q292261,P19,c(Q56061))
action count
action filter_type
action find
entity Q292261
relation P19
type Q56061
['Q292261', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q292261 property:P19 ?h }
Jennifer Batten
action count
action filter_type
action find
entity Jennifer Batten
relation place of birth
type administrative territorial entity
['Jennifer Batten', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Jennifer_Batten property:place_of_birth ?h }
[]
administrative territorial entity
SYSTEM
1
Q60
(Q292261,P19,c(Q56061))
action count
action filter_type
action find
entity Q292261
relation P19
type Q56061
[ANSWER]
['Q292261', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:Q56061 . resource:Q292261 property:P19 ?h }
New York City
1
action count
action filter_type
action find
entity Jennifer Batten
relation place of birth
type administrative territorial entity
['Jennifer Batten', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { ?h rdf:type ontology:administrative_territorial_entity . resource:Jennifer_Batten property:place_of_birth ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q292261
P86
Q2031291
USER
Which release has that person as the melodist ?
action filter_type
action find_reverse
entity Q292261
relation P86
type Q2031291
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q292261 . ?q rdf:type ontology:Q2031291 }
Jennifer Batten
action filter_type
action find_reverse
entity Jennifer Batten
relation composer
type release
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Jennifer_Batten . ?q rdf:type ontology:release }
[]
release
Q10854852
SYSTEM
Take Me Higher
Q10854852
action filter_type
action find_reverse
entity Q292261
relation P86
type Q2031291
[ANSWER] has that person as the melodist
SELECT DISTINCT ?q WHERE { ?q property:P86 resource:Q292261 . ?q rdf:type ontology:Q2031291 }
Take Me Higher
Take Me Higher has that person as the melodist
Take Me Higher
action filter_type
action find_reverse
entity Jennifer Batten
relation composer
type release
SELECT DISTINCT ?q WHERE { ?q property:composer resource:Jennifer_Batten . ?q rdf:type ontology:release }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q726
P180
Q82799 Q386724 Q18783400
USER
Which names are expressed in lesser number of works and genres of sculpture than horse ?
(c(Q386724)|c(Q18783400),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q726
relation P180
type Q386724
type Q18783400
[[{'concept': 'Q386724'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P180 resource:Q726 . { { ?i rdf:type ontology:Q386724 } UNION { ?i rdf:type ontology:Q18783400 } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?c WHERE { { ?b property:P180 ?c . ?b rdf:type ontology:Q18783400 . ?c rdf:type ontology:Q82799 } UNION { ?b property:P180 ?c . ?b rdf:type ontology:Q386724 . ?c rdf:type ontology:Q82799 } } GROUP BY ?c } }
horse
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity horse
relation depicts
type work
type genre of sculpture
[[{'concept': 'work'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:depicts resource:horse . { { ?i rdf:type ontology:work } UNION { ?i rdf:type ontology:genre_of_sculpture } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?c WHERE { { ?b property:depicts ?c . ?b rdf:type ontology:genre_of_sculpture . ?c rdf:type ontology:name } UNION { ?b property:depicts ?c . ?b rdf:type ontology:work . ?c rdf:type ontology:name } } GROUP BY ?c } }
[]
name work genre of sculpture
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q386724)|c(Q18783400),P180,c(Q82799))
action less
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q726
relation P180
type Q386724
type Q18783400
[ANSWERS] are expressed in lesser number of works and genres of sculpture than horse
[[{'concept': 'Q386724'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P180 resource:Q726 . { { ?i rdf:type ontology:Q386724 } UNION { ?i rdf:type ontology:Q18783400 } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?c WHERE { { ?b property:P180 ?c . ?b rdf:type ontology:Q18783400 . ?c rdf:type ontology:Q82799 } UNION { ?b property:P180 ?c . ?b rdf:type ontology:Q386724 . ?c rdf:type ontology:Q82799 } } GROUP BY ?c } }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Dog, leek and magi are expressed in lesser number of works and genres of sculpture than horse
dog leek magi
action less
action union
action find_reverse_tuple_counts
relation depicts
type name
type work
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity horse
relation depicts
type work
type genre of sculpture
[[{'concept': 'work'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?n < ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:depicts resource:horse . { { ?i rdf:type ontology:work } UNION { ?i rdf:type ontology:genre_of_sculpture } } } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?n ) ?c WHERE { { ?b property:depicts ?c . ?b rdf:type ontology:genre_of_sculpture . ?c rdf:type ontology:name } UNION { ?b property:depicts ?c . ?b rdf:type ontology:work . ?c rdf:type ontology:name } } GROUP BY ?c } }
[]