Simple Question (Direct)
Simple Question
Q10931691
P7
Q502895
USER
Who are Shoushu Diji a sibling of ?
(Q10931691,P7,c(Q502895))
action filter_type
action find
entity Q10931691
relation P7
type Q502895
['Q10931691', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q10931691 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Shoushu Diji
action filter_type
action find
entity Shoushu Diji
relation brother
type common name
['Shoushu Diji', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Shoushu_Diji property:brother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q7489 Q7488 Q16078407
SYSTEM
Emperor Gaozong of Song, Emperor Qinzong of Song, Zhao Yi
Q16075388 Q16075356 Q16077916 Q7489 Q7488 Q16078407 Q15926392 Q16075373 Q15953734 Q16075377 Q16075415 Q16075410 Q16075331 Q16075330 Q16075318 Q15927754 Q16075365 Q16075392 Q16077821 Q16078299 Q16075370 Q16078102 Q16075283 Q16078792 Q16075348 Q16075362 Q16075284 Q16075321 Q16075344 Q16075369 Q16075403 Q16075402 Q16075307 Q16075407 Q16075341
(Q10931691,P7,c(Q502895))
action filter_type
action find
entity Q10931691
relation P7
type Q502895
Shoushu Diji are a sibling of the [ANSWERS]
['Q10931691', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q10931691 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Zhao Yang Zhao Xiang Zhao Ji Emperor Gaozong of Song Emperor Qinzong of Song Zhao Yi Zhao Zhen Zhao Mu Zhao Shu Zhao Yue Zhao Tong Zhao Si Zhao Xu Zhao Bing Zhao E Zhao Kai Zhao Shi Zhao Tan Zhao Zhu Zhao Jian Zhao Ji Zhao Qi Zhao Cheng Zhao Dong Zhao Gong Zhao Ji Zhao Pu Zhao Wo Zhao Cai Zhao Chan Zhao Chun Zhao Yu Zhao Di Zhao Zhi Zhao Cong
Shoushu Diji are a sibling of the Emperor Gaozong of Song, Emperor Qinzong of Song and Zhao Yi
Emperor Gaozong of Song Emperor Qinzong of Song Zhao Yi
action filter_type
action find
entity Shoushu Diji
relation brother
type common name
['Shoushu Diji', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Shoushu_Diji property:brother ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7489 Q7488 Q16078407
P21
Q290
USER
Which sexes do those people belong to ?
(Q7489,P21,c(Q290)) (Q7488,P21,c(Q290)) (Q16078407,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q7489', 'P21', {'concept': 'Q290'}] ['Q7488', 'P21', {'concept': 'Q290'}] ['Q16078407', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?l ) { ( resource:Q16075388 ) ( resource:Q16075356 ) ( resource:Q16077916 ) } . ?q rdf:type ontology:Q290 . ?l property:P21 ?q }
Emperor Gaozong of Song Emperor Qinzong of Song Zhao Yi
action filter_type
action find
entity prev_answer
relation gender
type sex
['Emperor Gaozong of Song', 'gender', {'concept': 'sex'}] ['Emperor Qinzong of Song', 'gender', {'concept': 'sex'}] ['Zhao Yi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?l ) { ( resource:Zhao_Yang ) ( resource:Zhao_Xiang ) ( resource:Zhao_Ji ) } . ?q rdf:type ontology:sex . ?l property:gender ?q }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097
(Q7489,P21,c(Q290)) (Q7488,P21,c(Q290)) (Q16078407,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people belong to [ANSWER], [ANSWER] and [ANSWER]
['Q7489', 'P21', {'concept': 'Q290'}] ['Q7488', 'P21', {'concept': 'Q290'}] ['Q16078407', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?l ) { ( resource:Q16075388 ) ( resource:Q16075356 ) ( resource:Q16077916 ) } . ?q rdf:type ontology:Q290 . ?l property:P21 ?q }
male male male
Those people belong to male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Emperor Gaozong of Song', 'gender', {'concept': 'sex'}] ['Emperor Qinzong of Song', 'gender', {'concept': 'sex'}] ['Zhao Yi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { VALUES ( ?l ) { ( resource:Zhao_Yang ) ( resource:Zhao_Xiang ) ( resource:Zhao_Ji ) } . ?q rdf:type ontology:sex . ?l property:gender ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7489
P26
Q502895
USER
Which people are married to Emperor Gaozong of Song ?
(c(Q502895),P26,Q7489)
action filter_type
action find
entity Q7489
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7489']
SELECT DISTINCT ?l WHERE { resource:Q7489 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Emperor Gaozong of Song
action filter_type
action find
entity Emperor Gaozong of Song
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Gaozong of Song']
SELECT DISTINCT ?l WHERE { resource:Emperor_Gaozong_of_Song property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q8251876 Q5374620 Q5374640
SYSTEM
Pan Xianfei, Empress Wu, Empress Xing
Q8251876 Q5374620 Q5374640
(c(Q502895),P26,Q7489)
action filter_type
action find
entity Q7489
relation P26
type Q502895
[ANSWERS] are married to Emperor Gaozong of Song
[{'concept': 'Q502895'}, 'P26', 'Q7489']
SELECT DISTINCT ?l WHERE { resource:Q7489 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Pan Xianfei Empress Wu Empress Xing
Pan Xianfei, Empress Wu and Empress Xing are married to Emperor Gaozong of Song
Pan Xianfei Empress Wu Empress Xing
action filter_type
action find
entity Emperor Gaozong of Song
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Emperor Gaozong of Song']
SELECT DISTINCT ?l WHERE { resource:Emperor_Gaozong_of_Song property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8251876
P25
Q502895
USER
Which person has that one as mom ?
(c(Q502895),P25,Q8251876)
action filter_type
action find_reverse
entity Q8251876
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q8251876']
SELECT DISTINCT ?h WHERE { ?h property:P25 resource:Q8251876 . ?h rdf:type ontology:Q502895 }
Pan Xianfei
action filter_type
action find_reverse
entity Pan Xianfei
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Pan Xianfei']
SELECT DISTINCT ?h WHERE { ?h property:mother resource:Pan_Xianfei . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q8251876
SYSTEM
Did you mean Pan Xianfei ?
Q8251876 Q5374620 Q5374640
(c(Q502895),P25,Q8251876) (c(Q502895),P25,Q5374620) (c(Q502895),P25,Q5374640)
[ANSWER]
[{'concept': 'Q502895'}, 'P25', 'Q8251876'] [{'concept': 'Q502895'}, 'P25', 'Q5374620'] [{'concept': 'Q502895'}, 'P25', 'Q5374640']
SELECT DISTINCT ?h WHERE { ?h property:P25 resource:Q8251876 . ?h rdf:type ontology:Q502895 }
Pan Xianfei Empress Wu Empress Xing
Did you mean Pan Xianfei ?
Pan Xianfei
[{'concept': 'common name'}, 'mother', 'Pan Xianfei'] [{'concept': 'common name'}, 'mother', 'Empress Wu'] [{'concept': 'common name'}, 'mother', 'Empress Xing']
SELECT DISTINCT ?h WHERE { ?h property:mother resource:Pan_Xianfei . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P25,Q8251876)
[{'concept': 'Q502895'}, 'P25', 'Q8251876']
[{'concept': 'common name'}, 'mother', 'Pan Xianfei']
[]
Q11636648
SYSTEM
Zhao Fu
Q11636648
(c(Q502895),P25,Q8251876)
action filter_type
action find_reverse
entity Q8251876
relation P25
type Q502895
[ANSWER] has that one as mom
[{'concept': 'Q502895'}, 'P25', 'Q8251876']
SELECT DISTINCT ?h WHERE { ?h property:P25 resource:Q8251876 . ?h rdf:type ontology:Q502895 }
Zhao Fu
Zhao Fu has that one as mom
Zhao Fu
action filter_type
action find_reverse
entity Pan Xianfei
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Pan Xianfei']
SELECT DISTINCT ?h WHERE { ?h property:mother resource:Pan_Xianfei . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques had their voice dubbing done by max number of people ?
(c(Q1001378),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q1001378
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?u property:P725 ?h . ?u rdf:type ontology:Q1001378 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?s ) WHERE { ?f property:P725 ?o . ?f rdf:type ontology:Q1001378 . ?o rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?s = ?w ) }
action argmax
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?u property:voice_actor ?h . ?u rdf:type ontology:cinematic_technique . ?h rdf:type ontology:common_name } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?s ) WHERE { ?f property:voice_actor ?o . ?f rdf:type ontology:cinematic_technique . ?o rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?s = ?w ) }
[]
common name cinematic technique
Q9321426
SYSTEM
Finding Dory
Q9321426
(c(Q1001378),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q1001378
type Q502895
[ANSWER] had their voice dubbing done by max number of people
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?u property:P725 ?h . ?u rdf:type ontology:Q1001378 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?s ) WHERE { ?f property:P725 ?o . ?f rdf:type ontology:Q1001378 . ?o rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?s = ?w ) }
Finding Dory
Finding Dory had their voice dubbing done by max number of people
Finding Dory
action argmax
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?i ) WHERE { ?u property:voice_actor ?h . ?u rdf:type ontology:cinematic_technique . ?h rdf:type ontology:common_name } GROUP BY ?u } } . { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?s ) WHERE { ?f property:voice_actor ?o . ?f rdf:type ontology:cinematic_technique . ?o rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?s = ?w ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9321426
P1040
Q502895
USER
Who has editted that cinematic technique ?
(Q9321426,P1040,c(Q502895))
action filter_type
action find
entity Q9321426
relation P1040
type Q502895
['Q9321426', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q9321426 property:P1040 ?j . ?j rdf:type ontology:Q502895 }
Finding Dory
action filter_type
action find
entity Finding Dory
relation film editor
type common name
['Finding Dory', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Finding_Dory property:film_editor ?j . ?j rdf:type ontology:common_name }
[]
common name
Q24515239
SYSTEM
Axel Geddes
Q24515239
(Q9321426,P1040,c(Q502895))
action filter_type
action find
entity Q9321426
relation P1040
type Q502895
[ANSWER] has editted that cinematic technique
['Q9321426', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q9321426 property:P1040 ?j . ?j rdf:type ontology:Q502895 }
Axel Geddes
Axel Geddes has editted that cinematic technique
Axel Geddes
action filter_type
action find
entity Finding Dory
relation film editor
type common name
['Finding Dory', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Finding_Dory property:film_editor ?j . ?j rdf:type ontology:common_name }
[]