Simple Question (Direct)
Simple Question
Q19301030
P27
Q15617994
USER
Which administrative territory is the native country of Marcel Sabaté i Reixach ?
(Q19301030,P27,c(Q15617994))
action filter_type
action find
entity Q19301030
relation P27
type Q15617994
['Q19301030', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q19301030 property:P27 ?f }
Marcel Sabaté i Reixach
action filter_type
action find
entity Marcel Sabaté i Reixach
relation country of citizenship
type designation for an administrative territorial entity
['Marcel Sabaté i Reixach', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marcel_Sabaté_i_Reixach property:country_of_citizenship ?f }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q19301030,P27,c(Q15617994))
action filter_type
action find
entity Q19301030
relation P27
type Q15617994
[ANSWER] is the native country of Marcel Sabaté i Reixach
['Q19301030', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q19301030 property:P27 ?f }
Spain
Spain is the native country of Marcel Sabaté i Reixach
Spain
action filter_type
action find
entity Marcel Sabaté i Reixach
relation country of citizenship
type designation for an administrative territorial entity
['Marcel Sabaté i Reixach', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marcel_Sabaté_i_Reixach property:country_of_citizenship ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19301030
P136
Q838948
USER
Which work of art can be considered as genre of Marcel Sabaté i Reixach ?
(Q19301030,P136,c(Q838948))
action filter_type
action find
entity Q19301030
relation P136
type Q838948
['Q19301030', 'P136', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { resource:Q19301030 property:P136 ?n . ?n rdf:type ontology:Q838948 }
Marcel Sabaté i Reixach
action filter_type
action find
entity Marcel Sabaté i Reixach
relation genre
type work of art
['Marcel Sabaté i Reixach', 'genre', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { resource:Marcel_Sabaté_i_Reixach property:genre ?n . ?n rdf:type ontology:work_of_art }
[]
work of art
Q1413570
SYSTEM
Sardana
Q1413570
(Q19301030,P136,c(Q838948))
action filter_type
action find
entity Q19301030
relation P136
type Q838948
[ANSWER] can be considered as genre of Marcel Sabaté i Reixach
['Q19301030', 'P136', {'concept': 'Q838948'}]
SELECT DISTINCT ?n WHERE { resource:Q19301030 property:P136 ?n . ?n rdf:type ontology:Q838948 }
Sardana
Sardana can be considered as genre of Marcel Sabaté i Reixach
Sardana
action filter_type
action find
entity Marcel Sabaté i Reixach
relation genre
type work of art
['Marcel Sabaté i Reixach', 'genre', {'concept': 'work of art'}]
SELECT DISTINCT ?n WHERE { resource:Marcel_Sabaté_i_Reixach property:genre ?n . ?n rdf:type ontology:work_of_art }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17150957
Q838948
USER
And also tell me about Suman Pokhrel?
(Q17150957,P136,c(Q838948))
action filter_type
action find
entity Q17150957
relation P136
type Q838948
['Q17150957', 'P136', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . resource:Q17150957 property:P136 ?c }
Suman Pokhrel
action filter_type
action find
entity Suman Pokhrel
relation genre
type work of art
['Suman Pokhrel', 'genre', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . resource:Suman_Pokhrel property:genre ?c }
[]
work of art
Q2430899
SYSTEM
drama play
Q2430899
(Q17150957,P136,c(Q838948))
action filter_type
action find
entity Q17150957
relation P136
type Q838948
[ANSWER]
['Q17150957', 'P136', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . resource:Q17150957 property:P136 ?c }
drama play
drama play
action filter_type
action find
entity Suman Pokhrel
relation genre
type work of art
['Suman Pokhrel', 'genre', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . resource:Suman_Pokhrel property:genre ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17150957
P50
Q25379
USER
Which play is written by that person ?
(c(Q25379),P50,Q2430899)
action filter_type
action find_reverse
entity Q17150957
relation P50
type Q25379
[{'concept': 'Q25379'}, 'P50', 'Q2430899']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q17150957 . ?f rdf:type ontology:Q25379 }
Suman Pokhrel
action filter_type
action find_reverse
entity Suman Pokhrel
relation author
type play
[{'concept': 'play'}, 'author', 'drama play']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Suman_Pokhrel . ?f rdf:type ontology:play }
[]
play
Q27104107
SYSTEM
Yajnaseni (Play)
Q27104107
(c(Q25379),P50,Q2430899)
action filter_type
action find_reverse
entity Q17150957
relation P50
type Q25379
[ANSWER] is written by that person
[{'concept': 'Q25379'}, 'P50', 'Q2430899']
SELECT DISTINCT ?f WHERE { ?f property:P50 resource:Q17150957 . ?f rdf:type ontology:Q25379 }
Yajnaseni (Play)
Yajnaseni (Play) is written by that person
Yajnaseni (Play)
action filter_type
action find_reverse
entity Suman Pokhrel
relation author
type play
[{'concept': 'play'}, 'author', 'drama play']
SELECT DISTINCT ?f WHERE { ?f property:author resource:Suman_Pokhrel . ?f rdf:type ontology:play }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q27104107 Q1953018
P941
Q502895
USER
Was Yajnaseni (Play) inspired by Pratibha Ray ?
(Q27104107,P941,Q1953018)
action is_in
entity Q1953018
action find
entity Q27104107
relation P941
['Q27104107', 'P941', 'Q1953018']
ASK WHERE { resource:Q27104107 property:P941 resource:Q1953018 }
Yajnaseni (Play) Pratibha Ray
action is_in
entity Pratibha Ray
action find
entity Yajnaseni (Play)
relation inspired by
['Yajnaseni (Play)', 'inspired by', 'Pratibha Ray']
ASK WHERE { resource:Yajnaseni_(Play) property:inspired_by resource:Pratibha_Ray }
[]
common name
SYSTEM
YES
(Q27104107,P941,Q1953018)
action is_in
entity Q1953018
action find
entity Q27104107
relation P941
[ANSWER]
['Q27104107', 'P941', 'Q1953018']
ASK WHERE { resource:Q27104107 property:P941 resource:Q1953018 }
Yes
action is_in
entity Pratibha Ray
action find
entity Yajnaseni (Play)
relation inspired by
['Yajnaseni (Play)', 'inspired by', 'Pratibha Ray']
ASK WHERE { resource:Yajnaseni_(Play) property:inspired_by resource:Pratibha_Ray }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q838948 Q340169 Q15709879
USER
Which works of art are demonstrated in max number of medias or artwork series ?
(c(Q340169)|c(Q15709879),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?s WHERE { { ?d property:P180 ?s . ?d rdf:type ontology:Q340169 . ?s rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q15709879 . ?s rdf:type ontology:Q838948 . ?d property:P180 ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?q WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } GROUP BY ?q } . FILTER ( ?g = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?s WHERE { { ?d property:depicts ?s . ?d rdf:type ontology:media . ?s rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:artwork_series . ?s rdf:type ontology:work_of_art . ?d property:depicts ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?q WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:media ) } } GROUP BY ?q } . FILTER ( ?g = ?o ) }
[]
work of art media artwork series
Q267971 Q733893 Q599302
SYSTEM
Triton Fountain, Chair of Saint Peter, Column of Antoninus Pius
Q267971 Q733893 Q599302
(c(Q340169)|c(Q15709879),P180,c(Q838948))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q340169
action find_reverse_tuple_counts
relation P180
type Q838948
type Q15709879
[ANSWERS] are demonstrated in max number of medias or artwork series
[[{'concept': 'Q340169'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?s WHERE { { ?d property:P180 ?s . ?d rdf:type ontology:Q340169 . ?s rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q15709879 . ?s rdf:type ontology:Q838948 . ?d property:P180 ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?q WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:Q15709879 ) ( ontology:Q340169 ) } } GROUP BY ?q } . FILTER ( ?g = ?o ) }
Triton Fountain Chair of Saint Peter Column of Antoninus Pius
Triton Fountain, Chair of Saint Peter and Column of Antoninus Pius are demonstrated in max number of medias or artwork series
Triton Fountain Chair of Saint Peter Column of Antoninus Pius
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type media
action find_reverse_tuple_counts
relation depicts
type work of art
type artwork series
[[{'concept': 'media'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?s WHERE { { ?d property:depicts ?s . ?d rdf:type ontology:media . ?s rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:artwork_series . ?s rdf:type ontology:work_of_art . ?d property:depicts ?s } } GROUP BY ?s } } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) ?q WHERE { ?b rdf:type ?c . VALUES ( ?c ) { ( ontology:artwork_series ) ( ontology:media ) } } GROUP BY ?q } . FILTER ( ?g = ?o ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3094651
P180
Q15709879
USER
Does Modern Rome demonstrate those works of art ?
(Q3094651,P180,Q267971) (Q3094651,P180,Q733893) (Q3094651,P180,Q599302)
action is_in
entity prev_answer
action find
entity Q3094651
relation P180
['Q3094651', 'P180', 'Q267971'] ['Q3094651', 'P180', 'Q733893'] ['Q3094651', 'P180', 'Q599302']
ASK WHERE { VALUES ( ?h ) { ( resource:Q267971 ) ( resource:Q733893 ) ( resource:Q599302 ) } . resource:Q3094651 property:P180 ?h }
Modern Rome
action is_in
entity prev_answer
action find
entity Modern Rome
relation depicts
['Modern Rome', 'depicts', 'Triton Fountain'] ['Modern Rome', 'depicts', 'Chair of Saint Peter'] ['Modern Rome', 'depicts', 'Column of Antoninus Pius']
ASK WHERE { VALUES ( ?h ) { ( resource:Triton_Fountain ) ( resource:Chair_of_Saint_Peter ) ( resource:Column_of_Antoninus_Pius ) } . resource:Modern_Rome property:depicts ?h }
[]
artwork series
SYSTEM
YES
(Q3094651,P180,Q267971) (Q3094651,P180,Q733893) (Q3094651,P180,Q599302)
action is_in
entity prev_answer
action find
entity Q3094651
relation P180
[ANSWER]
['Q3094651', 'P180', 'Q267971'] ['Q3094651', 'P180', 'Q733893'] ['Q3094651', 'P180', 'Q599302']
ASK WHERE { VALUES ( ?h ) { ( resource:Q267971 ) ( resource:Q733893 ) ( resource:Q599302 ) } . resource:Q3094651 property:P180 ?h }
Yes
action is_in
entity prev_answer
action find
entity Modern Rome
relation depicts
['Modern Rome', 'depicts', 'Triton Fountain'] ['Modern Rome', 'depicts', 'Chair of Saint Peter'] ['Modern Rome', 'depicts', 'Column of Antoninus Pius']
ASK WHERE { VALUES ( ?h ) { ( resource:Triton_Fountain ) ( resource:Chair_of_Saint_Peter ) ( resource:Column_of_Antoninus_Pius ) } . resource:Modern_Rome property:depicts ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349263
P40
Q502895
USER
Who have Shōmu as a child ?
(c(Q502895),P40,Q349263)
action filter_type
action find_reverse
entity Q349263
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q349263']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q349263 . ?t rdf:type ontology:Q502895 }
Shōmu
action filter_type
action find_reverse
entity Shōmu
relation child
type common name
[{'concept': 'common name'}, 'child', 'Shōmu']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Shōmu . ?t rdf:type ontology:common_name }
[]
common name
Q11623185 Q357246
SYSTEM
Fujiwara no Miyako, Mommu
Q11623185 Q357246
(c(Q502895),P40,Q349263)
action filter_type
action find_reverse
entity Q349263
relation P40
type Q502895
[ANSWERS] have Shōmu as a child
[{'concept': 'Q502895'}, 'P40', 'Q349263']
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q349263 . ?t rdf:type ontology:Q502895 }
Fujiwara no Miyako Mommu
Fujiwara no Miyako and Mommu have Shōmu as a child
Fujiwara no Miyako Mommu
action filter_type
action find_reverse
entity Shōmu
relation child
type common name
[{'concept': 'common name'}, 'child', 'Shōmu']
SELECT DISTINCT ?t WHERE { ?t property:child resource:Shōmu . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q349263
P22
Q502895
USER
Which people have Shōmu as dad ?
(c(Q502895),P22,Q349263)
action filter_type
action find_reverse
entity Q349263
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q349263']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P22 resource:Q349263 }
Shōmu
action filter_type
action find_reverse
entity Shōmu
relation father
type common name
[{'concept': 'common name'}, 'father', 'Shōmu']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:father resource:Shōmu }
[]
common name
Q232955 Q7244649 Q11361820
SYSTEM
Kōken, Inoe-naishinnō, Fuwa-naishinnō
Q7244649 Q232955 Q11361820 Q11426431 Q11451164
(c(Q502895),P22,Q349263)
action filter_type
action find_reverse
entity Q349263
relation P22
type Q502895
[ANSWERS] have Shōmu as dad
[{'concept': 'Q502895'}, 'P22', 'Q349263']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P22 resource:Q349263 }
Inoe-naishinnō Kōken Fuwa-naishinnō Motoi-ō Asaka-shinnō
Kōken, Inoe-naishinnō and Fuwa-naishinnō have Shōmu as dad
Kōken Inoe-naishinnō Fuwa-naishinnō
action filter_type
action find_reverse
entity Shōmu
relation father
type common name
[{'concept': 'common name'}, 'father', 'Shōmu']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:father resource:Shōmu }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7244649
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q7244649)
action filter_type
action find
entity Q7244649
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q7244649']
SELECT DISTINCT ?f WHERE { resource:Q7244649 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Inoe-naishinnō
action filter_type
action find
entity Inoe-naishinnō
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Inoe-naishinnō']
SELECT DISTINCT ?f WHERE { resource:Inoe-naishinnō property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q11361820
SYSTEM
Did you mean Fuwa-naishinnō ?
Q232955 Q7244649 Q11361820
(c(Q502895),P26,Q232955) (c(Q502895),P26,Q7244649) (c(Q502895),P26,Q11361820)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q232955'] [{'concept': 'Q502895'}, 'P26', 'Q7244649'] [{'concept': 'Q502895'}, 'P26', 'Q11361820']
SELECT DISTINCT ?f WHERE { resource:Q7244649 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Kōken Inoe-naishinnō Fuwa-naishinnō
Did you mean Fuwa-naishinnō ?
Fuwa-naishinnō
[{'concept': 'common name'}, 'spouse', 'Kōken'] [{'concept': 'common name'}, 'spouse', 'Inoe-naishinnō'] [{'concept': 'common name'}, 'spouse', 'Fuwa-naishinnō']
SELECT DISTINCT ?f WHERE { resource:Inoe-naishinnō property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Inoe-naishinnō. Could you tell me the answer for that?
(c(Q502895),P26,Q7244649)
Q7244649
[{'concept': 'Q502895'}, 'P26', 'Q7244649']
[{'concept': 'common name'}, 'spouse', 'Inoe-naishinnō']
[]
Q958662
SYSTEM
Kōnin
Q958662
(c(Q502895),P26,Q7244649)
action filter_type
action find
entity Q7244649
relation P26
type Q502895
The spouse of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q7244649']
SELECT DISTINCT ?f WHERE { resource:Q7244649 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Kōnin
The spouse of that one is the Kōnin
Kōnin
action filter_type
action find
entity Inoe-naishinnō
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Inoe-naishinnō']
SELECT DISTINCT ?f WHERE { resource:Inoe-naishinnō property:spouse ?f . ?f rdf:type ontology:common_name }
[]