Simple Question (Direct)
Simple Question
Q6756890
P57
Q502895
USER
Who was March of Happiness directed by ?
(Q6756890,P57,c(Q502895))
action filter_type
action find
entity Q6756890
relation P57
type Q502895
['Q6756890', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q6756890 property:P57 ?u . ?u rdf:type ontology:Q502895 }
March of Happiness
action filter_type
action find
entity March of Happiness
relation director
type common name
['March of Happiness', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:March_of_Happiness property:director ?u . ?u rdf:type ontology:common_name }
[]
common name
Q6550001
SYSTEM
Lin Cheng-sheng
Q6550001
(Q6756890,P57,c(Q502895))
action filter_type
action find
entity Q6756890
relation P57
type Q502895
March of Happiness was directed by [ANSWER] by
['Q6756890', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q6756890 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Lin Cheng-sheng
March of Happiness was directed by Lin Cheng-sheng by
Lin Cheng-sheng
action filter_type
action find
entity March of Happiness
relation director
type common name
['March of Happiness', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:March_of_Happiness property:director ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6756890
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q6550001,P136,c(Q1792379))
action filter_type
action find
entity Q6756890
relation P136
type Q1792379
['Q6550001', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?e WHERE { resource:Q6756890 property:P136 ?e . ?e rdf:type ontology:Q1792379 }
March of Happiness
action filter_type
action find
entity March of Happiness
relation genre
type art genre
['Lin Cheng-sheng', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?e WHERE { resource:March_of_Happiness property:genre ?e . ?e rdf:type ontology:art_genre }
[]
art genre
Q369747 Q1054574 Q130232
SYSTEM
war film, romance film, drama film
Q369747 Q1054574 Q130232
(Q6550001,P136,c(Q1792379))
action filter_type
action find
entity Q6756890
relation P136
type Q1792379
[ANSWERS] can be considered as category for that work of art
['Q6550001', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?e WHERE { resource:Q6756890 property:P136 ?e . ?e rdf:type ontology:Q1792379 }
war film romance film drama film
War film, romance film and drama film can be considered as category for that work of art
war film romance film drama film
action filter_type
action find
entity March of Happiness
relation genre
type art genre
['Lin Cheng-sheng', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?e WHERE { resource:March_of_Happiness property:genre ?e . ?e rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6756890
P921
Q198
USER
What was the main subject of that work of art 's work ?
(Q369747,P921,c(Q198)) (Q1054574,P921,c(Q198)) (Q130232,P921,c(Q198))
action filter_type
action find
entity Q6756890
relation P921
type Q198
['Q369747', 'P921', {'concept': 'Q198'}] ['Q1054574', 'P921', {'concept': 'Q198'}] ['Q130232', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q6756890 property:P921 ?i . ?i rdf:type ontology:Q198 }
March of Happiness
action filter_type
action find
entity March of Happiness
relation main subject
type war
['war film', 'main subject', {'concept': 'war'}] ['romance film', 'main subject', {'concept': 'war'}] ['drama film', 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:March_of_Happiness property:main_subject ?i . ?i rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q369747,P921,c(Q198)) (Q1054574,P921,c(Q198)) (Q130232,P921,c(Q198))
action filter_type
action find
entity Q6756890
relation P921
type Q198
The main subject of that work of art's work was of [ANSWER]
['Q369747', 'P921', {'concept': 'Q198'}] ['Q1054574', 'P921', {'concept': 'Q198'}] ['Q130232', 'P921', {'concept': 'Q198'}]
SELECT DISTINCT ?i WHERE { resource:Q6756890 property:P921 ?i . ?i rdf:type ontology:Q198 }
World War II
The main subject of that work of art's work was of World War II
World War II
action filter_type
action find
entity March of Happiness
relation main subject
type war
['war film', 'main subject', {'concept': 'war'}] ['romance film', 'main subject', {'concept': 'war'}] ['drama film', 'main subject', {'concept': 'war'}]
SELECT DISTINCT ?i WHERE { resource:March_of_Happiness property:main_subject ?i . ?i rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6756890
P161
Q502895
USER
Who was casted in that work of art ?
(Q362,P161,c(Q502895))
action filter_type
action find
entity Q6756890
relation P161
type Q502895
['Q362', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q6756890 property:P161 ?n . ?n rdf:type ontology:Q502895 }
March of Happiness
action filter_type
action find
entity March of Happiness
relation cast member
type common name
['World War II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:March_of_Happiness property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
common name
Q710475
SYSTEM
Lim Giong
Q710475
(Q362,P161,c(Q502895))
action filter_type
action find
entity Q6756890
relation P161
type Q502895
[ANSWER] was casted in that work of art
['Q362', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q6756890 property:P161 ?n . ?n rdf:type ontology:Q502895 }
Lim Giong
Lim Giong was casted in that work of art
Lim Giong
action filter_type
action find
entity March of Happiness
relation cast member
type common name
['World War II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:March_of_Happiness property:cast_member ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q710475
P86
Q838948
USER
Which works of art are composed by that person ?
(c(Q838948),P86,Q710475)
action filter_type
action find_reverse
entity Q710475
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q710475']
SELECT DISTINCT ?r WHERE { ?r property:P86 resource:Q710475 . ?r rdf:type ontology:Q838948 }
Lim Giong
action filter_type
action find_reverse
entity Lim Giong
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Lim Giong']
SELECT DISTINCT ?r WHERE { ?r property:composer resource:Lim_Giong . ?r rdf:type ontology:work_of_art }
[]
work of art
Q1371155 Q15831713 Q3010510
SYSTEM
Still Life, The Assassin, Goodbye South
Q7901799 Q3010510 Q22910567 Q787500 Q5469679 Q2085736 Q1371155 Q15831713
(c(Q838948),P86,Q710475)
action filter_type
action find_reverse
entity Q710475
relation P86
type Q838948
[ANSWERS] are composed by that person
[{'concept': 'Q838948'}, 'P86', 'Q710475']
SELECT DISTINCT ?r WHERE { ?r property:P86 resource:Q710475 . ?r rdf:type ontology:Q838948 }
Useless Goodbye South City of Jade Dong Forgetting to Know You The World Still Life The Assassin
Still Life, The Assassin and Goodbye South are composed by that person
Still Life The Assassin Goodbye South
action filter_type
action find_reverse
entity Lim Giong
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Lim Giong']
SELECT DISTINCT ?r WHERE { ?r property:composer resource:Lim_Giong . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1371155 Q15831713 Q3010510
P58
Q502895
USER
Which people wrote the script for Still Life, The Assassin and Goodbye South ?
(Q1371155,P58,c(Q502895)) (Q15831713,P58,c(Q502895)) (Q3010510,P58,c(Q502895))
action union
action filter_type
action find
entity Q1371155
relation P58
type Q502895
action filter_type
action find
entity Q15831713
relation P58
type Q502895
action filter_type
action find
entity Q3010510
relation P58
type Q502895
['Q1371155', 'P58', {'concept': 'Q502895'}] ['Q15831713', 'P58', {'concept': 'Q502895'}] ['Q3010510', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q1371155 property:P58 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q15831713 property:P58 ?d . ?d rdf:type ontology:Q502895 } }
Still Life The Assassin Goodbye South
action union
action filter_type
action find
entity Still Life
relation screenwriter
type common name
action filter_type
action find
entity The Assassin
relation screenwriter
type common name
action filter_type
action find
entity Goodbye South
relation screenwriter
type common name
['Still Life', 'screenwriter', {'concept': 'common name'}] ['The Assassin', 'screenwriter', {'concept': 'common name'}] ['Goodbye South', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Still_Life property:screenwriter ?d . ?d rdf:type ontology:common_name } UNION { resource:The_Assassin property:screenwriter ?d . ?d rdf:type ontology:common_name } }
[]
common name
Q461079 Q947123 Q947123
SYSTEM
Chu Tien-wen for 2nd, 3rd, Jia Zhangke for 1st
Q461079 Q947123 Q947123
(Q1371155,P58,c(Q502895)) (Q15831713,P58,c(Q502895)) (Q3010510,P58,c(Q502895))
action union
action filter_type
action find
entity Q1371155
relation P58
type Q502895
action filter_type
action find
entity Q15831713
relation P58
type Q502895
action filter_type
action find
entity Q3010510
relation P58
type Q502895
[ANSWERS]
['Q1371155', 'P58', {'concept': 'Q502895'}] ['Q15831713', 'P58', {'concept': 'Q502895'}] ['Q3010510', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q1371155 property:P58 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q15831713 property:P58 ?d . ?d rdf:type ontology:Q502895 } }
Jia Zhangke Chu Tien-wen Chu Tien-wen
Jia Zhangke, Chu Tien-wen and Chu Tien-wen wrote the script for Still Life, The Assassin and Goodbye South
Jia Zhangke Chu Tien-wen Chu Tien-wen
action union
action filter_type
action find
entity Still Life
relation screenwriter
type common name
action filter_type
action find
entity The Assassin
relation screenwriter
type common name
action filter_type
action find
entity Goodbye South
relation screenwriter
type common name
['Still Life', 'screenwriter', {'concept': 'common name'}] ['The Assassin', 'screenwriter', {'concept': 'common name'}] ['Goodbye South', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Still_Life property:screenwriter ?d . ?d rdf:type ontology:common_name } UNION { resource:The_Assassin property:screenwriter ?d . ?d rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q947123
P21
Q290
USER
What is the sex of that person ?
(Q947123,P21,c(Q290))
action filter_type
action find
entity Q947123
relation P21
type Q290
['Q947123', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q947123 property:P21 ?q . ?q rdf:type ontology:Q290 }
Chu Tien-wen
action filter_type
action find
entity Chu Tien-wen
relation gender
type sex
['Chu Tien-wen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Chu_Tien-wen property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q461079
SYSTEM
Did you mean Jia Zhangke ?
Q461079 Q947123 Q947123
(Q461079,P21,c(Q290)) (Q947123,P21,c(Q290)) (Q947123,P21,c(Q290))
[ANSWER]
['Q461079', 'P21', {'concept': 'Q290'}] ['Q947123', 'P21', {'concept': 'Q290'}] ['Q947123', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q947123 property:P21 ?q . ?q rdf:type ontology:Q290 }
Jia Zhangke Chu Tien-wen Chu Tien-wen
Did you mean Jia Zhangke ?
Jia Zhangke
['Jia Zhangke', 'gender', {'concept': 'sex'}] ['Chu Tien-wen', 'gender', {'concept': 'sex'}] ['Chu Tien-wen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Chu_Tien-wen property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Chu Tien-wen. Could you tell me the answer for that?
(Q947123,P21,c(Q290))
Q947123
['Q947123', 'P21', {'concept': 'Q290'}]
['Chu Tien-wen', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q947123,P21,c(Q290))
action filter_type
action find
entity Q947123
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q947123', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q947123 property:P21 ?q . ?q rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Chu Tien-wen
relation gender
type sex
['Chu Tien-wen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Chu_Tien-wen property:gender ?q . ?q rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q947123
P106
Q12737077 Q28640
USER
How many occupations or professions do Chu Tien-wen do for a living ?
(Q947123,P106,c(Q12737077)) (Q947123,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q947123
relation P106
type Q12737077
action filter_type
action find
entity Q947123
relation P106
type Q28640
['Q947123', 'P106', {'concept': 'Q12737077'}] ['Q947123', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Q947123 property:P106 ?a . ?a rdf:type ontology:Q12737077 } UNION { resource:Q947123 property:P106 ?a . ?a rdf:type ontology:Q28640 } }
Chu Tien-wen
action count
action union
action filter_type
action find
entity Chu Tien-wen
relation occupation
type occupation
action filter_type
action find
entity Chu Tien-wen
relation occupation
type profession
['Chu Tien-wen', 'occupation', {'concept': 'occupation'}] ['Chu Tien-wen', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Chu_Tien-wen property:occupation ?a . ?a rdf:type ontology:occupation } UNION { resource:Chu_Tien-wen property:occupation ?a . ?a rdf:type ontology:profession } }
[]
occupation profession
SYSTEM
2
Q36180 Q28389
(Q947123,P106,c(Q12737077)) (Q947123,P106,c(Q28640))
action count
action union
action filter_type
action find
entity Q947123
relation P106
type Q12737077
action filter_type
action find
entity Q947123
relation P106
type Q28640
[ANSWER]
['Q947123', 'P106', {'concept': 'Q12737077'}] ['Q947123', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Q947123 property:P106 ?a . ?a rdf:type ontology:Q12737077 } UNION { resource:Q947123 property:P106 ?a . ?a rdf:type ontology:Q28640 } }
writer screenwriter
2
action count
action union
action filter_type
action find
entity Chu Tien-wen
relation occupation
type occupation
action filter_type
action find
entity Chu Tien-wen
relation occupation
type profession
['Chu Tien-wen', 'occupation', {'concept': 'occupation'}] ['Chu Tien-wen', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) WHERE { { resource:Chu_Tien-wen property:occupation ?a . ?a rdf:type ontology:occupation } UNION { resource:Chu_Tien-wen property:occupation ?a . ?a rdf:type ontology:profession } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q947123
P19
Q56061
USER
How many administrative territories were Chu Tien-wen born ?
(Q947123,P19,c(Q56061))
action count
action filter_type
action find
entity Q947123
relation P19
type Q56061
['Q947123', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q947123 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Chu Tien-wen
action count
action filter_type
action find
entity Chu Tien-wen
relation place of birth
type administrative territorial entity
['Chu Tien-wen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Chu_Tien-wen property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1867
(Q947123,P19,c(Q56061))
action count
action filter_type
action find
entity Q947123
relation P19
type Q56061
[ANSWER]
['Q947123', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Q947123 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Taipei
1
action count
action filter_type
action find
entity Chu Tien-wen
relation place of birth
type administrative territorial entity
['Chu Tien-wen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { resource:Chu_Tien-wen property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q947123
P734
Q101352
USER
Who has the surname that person ?
action filter_type
action find
entity Q947123
relation P734
type Q101352
SELECT DISTINCT ?m WHERE { resource:Q947123 property:P734 ?m . ?m rdf:type ontology:Q101352 }
Chu Tien-wen
action filter_type
action find
entity Chu Tien-wen
relation family name
type family name
SELECT DISTINCT ?m WHERE { resource:Chu_Tien-wen property:family_name ?m . ?m rdf:type ontology:family_name }
[]
family name
Q13391907
SYSTEM
Zhu
Q13391907
action filter_type
action find
entity Q947123
relation P734
type Q101352
[ANSWER] has the surname that person
SELECT DISTINCT ?m WHERE { resource:Q947123 property:P734 ?m . ?m rdf:type ontology:Q101352 }
Zhu
Zhu has the surname that person
Zhu
action filter_type
action find
entity Chu Tien-wen
relation family name
type family name
SELECT DISTINCT ?m WHERE { resource:Chu_Tien-wen property:family_name ?m . ?m rdf:type ontology:family_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13391907 Q9088144
P734
Q502895
USER
Does Zhu Tianxin have that one as family name ?
(Q9088144,P734,Q13391907)
action is_in
entity Q13391907
action find
entity Q9088144
relation P734
['Q9088144', 'P734', 'Q13391907']
ASK WHERE { resource:Q9088144 property:P734 resource:Q13391907 }
Zhu Zhu Tianxin
action is_in
entity Zhu
action find
entity Zhu Tianxin
relation family name
['Zhu Tianxin', 'family name', 'Zhu']
ASK WHERE { resource:Zhu_Tianxin property:family_name resource:Zhu }
[]
common name
SYSTEM
YES
(Q9088144,P734,Q13391907)
action is_in
entity Q13391907
action find
entity Q9088144
relation P734
[ANSWER]
['Q9088144', 'P734', 'Q13391907']
ASK WHERE { resource:Q9088144 property:P734 resource:Q13391907 }
Yes
action is_in
entity Zhu
action find
entity Zhu Tianxin
relation family name
['Zhu Tianxin', 'family name', 'Zhu']
ASK WHERE { resource:Zhu_Tianxin property:family_name resource:Zhu }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13391907
P1533
Q82799
USER
Which name is identical to that family name ?
action filter_type
action find_reverse
entity Q13391907
relation P1533
type Q82799
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . ?e property:P1533 resource:Q13391907 }
Zhu
action filter_type
action find_reverse
entity Zhu
relation family name identical to this first name
type name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . ?e property:family_name_identical_to_this_first_name resource:Zhu }
[]
name
Q19812041
SYSTEM
Zhu
Q19812041
action filter_type
action find_reverse
entity Q13391907
relation P1533
type Q82799
[ANSWER] is identical to that family name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q82799 . ?e property:P1533 resource:Q13391907 }
Zhu
Zhu is identical to that family name
Zhu
action filter_type
action find_reverse
entity Zhu
relation family name identical to this first name
type name
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:name . ?e property:family_name_identical_to_this_first_name resource:Zhu }
[]