Simple Question (Direct)
Simple Question
Q5379495
P161
Q502895
USER
Which people were casted in Enrai ?
(Q5379495,P161,c(Q502895))
action filter_type
action find
entity Q5379495
relation P161
type Q502895
['Q5379495', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5379495 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Enrai
action filter_type
action find
entity Enrai
relation cast member
type common name
['Enrai', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Enrai property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
Q11310655 Q3194806 Q3545485
SYSTEM
Johnny Okura, Keizō Kanie, Yumiko Fujita
Q3194806 Q11310655 Q3545485 Q3548243 Q3545069
(Q5379495,P161,c(Q502895))
action filter_type
action find
entity Q5379495
relation P161
type Q502895
[ANSWERS] were casted in Enrai
['Q5379495', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q5379495 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Keizō Kanie Johnny Okura Yumiko Fujita Eri Ishida Toshiyuki Nagashima
Johnny Okura, Keizō Kanie and Yumiko Fujita were casted in Enrai
Johnny Okura Keizō Kanie Yumiko Fujita
action filter_type
action find
entity Enrai
relation cast member
type common name
['Enrai', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Enrai property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11310655
P106
Q12737077
USER
What are the job of Johnny Okura ?
(Q11310655,P106,c(Q12737077))
action filter_type
action find
entity Q11310655
relation P106
type Q12737077
['Q11310655', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q11310655 property:P106 ?g }
Johnny Okura
action filter_type
action find
entity Johnny Okura
relation occupation
type occupation
['Johnny Okura', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Johnny_Okura property:occupation ?g }
[]
occupation
Q639669 Q33999 Q36834
SYSTEM
musician, actor, composer
Q639669 Q33999 Q36834
(Q11310655,P106,c(Q12737077))
action filter_type
action find
entity Q11310655
relation P106
type Q12737077
The job of Johnny Okura are the [ANSWERS]
['Q11310655', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q11310655 property:P106 ?g }
musician actor composer
The job of Johnny Okura are the musician, actor and composer
musician actor composer
action filter_type
action find
entity Johnny Okura
relation occupation
type occupation
['Johnny Okura', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Johnny_Okura property:occupation ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11310655
P1196
Q1931388
USER
What situation did that person die in ?
(Q639669,P1196,c(Q1931388)) (Q33999,P1196,c(Q1931388)) (Q36834,P1196,c(Q1931388))
action filter_type
action find
entity Q11310655
relation P1196
type Q1931388
['Q639669', 'P1196', {'concept': 'Q1931388'}] ['Q33999', 'P1196', {'concept': 'Q1931388'}] ['Q36834', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q11310655 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Johnny Okura
action filter_type
action find
entity Johnny Okura
relation manner of death
type cause of death
['musician', 'manner of death', {'concept': 'cause of death'}] ['actor', 'manner of death', {'concept': 'cause of death'}] ['composer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Johnny_Okura property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q639669,P1196,c(Q1931388)) (Q33999,P1196,c(Q1931388)) (Q36834,P1196,c(Q1931388))
action filter_type
action find
entity Q11310655
relation P1196
type Q1931388
That person died in [ANSWER]
['Q639669', 'P1196', {'concept': 'Q1931388'}] ['Q33999', 'P1196', {'concept': 'Q1931388'}] ['Q36834', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q11310655 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Johnny Okura
relation manner of death
type cause of death
['musician', 'manner of death', {'concept': 'cause of death'}] ['actor', 'manner of death', {'concept': 'cause of death'}] ['composer', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Johnny_Okura property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q33999 Q7536445
P123
Q166142
USER
How many applications were issued by actor or Skotos ?
(c(Q166142),P123,Q33999) (c(Q166142),P123,Q7536445)
action count
action union
action filter_type
action find_reverse
entity Q33999
relation P123
type Q166142
action filter_type
action find_reverse
entity Q7536445
relation P123
type Q166142
[{'concept': 'Q166142'}, 'P123', 'Q33999'] [{'concept': 'Q166142'}, 'P123', 'Q7536445']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P123 resource:Q33999 . ?z rdf:type ontology:Q166142 } UNION { ?z property:P123 resource:Q7536445 . ?z rdf:type ontology:Q166142 } }
actor Skotos
action count
action union
action filter_type
action find_reverse
entity actor
relation publisher
type application
action filter_type
action find_reverse
entity Skotos
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'actor'] [{'concept': 'application'}, 'publisher', 'Skotos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:publisher resource:actor . ?z rdf:type ontology:application } UNION { ?z property:publisher resource:Skotos . ?z rdf:type ontology:application } }
[]
application
SYSTEM
3
Q5242936 Q6073128 Q5050181
(c(Q166142),P123,Q33999) (c(Q166142),P123,Q7536445)
action count
action union
action filter_type
action find_reverse
entity Q33999
relation P123
type Q166142
action filter_type
action find_reverse
entity Q7536445
relation P123
type Q166142
[ANSWER]
[{'concept': 'Q166142'}, 'P123', 'Q33999'] [{'concept': 'Q166142'}, 'P123', 'Q7536445']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:P123 resource:Q33999 . ?z rdf:type ontology:Q166142 } UNION { ?z property:P123 resource:Q7536445 . ?z rdf:type ontology:Q166142 } }
Day of Love Ironclaw Online Castle Marrach
3
action count
action union
action filter_type
action find_reverse
entity actor
relation publisher
type application
action filter_type
action find_reverse
entity Skotos
relation publisher
type application
[{'concept': 'application'}, 'publisher', 'actor'] [{'concept': 'application'}, 'publisher', 'Skotos']
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { ?z property:publisher resource:actor . ?z rdf:type ontology:application } UNION { ?z property:publisher resource:Skotos . ?z rdf:type ontology:application } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q314610 Q11310655
P161
Q838948
USER
Which works of art do Johnny Okura or Ethan Suplee star in ?
OR((c(Q838948),P161,Q11310655), (c(Q838948),P161,Q314610))
action filter_type
action union
action find_reverse
entity Q11310655
relation P161
action find_reverse
entity Q314610
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q11310655'], [{'concept': 'Q838948'}, 'P161', 'Q314610']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P161 resource:Q11310655 } UNION { ?d property:P161 resource:Q314610 } } . ?d rdf:type ontology:Q838948 }
Ethan Suplee Johnny Okura
action filter_type
action union
action find_reverse
entity Johnny Okura
relation cast member
action find_reverse
entity Ethan Suplee
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Johnny Okura'], [{'concept': 'work of art'}, 'cast member', 'Ethan Suplee']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cast_member resource:Johnny_Okura } UNION { ?d property:cast_member resource:Ethan_Suplee } } . ?d rdf:type ontology:work_of_art }
[]
work of art
Q11492635 Q5379495 Q784514 Q1759482 Q696855 Q500460 Q1536277 Q14317024 Q644276 Q40187
SYSTEM
Some of them are Demon's Room, Enrai, Clerks II, Desert Blue, Merry Christmas, Mr. Lawrence, Evolution, The First $20 Million Is Always the Hardest, True Story, Unstoppable, Dogma
Q650460 Q500460 Q1392744 Q39999 Q11492635 Q1141457 Q11318580 Q696855 Q117696 Q11493913 Q1632935 Q221109 Q842770 Q1536277 Q5379495 Q1632915 Q15647962 Q208572 Q6991897 Q631515 Q644276 Q705714 Q841515 Q390097 Q992496 Q11646118 Q40187 Q1759482 Q784514 Q40115 Q14317024
OR((c(Q838948),P161,Q11310655), (c(Q838948),P161,Q314610))
action filter_type
action union
action find_reverse
entity Q11310655
relation P161
action find_reverse
entity Q314610
relation P161
type Q838948
Johnny Okura or Ethan Suplee star in [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q11310655'], [{'concept': 'Q838948'}, 'P161', 'Q314610']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P161 resource:Q11310655 } UNION { ?d property:P161 resource:Q314610 } } . ?d rdf:type ontology:Q838948 }
Fanboys Evolution The Wolf of Wall Street Mallrats Demon's Room John Q Chinpira Merry Christmas, Mr. Lawrence Remember the Titans Aijō monogatari Without a Paddle The Butterfly Effect The Fountain The First $20 Million Is Always the Hardest Enrai Mr. Woodcock Walk of Shame American History X Neo Ned Blow Unstoppable Art School Confidential Road Trip Cold Mountain Track Down Yabanjin no yō ni Dogma Desert Blue Clerks II Chasing Amy True Story
Johnny Okura or Ethan Suplee star in Demon's Room, Enrai, Clerks II, Desert Blue, Merry Christmas, Mr. Lawrence, Evolution, The First $20 Million Is Always the Hardest, True Story, Unstoppable and Dogma
Demon's Room Enrai Clerks II Desert Blue Merry Christmas, Mr. Lawrence Evolution The First $20 Million Is Always the Hardest True Story Unstoppable Dogma
action filter_type
action union
action find_reverse
entity Johnny Okura
relation cast member
action find_reverse
entity Ethan Suplee
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Johnny Okura'], [{'concept': 'work of art'}, 'cast member', 'Ethan Suplee']]}
SELECT DISTINCT ?d WHERE { { { ?d property:cast_member resource:Johnny_Okura } UNION { ?d property:cast_member resource:Ethan_Suplee } } . ?d rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q696855
P86
Q502895
USER
Who composed that work of art ?
(Q696855,P86,c(Q502895))
action filter_type
action find
entity Q696855
relation P86
type Q502895
['Q696855', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q696855 property:P86 ?l . ?l rdf:type ontology:Q502895 }
Merry Christmas, Mr. Lawrence
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation composer
type common name
['Merry Christmas, Mr. Lawrence', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Merry_Christmas,_Mr._Lawrence property:composer ?l . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5379495
SYSTEM
Did you mean Enrai ?
Q11492635 Q5379495 Q784514 Q1759482 Q696855 Q500460 Q1536277 Q14317024 Q644276 Q40187
(Q11492635,P86,c(Q502895)) (Q5379495,P86,c(Q502895)) (Q784514,P86,c(Q502895)) (Q1759482,P86,c(Q502895)) (Q696855,P86,c(Q502895)) (Q500460,P86,c(Q502895)) (Q1536277,P86,c(Q502895)) (Q14317024,P86,c(Q502895)) (Q644276,P86,c(Q502895)) (Q40187,P86,c(Q502895))
[ANSWER]
['Q11492635', 'P86', {'concept': 'Q502895'}] ['Q5379495', 'P86', {'concept': 'Q502895'}] ['Q784514', 'P86', {'concept': 'Q502895'}] ['Q1759482', 'P86', {'concept': 'Q502895'}] ['Q696855', 'P86', {'concept': 'Q502895'}] ['Q500460', 'P86', {'concept': 'Q502895'}] ['Q1536277', 'P86', {'concept': 'Q502895'}] ['Q14317024', 'P86', {'concept': 'Q502895'}] ['Q644276', 'P86', {'concept': 'Q502895'}] ['Q40187', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q696855 property:P86 ?l . ?l rdf:type ontology:Q502895 }
Demon's Room Enrai Clerks II Desert Blue Merry Christmas, Mr. Lawrence Evolution The First $20 Million Is Always the Hardest True Story Unstoppable Dogma
Did you mean Enrai ?
Enrai
["Demon's Room", 'composer', {'concept': 'common name'}] ['Enrai', 'composer', {'concept': 'common name'}] ['Clerks II', 'composer', {'concept': 'common name'}] ['Desert Blue', 'composer', {'concept': 'common name'}] ['Merry Christmas, Mr. Lawrence', 'composer', {'concept': 'common name'}] ['Evolution', 'composer', {'concept': 'common name'}] ['The First $20 Million Is Always the Hardest', 'composer', {'concept': 'common name'}] ['True Story', 'composer', {'concept': 'common name'}] ['Unstoppable', 'composer', {'concept': 'common name'}] ['Dogma', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Merry_Christmas,_Mr._Lawrence property:composer ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Merry Christmas, Mr. Lawrence. Could you tell me the answer for that?
(Q696855,P86,c(Q502895))
Q696855
['Q696855', 'P86', {'concept': 'Q502895'}]
['Merry Christmas, Mr. Lawrence', 'composer', {'concept': 'common name'}]
[]
Q345494
SYSTEM
Ryuichi Sakamoto
Q345494
(Q696855,P86,c(Q502895))
action filter_type
action find
entity Q696855
relation P86
type Q502895
[ANSWER] composed that work of art
['Q696855', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q696855 property:P86 ?l . ?l rdf:type ontology:Q502895 }
Ryuichi Sakamoto
Ryuichi Sakamoto composed that work of art
Ryuichi Sakamoto
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation composer
type common name
['Merry Christmas, Mr. Lawrence', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Merry_Christmas,_Mr._Lawrence property:composer ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q696855
P921
Q198 Q350604
USER
How many wars and armed conflicts were discussed in Merry Christmas, Mr. Lawrence ?
(Q696855,P921,c(Q198)) (Q696855,P921,c(Q350604))
action count
action union
action filter_type
action find
entity Q696855
relation P921
type Q198
action filter_type
action find
entity Q696855
relation P921
type Q350604
['Q696855', 'P921', {'concept': 'Q198'}] ['Q696855', 'P921', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ontology:Q198 . resource:Q696855 property:P921 ?r } UNION { ?r rdf:type ontology:Q350604 . resource:Q696855 property:P921 ?r } }
Merry Christmas, Mr. Lawrence
action count
action union
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation main subject
type war
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation main subject
type armed conflict
['Merry Christmas, Mr. Lawrence', 'main subject', {'concept': 'war'}] ['Merry Christmas, Mr. Lawrence', 'main subject', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ontology:war . resource:Merry_Christmas,_Mr._Lawrence property:main_subject ?r } UNION { ?r rdf:type ontology:armed_conflict . resource:Merry_Christmas,_Mr._Lawrence property:main_subject ?r } }
[]
war armed conflict
SYSTEM
1 wars and 1 armed conflicts
Q184425 Q362
(Q696855,P921,c(Q198)) (Q696855,P921,c(Q350604))
action count
action union
action filter_type
action find
entity Q696855
relation P921
type Q198
action filter_type
action find
entity Q696855
relation P921
type Q350604
[ANSWER]
['Q696855', 'P921', {'concept': 'Q198'}] ['Q696855', 'P921', {'concept': 'Q350604'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ontology:Q198 . resource:Q696855 property:P921 ?r } UNION { ?r rdf:type ontology:Q350604 . resource:Q696855 property:P921 ?r } }
Pacific War World War II
1 wars and 1 armed conflicts
action count
action union
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation main subject
type war
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation main subject
type armed conflict
['Merry Christmas, Mr. Lawrence', 'main subject', {'concept': 'war'}] ['Merry Christmas, Mr. Lawrence', 'main subject', {'concept': 'armed conflict'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { ?r rdf:type ontology:war . resource:Merry_Christmas,_Mr._Lawrence property:main_subject ?r } UNION { ?r rdf:type ontology:armed_conflict . resource:Merry_Christmas,_Mr._Lawrence property:main_subject ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q696855
P1040
Q502895
USER
Which person edited Merry Christmas, Mr. Lawrence ?
(Q696855,P1040,c(Q502895))
action filter_type
action find
entity Q696855
relation P1040
type Q502895
['Q696855', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q696855 property:P1040 ?a . ?a rdf:type ontology:Q502895 }
Merry Christmas, Mr. Lawrence
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation film editor
type common name
['Merry Christmas, Mr. Lawrence', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Merry_Christmas,_Mr._Lawrence property:film_editor ?a . ?a rdf:type ontology:common_name }
[]
common name
Q7820333
SYSTEM
Tomoyo Oshima
Q7820333
(Q696855,P1040,c(Q502895))
action filter_type
action find
entity Q696855
relation P1040
type Q502895
[ANSWER] edited Merry Christmas, Mr. Lawrence
['Q696855', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q696855 property:P1040 ?a . ?a rdf:type ontology:Q502895 }
Tomoyo Oshima
Tomoyo Oshima edited Merry Christmas, Mr. Lawrence
Tomoyo Oshima
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation film editor
type common name
['Merry Christmas, Mr. Lawrence', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Merry_Christmas,_Mr._Lawrence property:film_editor ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q696855
P840
Q178706
USER
Which institution is the narrative location of Merry Christmas, Mr. Lawrence ?
(Q696855,P840,c(Q178706))
action filter_type
action find
entity Q696855
relation P840
type Q178706
['Q696855', 'P840', {'concept': 'Q178706'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q178706 . resource:Q696855 property:P840 ?n }
Merry Christmas, Mr. Lawrence
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation narrative location
type institution
['Merry Christmas, Mr. Lawrence', 'narrative location', {'concept': 'institution'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:institution . resource:Merry_Christmas,_Mr._Lawrence property:narrative_location ?n }
[]
institution
Q1070290
SYSTEM
prisoner-of-war camp
Q1070290
(Q696855,P840,c(Q178706))
action filter_type
action find
entity Q696855
relation P840
type Q178706
Camp [ANSWER] is the narrative location of Merry Christmas, Mr. Lawrence
['Q696855', 'P840', {'concept': 'Q178706'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q178706 . resource:Q696855 property:P840 ?n }
prisoner-of-war camp
Camp prisoner-of-war camp is the narrative location of Merry Christmas, Mr. Lawrence
prisoner-of-war camp
action filter_type
action find
entity Merry Christmas, Mr. Lawrence
relation narrative location
type institution
['Merry Christmas, Mr. Lawrence', 'narrative location', {'concept': 'institution'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:institution . resource:Merry_Christmas,_Mr._Lawrence property:narrative_location ?n }
[]