Simple Question (Direct)
Simple Question
Q7169885
P108
Q43229
USER
Which organization does Perry Rosemond work for ?
(Q7169885,P108,c(Q43229))
action filter_type
action find
entity Q7169885
relation P108
type Q43229
['Q7169885', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q7169885 property:P108 ?f . ?f rdf:type ontology:Q43229 }
Perry Rosemond
action filter_type
action find
entity Perry Rosemond
relation employer
type organization
['Perry Rosemond', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Perry_Rosemond property:employer ?f . ?f rdf:type ontology:organization }
[]
organization
Q461761
SYSTEM
CBC Television
Q461761
(Q7169885,P108,c(Q43229))
action filter_type
action find
entity Q7169885
relation P108
type Q43229
Perry Rosemond works for [ANSWER]
['Q7169885', 'P108', {'concept': 'Q43229'}]
SELECT DISTINCT ?f WHERE { resource:Q7169885 property:P108 ?f . ?f rdf:type ontology:Q43229 }
CBC Television
Perry Rosemond works for CBC Television
CBC Television
action filter_type
action find
entity Perry Rosemond
relation employer
type organization
['Perry Rosemond', 'employer', {'concept': 'organization'}]
SELECT DISTINCT ?f WHERE { resource:Perry_Rosemond property:employer ?f . ?f rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7169885
P57
Q838948
USER
Which work of art has Perry Rosemond as its director ?
(c(Q838948),P57,Q7169885)
action filter_type
action find_reverse
entity Q7169885
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q7169885']
SELECT DISTINCT ?q WHERE { ?q property:P57 resource:Q7169885 . ?q rdf:type ontology:Q838948 }
Perry Rosemond
action filter_type
action find_reverse
entity Perry Rosemond
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Perry Rosemond']
SELECT DISTINCT ?q WHERE { ?q property:director resource:Perry_Rosemond . ?q rdf:type ontology:work_of_art }
[]
work of art
Q7858003
SYSTEM
Twilight Theater
Q7858003
(c(Q838948),P57,Q7169885)
action filter_type
action find_reverse
entity Q7169885
relation P57
type Q838948
[ANSWER] has Perry Rosemond as its director
[{'concept': 'Q838948'}, 'P57', 'Q7169885']
SELECT DISTINCT ?q WHERE { ?q property:P57 resource:Q7169885 . ?q rdf:type ontology:Q838948 }
Twilight Theater
Twilight Theater has Perry Rosemond as its director
Twilight Theater
action filter_type
action find_reverse
entity Perry Rosemond
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Perry Rosemond']
SELECT DISTINCT ?q WHERE { ?q property:director resource:Perry_Rosemond . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7858003
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q7858003,P364,c(Q34770))
action filter_type
action find
entity Q7858003
relation P364
type Q34770
['Q7858003', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q7858003 property:P364 ?n . ?n rdf:type ontology:Q34770 }
Twilight Theater
action filter_type
action find
entity Twilight Theater
relation original language of work
type language
['Twilight Theater', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Twilight_Theater property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7858003,P364,c(Q34770))
action filter_type
action find
entity Q7858003
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q7858003', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q7858003 property:P364 ?n . ?n rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity Twilight Theater
relation original language of work
type language
['Twilight Theater', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Twilight_Theater property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7858003
P495
Q15617994
USER
Which administrative territory is the country of origin of Twilight Theater ?
(Q7858003,P495,c(Q15617994))
action filter_type
action find
entity Q7858003
relation P495
type Q15617994
['Q7858003', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7858003 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
Twilight Theater
action filter_type
action find
entity Twilight Theater
relation country of origin
type designation for an administrative territorial entity
['Twilight Theater', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Twilight_Theater property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7858003,P495,c(Q15617994))
action filter_type
action find
entity Q7858003
relation P495
type Q15617994
[ANSWER] is the country of origin of Twilight Theater
['Q7858003', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7858003 property:P495 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of Twilight Theater
United States of America
action filter_type
action find
entity Twilight Theater
relation country of origin
type designation for an administrative territorial entity
['Twilight Theater', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Twilight_Theater property:country_of_origin ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7858003
P161
Q502895
USER
Who were casted in that work of art ?
(Q30,P161,c(Q502895))
action filter_type
action find
entity Q7858003
relation P161
type Q502895
['Q30', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q7858003 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Twilight Theater
action filter_type
action find
entity Twilight Theater
relation cast member
type common name
['United States of America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Twilight_Theater property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
common name
Q16473 Q466508 Q287793
SYSTEM
Steve Martin, Rosemary Clooney, Carl Reiner
Q295107 Q16473 Q82786 Q466508 Q298777 Q747723 Q287793 Q336282
(Q30,P161,c(Q502895))
action filter_type
action find
entity Q7858003
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q30', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q7858003 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Mr. T Steve Martin Leslie Nielsen Rosemary Clooney Michael York Bob Denver Carl Reiner Rick Moranis
Steve Martin, Rosemary Clooney and Carl Reiner were casted in that work of art
Steve Martin Rosemary Clooney Carl Reiner
action filter_type
action find
entity Twilight Theater
relation cast member
type common name
['United States of America', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Twilight_Theater property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q466508
P136
Q151885
USER
Which concept is the genre for that person ?
(Q466508,P136,c(Q151885))
action filter_type
action find
entity Q466508
relation P136
type Q151885
['Q466508', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q466508 property:P136 ?e . ?e rdf:type ontology:Q151885 }
Rosemary Clooney
action filter_type
action find
entity Rosemary Clooney
relation genre
type concept
['Rosemary Clooney', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Rosemary_Clooney property:genre ?e . ?e rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q287793
SYSTEM
Did you mean Carl Reiner ?
Q16473 Q466508 Q287793
(Q16473,P136,c(Q151885)) (Q466508,P136,c(Q151885)) (Q287793,P136,c(Q151885))
[ANSWER]
['Q16473', 'P136', {'concept': 'Q151885'}] ['Q466508', 'P136', {'concept': 'Q151885'}] ['Q287793', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q466508 property:P136 ?e . ?e rdf:type ontology:Q151885 }
Steve Martin Rosemary Clooney Carl Reiner
Did you mean Carl Reiner ?
Carl Reiner
['Steve Martin', 'genre', {'concept': 'concept'}] ['Rosemary Clooney', 'genre', {'concept': 'concept'}] ['Carl Reiner', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Rosemary_Clooney property:genre ?e . ?e rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
No, I meant Rosemary Clooney. Could you tell me the answer for that?
(Q466508,P136,c(Q151885))
Q466508
['Q466508', 'P136', {'concept': 'Q151885'}]
['Rosemary Clooney', 'genre', {'concept': 'concept'}]
[]
Q37073
SYSTEM
pop music
Q37073
(Q466508,P136,c(Q151885))
action filter_type
action find
entity Q466508
relation P136
type Q151885
[ANSWER] is the genre for that person
['Q466508', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?e WHERE { resource:Q466508 property:P136 ?e . ?e rdf:type ontology:Q151885 }
pop music
Pop music is the genre for that person
pop music
action filter_type
action find
entity Rosemary Clooney
relation genre
type concept
['Rosemary Clooney', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?e WHERE { resource:Rosemary_Clooney property:genre ?e . ?e rdf:type ontology:concept }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q151885 Q502895 Q43229
USER
Which concepts do lesser number of people or organizations belong to than that concept ?
(c(Q502895)|c(Q43229),P101,c(Q151885))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q502895
action find_reverse_tuple_counts
relation P101
type Q151885
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q37073
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?w WHERE { VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?k rdf:type ?r } GROUP BY ?w } . FILTER ( ?i < ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P101 resource:Q37073 . { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } }
action less
action union
action find_reverse_tuple_counts
relation field of work
type concept
type common name
action find_reverse_tuple_counts
relation field of work
type concept
type organization
action count
action filter_multi_types
action find_reverse
entity pop music
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?w WHERE { VALUES ( ?r ) { ( ontology:organization ) ( ontology:common_name ) } . ?k rdf:type ?r } GROUP BY ?w } . FILTER ( ?i < ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:field_of_work resource:pop_music . { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:organization ) } } } } }
[]
concept common name organization
Q4964182 Q131222 Q935586
SYSTEM
philosopher, information theory, Liturgical music
Q132438 Q935586 Q26384 Q1080208 Q2474068 Q177571 Q5127848 Q43343 Q212944 Q177923 Q333018 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q39072 Q674684 Q83270 Q612024 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q1516975 Q205560 Q467 Q1476215 Q83440 Q855091 Q454 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q309252 Q11401 Q3242115
(c(Q502895)|c(Q43229),P101,c(Q151885))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q151885
type Q502895
action find_reverse_tuple_counts
relation P101
type Q151885
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q37073
relation P101
type Q502895
type Q43229
[ANSWERS] lesser number of people or organizations belong to than that concept
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?w WHERE { VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?k rdf:type ?r } GROUP BY ?w } . FILTER ( ?i < ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:P101 resource:Q37073 . { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } } } }
black metal Liturgical music do it yourself production theory cosmetology decision theory class contemporary folk music klezmer auction Common descent History of Ancient Rome electronic music humanitarian aid food history French cuisine microeconomics Sevdalinka hard rock contemporary classical music heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory maritime history trip hop woman human rights activist country music guitarist peace activist Spanish cuisine poverty religious music cultural history intellectual history chiptune axiomatic system Baroque music Ramsey theory agrarian history author control theory physical fitness hip hop revolutionary
Philosopher, information theory and Liturgical music lesser number of people or organizations belong to than that concept
philosopher information theory Liturgical music
action less
action union
action find_reverse_tuple_counts
relation field of work
type concept
type common name
action find_reverse_tuple_counts
relation field of work
type concept
type organization
action count
action filter_multi_types
action find_reverse
entity pop music
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?w WHERE { VALUES ( ?r ) { ( ontology:organization ) ( ontology:common_name ) } . ?k rdf:type ?r } GROUP BY ?w } . FILTER ( ?i < ?u ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { ?z property:field_of_work resource:pop_music . { ?z rdf:type ?x . VALUES ( ?x ) { ( ontology:common_name ) ( ontology:organization ) } } } } }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q151885 Q502895 Q21114848
USER
How many concepts are the fields of work of approximately the same number of people and magazine genres as that concept ?
(c(Q502895)|c(Q21114848),P101,c(Q151885))
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q21114848 }
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:concept . ?x rdf:type ontology:magazine_genre }
[]
concept common name magazine genre
Comparative|Count over More/Less|Mult. entity type|Clarification
Q935586
SYSTEM
Did you mean Liturgical music ?
(c(Q502895)|c(Q21114848),P101,c(Q151885))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:Q627436 ?y } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q21114848 }
Did you mean Liturgical music ?
Liturgical music
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?u ) { ( ?z ) ( ?x ) } . ?u property:field_of_work ?y } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:concept . ?x rdf:type ontology:magazine_genre }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant information theory. Could you tell me the answer for that?
(c(Q502895)|c(Q21114848),P101,c(Q151885))
Q131222
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q151885'}]
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'concept'}]
[]
SYSTEM
67
Q132438 Q935586 Q26384 Q3281534 Q1080208 Q2474068 Q177571 Q5127848 Q43343 Q212944 Q177923 Q333018 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q37073 Q39072 Q674684 Q3014296 Q83270 Q612024 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q1516975 Q205560 Q467 Q1476215 Q83440 Q855091 Q2066131 Q454 Q39680 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q8341 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q309252 Q11401 Q3242115
(c(Q502895)|c(Q21114848),P101,c(Q151885))
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q21114848 }
black metal Liturgical music do it yourself modern history production theory cosmetology decision theory class contemporary folk music klezmer auction Common descent History of Ancient Rome electronic music humanitarian aid food history French cuisine pop music microeconomics Sevdalinka motorcycle racer hard rock contemporary classical music heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory maritime history trip hop woman human rights activist country music guitarist sportsperson peace macroeconomics activist Spanish cuisine poverty religious music cultural history intellectual history chiptune jazz axiomatic system Baroque music Ramsey theory agrarian history author control theory physical fitness hip hop revolutionary
67
[[{'concept': 'common name'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:concept . ?x rdf:type ontology:magazine_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q131222
P921
Q21114848
USER
Which magazine genre has that concept as its main topic ?
action filter_type
action find_reverse
entity Q131222
relation P921
type Q21114848
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q131222 . ?h rdf:type ontology:Q21114848 }
information theory
action filter_type
action find_reverse
entity information theory
relation main subject
type magazine genre
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:information_theory . ?h rdf:type ontology:magazine_genre }
[]
magazine genre
Q127793
SYSTEM
IEEE Transactions on Information Theory
Q127793
action filter_type
action find_reverse
entity Q131222
relation P921
type Q21114848
[ANSWER] has that concept as its main topic
SELECT DISTINCT ?h WHERE { ?h property:P921 resource:Q131222 . ?h rdf:type ontology:Q21114848 }
IEEE Transactions on Information Theory
IEEE Transactions on Information Theory has that concept as its main topic
IEEE Transactions on Information Theory
action filter_type
action find_reverse
entity information theory
relation main subject
type magazine genre
SELECT DISTINCT ?h WHERE { ?h property:main_subject resource:information_theory . ?h rdf:type ontology:magazine_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q127793 Q131222
P921
Q151885
USER
Was information theory discussed in that magazine genre ?
(Q127793,P921,Q131222)
action is_in
entity Q131222
action find
entity Q127793
relation P921
['Q127793', 'P921', 'Q131222']
ASK WHERE { resource:Q127793 property:P921 resource:Q131222 }
IEEE Transactions on Information Theory information theory
action is_in
entity information theory
action find
entity IEEE Transactions on Information Theory
relation main subject
['IEEE Transactions on Information Theory', 'main subject', 'information theory']
ASK WHERE { resource:IEEE_Transactions_on_Information_Theory property:main_subject resource:information_theory }
[]
concept
SYSTEM
YES
(Q127793,P921,Q131222)
action is_in
entity Q131222
action find
entity Q127793
relation P921
[ANSWER]
['Q127793', 'P921', 'Q131222']
ASK WHERE { resource:Q127793 property:P921 resource:Q131222 }
Yes
action is_in
entity information theory
action find
entity IEEE Transactions on Information Theory
relation main subject
['IEEE Transactions on Information Theory', 'main subject', 'information theory']
ASK WHERE { resource:IEEE_Transactions_on_Information_Theory property:main_subject resource:information_theory }
[]