Simple Question (Direct)
Simple Question
Q16027057
P39
Q12737077
USER
What was the position for which Georges Monnier was appointed ?
(Q16027057,P39,c(Q12737077))
action filter_type
action find
entity Q16027057
relation P39
type Q12737077
['Q16027057', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q16027057 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Georges Monnier
action filter_type
action find
entity Georges Monnier
relation position held
type occupation
['Georges Monnier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Georges_Monnier property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q16027057,P39,c(Q12737077))
action filter_type
action find
entity Q16027057
relation P39
type Q12737077
Member of the French National Assembly
['Q16027057', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q16027057 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
member of the French National Assembly
Member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Georges Monnier
relation position held
type occupation
['Georges Monnier', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Georges_Monnier property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16027057
P20
Q56061
USER
Where did that person die ?
(Q3044918,P20,c(Q56061))
action filter_type
action find
entity Q16027057
relation P20
type Q56061
['Q3044918', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q16027057 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Georges Monnier
action filter_type
action find
entity Georges Monnier
relation place of death
type administrative territorial entity
['member of the French\xa0National Assembly', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Monnier property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3044918,P20,c(Q56061))
action filter_type
action find
entity Q16027057
relation P20
type Q56061
That person died in [ANSWER]
['Q3044918', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q16027057 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Paris
That person died in Paris
Paris
action filter_type
action find
entity Georges Monnier
relation place of death
type administrative territorial entity
['member of the French\xa0National Assembly', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Georges_Monnier property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16027057
P106
Q12737077
USER
What is the job of that person ?
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q16027057
relation P106
type Q12737077
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16027057 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Georges Monnier
action filter_type
action find
entity Georges Monnier
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Georges_Monnier property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q90,P106,c(Q12737077))
action filter_type
action find
entity Q16027057
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q90', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q16027057 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Georges Monnier
relation occupation
type occupation
['Paris', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Georges_Monnier property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P921
Q12737077 Q732577 Q838948
USER
Which occupations were the main subjects of greater number of publications or works of art 's work than that occupation ?
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q732577
type Q838948
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?r WHERE { { ?r rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 . ?g property:P921 ?r } UNION { ?g property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q732577 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P921 resource:Q82955 . { { ?x rdf:type ontology:Q732577 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?b > ?z ) }
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?r WHERE { { ?r rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art . ?g property:main_subject ?r } UNION { ?g property:main_subject ?r . ?r rdf:type ontology:occupation . ?g rdf:type ontology:publication } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:main_subject resource:politician . { { ?x rdf:type ontology:publication } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?b > ?z ) }
[]
occupation publication work of art
Q15637082 Q1930187 Q16746569
SYSTEM
industrialist, journalist, high school student
Q15637082 Q911554 Q39631 Q1124183 Q11631 Q33999 Q36180 Q3809586 Q7358 Q2094335 Q1930187 Q9402 Q2961580 Q101539 Q205375 Q164236 Q936969 Q16746569 Q15320003 Q16003605 Q245068 Q33231 Q2095549 Q1674312 Q16003532
(c(Q732577)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q82955
relation P921
type Q732577
type Q838948
And [ANSWERS] were the main subjects of greater number of publications or works of art 's work than that occupation
[[{'concept': 'Q732577'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?r WHERE { { ?r rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q838948 . ?g property:P921 ?r } UNION { ?g property:P921 ?r . ?r rdf:type ontology:Q12737077 . ?g rdf:type ontology:Q732577 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P921 resource:Q82955 . { { ?x rdf:type ontology:Q732577 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?b > ?z ) }
industrialist business magnate physician lumberjack astronaut actor writer Wikipedian in Residence clown United States Attorney journalist ninja taxi driver flight attendant inventor war correspondent nanny high school student migrant worker elementary school student comedian photographer aviator rag-and-bone man middle school student
And industrialist, journalist and high school student were the main subjects of greater number of publications or works of art 's work than that occupation
industrialist journalist high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity politician
relation main subject
type publication
type work of art
[[{'concept': 'publication'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?r WHERE { { ?r rdf:type ontology:occupation . ?g rdf:type ontology:work_of_art . ?g property:main_subject ?r } UNION { ?g property:main_subject ?r . ?r rdf:type ontology:occupation . ?g rdf:type ontology:publication } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:main_subject resource:politician . { { ?x rdf:type ontology:publication } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?b > ?z ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15637082 Q1930187 Q16746569
P921
Q838948
USER
Which works of art have industrialist, journalist and high school student as their main topic ?
(c(Q838948),P921,Q15637082) (c(Q838948),P921,Q1930187) (c(Q838948),P921,Q16746569)
action union
action filter_type
action find_reverse
entity Q15637082
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1930187
relation P921
type Q838948
action filter_type
action find_reverse
entity Q16746569
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q15637082'] [{'concept': 'Q838948'}, 'P921', 'Q1930187'] [{'concept': 'Q838948'}, 'P921', 'Q16746569']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q838948 . ?z property:P921 resource:Q15637082 } UNION { ?z property:P921 resource:Q1930187 . ?z rdf:type ontology:Q838948 } }
industrialist journalist high school student
action union
action filter_type
action find_reverse
entity industrialist
relation main subject
type work of art
action filter_type
action find_reverse
entity journalist
relation main subject
type work of art
action filter_type
action find_reverse
entity high school student
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'industrialist'] [{'concept': 'work of art'}, 'main subject', 'journalist'] [{'concept': 'work of art'}, 'main subject', 'high school student']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:work_of_art . ?z property:main_subject resource:industrialist } UNION { ?z property:main_subject resource:journalist . ?z rdf:type ontology:work_of_art } }
[]
work of art
Q192724 Q804434 Q622769
SYSTEM
Iron Man, Bleach: Memories of Nobody, Man of Steel
Q192724 Q622769 Q3575602 Q726789 Q11190952 Q3930134 Q858628 Q1363909 Q24673 Q3759249 Q804434 Q1185099 Q697479 Q2364088 Q2364092 Q804429
(c(Q838948),P921,Q15637082) (c(Q838948),P921,Q1930187) (c(Q838948),P921,Q16746569)
action union
action filter_type
action find_reverse
entity Q15637082
relation P921
type Q838948
action filter_type
action find_reverse
entity Q1930187
relation P921
type Q838948
action filter_type
action find_reverse
entity Q16746569
relation P921
type Q838948
[ANSWERS] have industrialist, journalist and high school student as their main topic
[{'concept': 'Q838948'}, 'P921', 'Q15637082'] [{'concept': 'Q838948'}, 'P921', 'Q1930187'] [{'concept': 'Q838948'}, 'P921', 'Q16746569']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:Q838948 . ?z property:P921 resource:Q15637082 } UNION { ?z property:P921 resource:Q1930187 . ?z rdf:type ontology:Q838948 } }
Iron Man Man of Steel The Fifth Estate Yo-Yo Girl Cop BE-BOP-HIGHSCHOOL Ranma ½ One Grew Over the Kuno's Nest Gokusen: The Movie Bleach: Fade to Black Bleach: Hell Verse A Certain Magical Index: The Movie – The Miracle of Endymion Bleach: Memories of Nobody Star Driver: Kagayaki no Takuto Marmalade Boy Sukeban Deka The Movie Sukeban Deka the Movie 2: Counter-Attack from the Kazama Sisters Bleach: The DiamondDust Rebellion
Iron Man, Bleach: Memories of Nobody and Man of Steel have industrialist, journalist and high school student as their main topic
Iron Man Bleach: Memories of Nobody Man of Steel
action union
action filter_type
action find_reverse
entity industrialist
relation main subject
type work of art
action filter_type
action find_reverse
entity journalist
relation main subject
type work of art
action filter_type
action find_reverse
entity high school student
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'industrialist'] [{'concept': 'work of art'}, 'main subject', 'journalist'] [{'concept': 'work of art'}, 'main subject', 'high school student']
SELECT DISTINCT ?z WHERE { { ?z rdf:type ontology:work_of_art . ?z property:main_subject resource:industrialist } UNION { ?z property:main_subject resource:journalist . ?z rdf:type ontology:work_of_art } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q804434
P161
Q502895
USER
Who were casted in that work of art ?
(Q804434,P161,c(Q502895))
action filter_type
action find
entity Q804434
relation P161
type Q502895
['Q804434', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q804434 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Bleach: Memories of Nobody
action filter_type
action find
entity Bleach: Memories of Nobody
relation cast member
type common name
['Bleach: Memories of Nobody', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bleach:_Memories_of_Nobody property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q622769
SYSTEM
Did you mean Man of Steel ?
Q192724 Q804434 Q622769
(Q192724,P161,c(Q502895)) (Q804434,P161,c(Q502895)) (Q622769,P161,c(Q502895))
[ANSWER]
['Q192724', 'P161', {'concept': 'Q502895'}] ['Q804434', 'P161', {'concept': 'Q502895'}] ['Q622769', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q804434 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Iron Man Bleach: Memories of Nobody Man of Steel
Did you mean Man of Steel ?
Man of Steel
['Iron Man', 'cast member', {'concept': 'common name'}] ['Bleach: Memories of Nobody', 'cast member', {'concept': 'common name'}] ['Man of Steel', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bleach:_Memories_of_Nobody property:cast_member ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Bleach: Memories of Nobody. Could you tell me the answer for that?
(Q804434,P161,c(Q502895))
Q804434
['Q804434', 'P161', {'concept': 'Q502895'}]
['Bleach: Memories of Nobody', 'cast member', {'concept': 'common name'}]
[]
Q750134 Q2330871 Q233902
SYSTEM
Stephanie Sheh, Kate Higgins, Romi Park
Q418649 Q4963075 Q3142733 Q11627276 Q1185197 Q7615574 Q1199055 Q1262695 Q3097943 Q1132957 Q901546 Q49547 Q719326 Q725392 Q908941 Q2468138 Q50027 Q1147551 Q2403592 Q2490599 Q3268367 Q1204249 Q460361 Q1142856 Q2330871 Q2642437 Q1750521 Q4356496 Q361574 Q1625322 Q5578715 Q49554 Q459902 Q750150 Q13560359 Q750134 Q1152539 Q590923 Q441288 Q5639967 Q842586 Q592161 Q2273472 Q5209018 Q3273278 Q1057734 Q1371708 Q1352269 Q988955 Q1343697 Q233902 Q1365535 Q1067105
(Q804434,P161,c(Q502895))
action filter_type
action find
entity Q804434
relation P161
type Q502895
[ANSWERS] were casted in that work of art
['Q804434', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q804434 property:P161 ?i . ?i rdf:type ontology:Q502895 }
Akio Ōtsuka Brian Beacock Janice Kawaye Rintarō Nishi Masashi Ebara Stevie Bloch Ryōtarō Okiayu Quinton Flynn Michael McConnohie Mitsuaki Madono Dan Woren Fumiko Orikasa Shin-ichiro Miki Katsuyuki Konishi Liam O'Brien Johnny Yong Bosch Chiwa Saitō Troy Baker Travis Willingham Patrick Seitz Wally Wingert Hideo Ishikawa Toshiyuki Morikawa Fumihiko Tachiki Kate Higgins Wendee Lee Kaya Matsutani Neil Kaplan Masakazu Morita Masaaki Tsukada J. B. Blanc Rie Kugimiya Takahiro Sakurai Karen Strassman Megan Hollingshead Stephanie Sheh Noriaki Sugiyama Yuki Matsuoka Jun Fukuyama Hajime Iijima Hisayo Mochizuki Tomoko Kawakami Nobuyuki Hiyama Dai Matsumoto Noriko Shitaya Kiyoyuki Yanada Kentarō Itō Ryūsei Nakao Takako Honda Takashi Kondō Romi Park Hiroki Yasumoto Yoko Soumi
Stephanie Sheh, Kate Higgins and Romi Park were casted in that work of art
Stephanie Sheh Kate Higgins Romi Park
action filter_type
action find
entity Bleach: Memories of Nobody
relation cast member
type common name
['Bleach: Memories of Nobody', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Bleach:_Memories_of_Nobody property:cast_member ?i . ?i rdf:type ontology:common_name }
[]