Simple Question (Direct)
Simple Question
Q3968677
P170
Q502895
USER
Which person is the creater of Equestrian statue of Charles IV ?
(Q3968677,P170,c(Q502895))
action filter_type
action find
entity Q3968677
relation P170
type Q502895
['Q3968677', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3968677 property:P170 ?o . ?o rdf:type ontology:Q502895 }
Equestrian statue of Charles IV
action filter_type
action find
entity Equestrian statue of Charles IV
relation creator
type common name
['Equestrian statue of Charles IV', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Equestrian_statue_of_Charles_IV property:creator ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1374668
SYSTEM
Manuel Tolsá
Q1374668
(Q3968677,P170,c(Q502895))
action filter_type
action find
entity Q3968677
relation P170
type Q502895
[ANSWER] is the creater of Equestrian statue of Charles IV
['Q3968677', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3968677 property:P170 ?o . ?o rdf:type ontology:Q502895 }
Manuel Tolsá
Manuel Tolsá is the creater of Equestrian statue of Charles IV
Manuel Tolsá
action filter_type
action find
entity Equestrian statue of Charles IV
relation creator
type common name
['Equestrian statue of Charles IV', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Equestrian_statue_of_Charles_IV property:creator ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3968677
P921
Q502895
USER
Which person was the main subject of Equestrian statue of Charles IV 's work ?
(Q3968677,P921,c(Q502895))
action filter_type
action find
entity Q3968677
relation P921
type Q502895
['Q3968677', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q3968677 property:P921 ?p }
Equestrian statue of Charles IV
action filter_type
action find
entity Equestrian statue of Charles IV
relation main subject
type common name
['Equestrian statue of Charles IV', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Equestrian_statue_of_Charles_IV property:main_subject ?p }
[]
common name
Q183226
SYSTEM
Charles IV of Spain
Q183226
(Q3968677,P921,c(Q502895))
action filter_type
action find
entity Q3968677
relation P921
type Q502895
[ANSWER] was the main subject of Equestrian statue of Charles IV 's work
['Q3968677', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . resource:Q3968677 property:P921 ?p }
Charles IV of Spain
Charles IV of Spain was the main subject of Equestrian statue of Charles IV 's work
Charles IV of Spain
action filter_type
action find
entity Equestrian statue of Charles IV
relation main subject
type common name
['Equestrian statue of Charles IV', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . resource:Equestrian_statue_of_Charles_IV property:main_subject ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3968677
P186
Q5447188
USER
Which solution is used to make that work of art ?
(Q183226,P186,c(Q5447188))
action filter_type
action find
entity Q3968677
relation P186
type Q5447188
['Q183226', 'P186', {'concept': 'Q5447188'}]
SELECT DISTINCT ?d WHERE { resource:Q3968677 property:P186 ?d . ?d rdf:type ontology:Q5447188 }
Equestrian statue of Charles IV
action filter_type
action find
entity Equestrian statue of Charles IV
relation material used
type solution
['Charles IV of Spain', 'material used', {'concept': 'solution'}]
SELECT DISTINCT ?d WHERE { resource:Equestrian_statue_of_Charles_IV property:material_used ?d . ?d rdf:type ontology:solution }
[]
solution
Q34095
SYSTEM
bronze
Q34095
(Q183226,P186,c(Q5447188))
action filter_type
action find
entity Q3968677
relation P186
type Q5447188
The [ANSWER] is used to make that work of art
['Q183226', 'P186', {'concept': 'Q5447188'}]
SELECT DISTINCT ?d WHERE { resource:Q3968677 property:P186 ?d . ?d rdf:type ontology:Q5447188 }
bronze
The bronze is used to make that work of art
bronze
action filter_type
action find
entity Equestrian statue of Charles IV
relation material used
type solution
['Charles IV of Spain', 'material used', {'concept': 'solution'}]
SELECT DISTINCT ?d WHERE { resource:Equestrian_statue_of_Charles_IV property:material_used ?d . ?d rdf:type ontology:solution }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183226
P7
Q502895
USER
Which people have Charles IV of Spain as their brother ?
(c(Q502895),P7,Q183226)
action filter_type
action find_reverse
entity Q183226
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q183226']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P7 resource:Q183226 }
Charles IV of Spain
action filter_type
action find_reverse
entity Charles IV of Spain
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Charles IV of Spain']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:brother resource:Charles_IV_of_Spain }
[]
common name
Q312325 Q229826 Q2325634
SYSTEM
Ferdinand I of the Two Sicilies, Maria Luisa of Spain, Infante Gabriel of Spain
Q1406351 Q2325634 Q604419 Q229826 Q2213967 Q312325 Q2630473
(c(Q502895),P7,Q183226)
action filter_type
action find_reverse
entity Q183226
relation P7
type Q502895
[ANSWERS] have Charles IV of Spain as their brother
[{'concept': 'Q502895'}, 'P7', 'Q183226']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . ?d property:P7 resource:Q183226 }
Infante Philip, Duke of Calabria Infante Gabriel of Spain Infanta Maria Josefa of Spain Maria Luisa of Spain Frans van Spanje Ferdinand I of the Two Sicilies Infante Antonio Pascual of Spain
Ferdinand I of the Two Sicilies, Maria Luisa of Spain and Infante Gabriel of Spain have Charles IV of Spain as their brother
Ferdinand I of the Two Sicilies Maria Luisa of Spain Infante Gabriel of Spain
action filter_type
action find_reverse
entity Charles IV of Spain
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Charles IV of Spain']
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . ?d property:brother resource:Charles_IV_of_Spain }
[]
Clarification
Simple Question|Single Entity|Indirect
Q312325
P180
Q838948
USER
Which work of art expresses that person ?
(c(Q838948),P180,Q312325)
action filter_type
action find_reverse
entity Q312325
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q312325']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q312325 . ?e rdf:type ontology:Q838948 }
Ferdinand I of the Two Sicilies
action filter_type
action find_reverse
entity Ferdinand I of the Two Sicilies
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Ferdinand I of the Two Sicilies']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:Ferdinand_I_of_the_Two_Sicilies . ?e rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q312325
SYSTEM
Did you mean Ferdinand I of the Two Sicilies ?
Q312325 Q229826 Q2325634
(c(Q838948),P180,Q312325) (c(Q838948),P180,Q229826) (c(Q838948),P180,Q2325634)
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q312325'] [{'concept': 'Q838948'}, 'P180', 'Q229826'] [{'concept': 'Q838948'}, 'P180', 'Q2325634']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q312325 . ?e rdf:type ontology:Q838948 }
Ferdinand I of the Two Sicilies Maria Luisa of Spain Infante Gabriel of Spain
Did you mean Ferdinand I of the Two Sicilies ?
Ferdinand I of the Two Sicilies
[{'concept': 'work of art'}, 'depicts', 'Ferdinand I of the Two Sicilies'] [{'concept': 'work of art'}, 'depicts', 'Maria Luisa of Spain'] [{'concept': 'work of art'}, 'depicts', 'Infante Gabriel of Spain']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:Ferdinand_I_of_the_Two_Sicilies . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P180,Q312325)
[{'concept': 'Q838948'}, 'P180', 'Q312325']
[{'concept': 'work of art'}, 'depicts', 'Ferdinand I of the Two Sicilies']
[]
Q21141646
SYSTEM
Equestrian statue of Ferdinando I
Q21141646
(c(Q838948),P180,Q312325)
action filter_type
action find_reverse
entity Q312325
relation P180
type Q838948
[ANSWER] expresses that person
[{'concept': 'Q838948'}, 'P180', 'Q312325']
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q312325 . ?e rdf:type ontology:Q838948 }
Equestrian statue of Ferdinando I
Equestrian statue of Ferdinando I expresses that person
Equestrian statue of Ferdinando I
action filter_type
action find_reverse
entity Ferdinand I of the Two Sicilies
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Ferdinand I of the Two Sicilies']
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:Ferdinand_I_of_the_Two_Sicilies . ?e rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q21141646 Q312325
P921
Q502895
USER
Was Ferdinand I of the Two Sicilies discussed in that work of art ?
(Q21141646,P921,Q312325)
action is_in
entity Q312325
action find
entity Q21141646
relation P921
['Q21141646', 'P921', 'Q312325']
ASK WHERE { resource:Q21141646 property:P921 resource:Q312325 }
Equestrian statue of Ferdinando I Ferdinand I of the Two Sicilies
action is_in
entity Ferdinand I of the Two Sicilies
action find
entity Equestrian statue of Ferdinando I
relation main subject
['Equestrian statue of Ferdinando I', 'main subject', 'Ferdinand I of the Two Sicilies']
ASK WHERE { resource:Equestrian_statue_of_Ferdinando_I property:main_subject resource:Ferdinand_I_of_the_Two_Sicilies }
[]
common name
SYSTEM
YES
(Q21141646,P921,Q312325)
action is_in
entity Q312325
action find
entity Q21141646
relation P921
[ANSWER]
['Q21141646', 'P921', 'Q312325']
ASK WHERE { resource:Q21141646 property:P921 resource:Q312325 }
Yes
action is_in
entity Ferdinand I of the Two Sicilies
action find
entity Equestrian statue of Ferdinando I
relation main subject
['Equestrian statue of Ferdinando I', 'main subject', 'Ferdinand I of the Two Sicilies']
ASK WHERE { resource:Equestrian_statue_of_Ferdinando_I property:main_subject resource:Ferdinand_I_of_the_Two_Sicilies }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3968677 Q183226 Q6384595
P180
Q502895
USER
Does Equestrian statue of Charles IV demonstrate Charles IV of Spain and Keith Kessinger ?
(Q3968677,P180,Q183226) (Q3968677,P180,Q6384595)
action is_in
entity Q3968677
action intersection
action find_reverse
entity Q183226
relation P180
action find_reverse
entity Q6384595
relation P180
['Q3968677', 'P180', 'Q183226'] ['Q3968677', 'P180', 'Q6384595']
ASK WHERE { resource:Q3968677 property:P180 resource:Q6384595 . resource:Q3968677 property:P180 resource:Q183226 }
Equestrian statue of Charles IV Charles IV of Spain Keith Kessinger
action is_in
entity Equestrian statue of Charles IV
action intersection
action find_reverse
entity Charles IV of Spain
relation depicts
action find_reverse
entity Keith Kessinger
relation depicts
['Equestrian statue of Charles IV', 'depicts', 'Charles IV of Spain'] ['Equestrian statue of Charles IV', 'depicts', 'Keith Kessinger']
ASK WHERE { resource:Equestrian_statue_of_Charles_IV property:depicts resource:Keith_Kessinger . resource:Equestrian_statue_of_Charles_IV property:depicts resource:Charles_IV_of_Spain }
[]
common name
SYSTEM
YES and NO respectively
(Q3968677,P180,Q183226) (Q3968677,P180,Q6384595)
action is_in
entity Q3968677
action intersection
action find_reverse
entity Q183226
relation P180
action find_reverse
entity Q6384595
relation P180
[ANSWER]
['Q3968677', 'P180', 'Q183226'] ['Q3968677', 'P180', 'Q6384595']
ASK WHERE { resource:Q3968677 property:P180 resource:Q6384595 . resource:Q3968677 property:P180 resource:Q183226 }
YES and NO respectively
action is_in
entity Equestrian statue of Charles IV
action intersection
action find_reverse
entity Charles IV of Spain
relation depicts
action find_reverse
entity Keith Kessinger
relation depicts
['Equestrian statue of Charles IV', 'depicts', 'Charles IV of Spain'] ['Equestrian statue of Charles IV', 'depicts', 'Keith Kessinger']
ASK WHERE { resource:Equestrian_statue_of_Charles_IV property:depicts resource:Keith_Kessinger . resource:Equestrian_statue_of_Charles_IV property:depicts resource:Charles_IV_of_Spain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3968677
P136
Q1792379
USER
What can be considered as category for that work of art ?
action filter_type
action find
entity Q3968677
relation P136
type Q1792379
SELECT DISTINCT ?v WHERE { resource:Q3968677 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
Equestrian statue of Charles IV
action filter_type
action find
entity Equestrian statue of Charles IV
relation genre
type art genre
SELECT DISTINCT ?v WHERE { resource:Equestrian_statue_of_Charles_IV property:genre ?v . ?v rdf:type ontology:art_genre }
[]
art genre
Q659396
SYSTEM
equestrian statue
Q659396
action filter_type
action find
entity Q3968677
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
SELECT DISTINCT ?v WHERE { resource:Q3968677 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
equestrian statue
Equestrian statue can be considered as category for that work of art
equestrian statue
action filter_type
action find
entity Equestrian statue of Charles IV
relation genre
type art genre
SELECT DISTINCT ?v WHERE { resource:Equestrian_statue_of_Charles_IV property:genre ?v . ?v rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q659396 Q2730732
P180
Q12737077
USER
Is equestrian expressed in that art genre ?
(Q659396,P180,Q2730732)
action is_in
entity Q2730732
action find
entity Q659396
relation P180
['Q659396', 'P180', 'Q2730732']
ASK WHERE { resource:Q659396 property:P180 resource:Q2730732 }
equestrian statue equestrian
action is_in
entity equestrian
action find
entity equestrian statue
relation depicts
['equestrian statue', 'depicts', 'equestrian']
ASK WHERE { resource:equestrian_statue property:depicts resource:equestrian }
[]
occupation
SYSTEM
YES
(Q659396,P180,Q2730732)
action is_in
entity Q2730732
action find
entity Q659396
relation P180
[ANSWER]
['Q659396', 'P180', 'Q2730732']
ASK WHERE { resource:Q659396 property:P180 resource:Q2730732 }
Yes
action is_in
entity equestrian
action find
entity equestrian statue
relation depicts
['equestrian statue', 'depicts', 'equestrian']
ASK WHERE { resource:equestrian_statue property:depicts resource:equestrian }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2828759 Q183226
P26
Q502895
USER
Which people are married to Charles IV of Spain or Eva Baer ?
OR((c(Q502895),P26,Q183226), (c(Q502895),P26,Q2828759))
action filter_type
action union
action find_reverse
entity Q183226
relation P26
action find_reverse
entity Q2828759
relation P26
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q183226'], [{'concept': 'Q502895'}, 'P26', 'Q2828759']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P26 resource:Q183226 } UNION { ?s property:P26 resource:Q2828759 } } . ?s rdf:type ontology:Q502895 }
Eva Baer Charles IV of Spain
action filter_type
action union
action find_reverse
entity Charles IV of Spain
relation spouse
action find_reverse
entity Eva Baer
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Charles IV of Spain'], [{'concept': 'common name'}, 'spouse', 'Eva Baer']]}
SELECT DISTINCT ?s WHERE { { { ?s property:spouse resource:Charles_IV_of_Spain } UNION { ?s property:spouse resource:Eva_Baer } } . ?s rdf:type ontology:common_name }
[]
common name
Q229854 Q17628792
SYSTEM
Maria Luisa of Parma, Gabriel Baer
Q229854 Q17628792
OR((c(Q502895),P26,Q183226), (c(Q502895),P26,Q2828759))
action filter_type
action union
action find_reverse
entity Q183226
relation P26
action find_reverse
entity Q2828759
relation P26
type Q502895
[ANSWERS] are married to Charles IV of Spain or Eva Baer
{'OR': [[{'concept': 'Q502895'}, 'P26', 'Q183226'], [{'concept': 'Q502895'}, 'P26', 'Q2828759']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P26 resource:Q183226 } UNION { ?s property:P26 resource:Q2828759 } } . ?s rdf:type ontology:Q502895 }
Maria Luisa of Parma Gabriel Baer
Maria Luisa of Parma and Gabriel Baer are married to Charles IV of Spain or Eva Baer
Maria Luisa of Parma Gabriel Baer
action filter_type
action union
action find_reverse
entity Charles IV of Spain
relation spouse
action find_reverse
entity Eva Baer
relation spouse
type common name
{'OR': [[{'concept': 'common name'}, 'spouse', 'Charles IV of Spain'], [{'concept': 'common name'}, 'spouse', 'Eva Baer']]}
SELECT DISTINCT ?s WHERE { { { ?s property:spouse resource:Charles_IV_of_Spain } UNION { ?s property:spouse resource:Eva_Baer } } . ?s rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q229854
P112
Q193622
USER
Which order was founded by that person ?
(c(Q193622),P112,Q229854)
action filter_type
action find_reverse
entity Q229854
relation P112
type Q193622
[{'concept': 'Q193622'}, 'P112', 'Q229854']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q229854 . ?v rdf:type ontology:Q193622 }
Maria Luisa of Parma
action filter_type
action find_reverse
entity Maria Luisa of Parma
relation founder
type order
[{'concept': 'order'}, 'founder', 'Maria Luisa of Parma']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Maria_Luisa_of_Parma . ?v rdf:type ontology:order }
[]
order
Clarification for simple ques.
Q229854
SYSTEM
Did you mean Maria Luisa of Parma ?
Q229854 Q17628792
(c(Q193622),P112,Q229854) (c(Q193622),P112,Q17628792)
[ANSWER]
[{'concept': 'Q193622'}, 'P112', 'Q229854'] [{'concept': 'Q193622'}, 'P112', 'Q17628792']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q229854 . ?v rdf:type ontology:Q193622 }
Maria Luisa of Parma Gabriel Baer
Did you mean Maria Luisa of Parma ?
Maria Luisa of Parma
[{'concept': 'order'}, 'founder', 'Maria Luisa of Parma'] [{'concept': 'order'}, 'founder', 'Gabriel Baer']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Maria_Luisa_of_Parma . ?v rdf:type ontology:order }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q193622),P112,Q229854)
[{'concept': 'Q193622'}, 'P112', 'Q229854']
[{'concept': 'order'}, 'founder', 'Maria Luisa of Parma']
[]
Q1796163
SYSTEM
Order of Queen Maria Luisa
Q1796163
(c(Q193622),P112,Q229854)
action filter_type
action find_reverse
entity Q229854
relation P112
type Q193622
The [ANSWER] was founded by that person
[{'concept': 'Q193622'}, 'P112', 'Q229854']
SELECT DISTINCT ?v WHERE { ?v property:P112 resource:Q229854 . ?v rdf:type ontology:Q193622 }
Order of Queen Maria Luisa
The Order of Queen Maria Luisa was founded by that person
Order of Queen Maria Luisa
action filter_type
action find_reverse
entity Maria Luisa of Parma
relation founder
type order
[{'concept': 'order'}, 'founder', 'Maria Luisa of Parma']
SELECT DISTINCT ?v WHERE { ?v property:founder resource:Maria_Luisa_of_Parma . ?v rdf:type ontology:order }
[]