Simple Question (Direct)
Simple Question
Q2253504
P1040
Q502895
USER
Who has editted Castle of Blood ?
(Q2253504,P1040,c(Q502895))
action filter_type
action find
entity Q2253504
relation P1040
type Q502895
['Q2253504', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q2253504 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
Castle of Blood
action filter_type
action find
entity Castle of Blood
relation film editor
type common name
['Castle of Blood', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Castle_of_Blood property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
common name
Q1780890
SYSTEM
Otello Colangeli
Q1780890
(Q2253504,P1040,c(Q502895))
action filter_type
action find
entity Q2253504
relation P1040
type Q502895
[ANSWER] has editted Castle of Blood
['Q2253504', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q2253504 property:P1040 ?k . ?k rdf:type ontology:Q502895 }
Otello Colangeli
Otello Colangeli has editted Castle of Blood
Otello Colangeli
action filter_type
action find
entity Castle of Blood
relation film editor
type common name
['Castle of Blood', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Castle_of_Blood property:film_editor ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1780890
P162
Q838948
USER
Which work of art created that person ?
(c(Q838948),P162,Q1780890)
action filter_type
action find_reverse
entity Q1780890
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q1780890']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P162 resource:Q1780890 }
Otello Colangeli
action filter_type
action find_reverse
entity Otello Colangeli
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Otello Colangeli']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:producer resource:Otello_Colangeli }
[]
work of art
Q3955879
SYSTEM
Serenata amara
Q3955879
(c(Q838948),P162,Q1780890)
action filter_type
action find_reverse
entity Q1780890
relation P162
type Q838948
[ANSWER] created that person
[{'concept': 'Q838948'}, 'P162', 'Q1780890']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q838948 . ?f property:P162 resource:Q1780890 }
Serenata amara
Serenata amara created that person
Serenata amara
action filter_type
action find_reverse
entity Otello Colangeli
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Otello Colangeli']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:work_of_art . ?f property:producer resource:Otello_Colangeli }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for fabrication of exactly 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:P2079 ?m . ?m rdf:type ontology:Q2695280 . ?r rdf:type ontology:Q838948 } GROUP BY ?m } . FILTER ( ?k = 1 ) }
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:fabrication_method ?m . ?m rdf:type ontology:technics . ?r rdf:type ontology:work_of_art } GROUP BY ?m } . FILTER ( ?k = 1 ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action equal
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used for fabrication of exactly 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:P2079 ?m . ?m rdf:type ontology:Q2695280 . ?r rdf:type ontology:Q838948 } GROUP BY ?m } . FILTER ( ?k = 1 ) }
gilding collage
Gilding and collage are used for fabrication of exactly 1 work of art
gilding collage
action equal
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?k ) WHERE { ?r property:fabrication_method ?m . ?m rdf:type ontology:technics . ?r rdf:type ontology:work_of_art } GROUP BY ?m } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for fabrication of approximately 1 work of art ?
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P2079 ?x . ?x rdf:type ontology:Q2695280 . ?t rdf:type ontology:Q838948 } GROUP BY ?x } . FILTER ( ?e = 1 ) }
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:fabrication_method ?x . ?x rdf:type ontology:technics . ?t rdf:type ontology:work_of_art } GROUP BY ?x } . FILTER ( ?e = 1 ) }
[]
technics work of art
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
value 1
[ANSWERS] are used for fabrication of approximately 1 work of art
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:P2079 ?x . ?x rdf:type ontology:Q2695280 . ?t rdf:type ontology:Q838948 } GROUP BY ?x } . FILTER ( ?e = 1 ) }
gilding collage
Gilding and collage are used for fabrication of approximately 1 work of art
gilding collage
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
value 1
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?t ) AS ?e ) WHERE { ?t property:fabrication_method ?x . ?x rdf:type ontology:technics . ?t rdf:type ontology:work_of_art } GROUP BY ?x } . FILTER ( ?e = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1334300 Q170593
P2079
Q838948
USER
Which works of art uses those technicss as their manufacturing method ?
(c(Q838948),P2079,Q1334300) (c(Q838948),P2079,Q170593)
action filter_type
action find_reverse
entity prev_answer
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q1334300'] [{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . VALUES ( ?d ) { ( resource:Q1334300 ) ( resource:Q170593 ) } . ?h property:P2079 ?d }
gilding collage
action filter_type
action find_reverse
entity prev_answer
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'gilding'] [{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . VALUES ( ?d ) { ( resource:gilding ) ( resource:collage ) } . ?h property:fabrication_method ?d }
[]
work of art
Q26267237 Q22669857
SYSTEM
Crowning of ceremony staff (?) of the St. George Guild from Louvain, collage
Q26267237 Q22669857
(c(Q838948),P2079,Q1334300) (c(Q838948),P2079,Q170593)
action filter_type
action find_reverse
entity prev_answer
relation P2079
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P2079', 'Q1334300'] [{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . VALUES ( ?d ) { ( resource:Q1334300 ) ( resource:Q170593 ) } . ?h property:P2079 ?d }
Crowning of ceremony staff (?) of the St. George Guild from Louvain collage
Crowning of ceremony staff () of the St. George Guild from Louvain and collage used those technicss as their manufacturing method
Crowning of ceremony staff (?) of the St. George Guild from Louvain collage
action filter_type
action find_reverse
entity prev_answer
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'gilding'] [{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . VALUES ( ?d ) { ( resource:gilding ) ( resource:collage ) } . ?h property:fabrication_method ?d }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q26267237 Q22669857
P2079
Q2695280
USER
Which technicss are used for fabrication of those works of art ?
(Q26267237,P2079,c(Q2695280)) (Q22669857,P2079,c(Q2695280))
action filter_type
action find
entity prev_answer
relation P2079
type Q2695280
['Q26267237', 'P2079', {'concept': 'Q2695280'}] ['Q22669857', 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2695280 . ?l property:P2079 ?i . VALUES ( ?l ) { ( resource:Q26267237 ) ( resource:Q22669857 ) } }
Crowning of ceremony staff (?) of the St. George Guild from Louvain collage
action filter_type
action find
entity prev_answer
relation fabrication method
type technics
['Crowning of ceremony staff (?) of the St. George Guild from Louvain', 'fabrication method', {'concept': 'technics'}] ['collage', 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:technics . ?l property:fabrication_method ?i . VALUES ( ?l ) { ( resource:Crowning_of_ceremony_staff_(?)_of_the_St._George_Guild_from_Louvain ) ( resource:collage ) } }
[]
technics
Q1334300 Q170593
SYSTEM
gilding, collage
Q1334300 Q170593
(Q26267237,P2079,c(Q2695280)) (Q22669857,P2079,c(Q2695280))
action filter_type
action find
entity prev_answer
relation P2079
type Q2695280
[ANSWERS] are used for fabrication of those works of art
['Q26267237', 'P2079', {'concept': 'Q2695280'}] ['Q22669857', 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2695280 . ?l property:P2079 ?i . VALUES ( ?l ) { ( resource:Q26267237 ) ( resource:Q22669857 ) } }
gilding collage
Gilding and collage are used for fabrication of those works of art
gilding collage
action filter_type
action find
entity prev_answer
relation fabrication method
type technics
['Crowning of ceremony staff (?) of the St. George Guild from Louvain', 'fabrication method', {'concept': 'technics'}] ['collage', 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:technics . ?l property:fabrication_method ?i . VALUES ( ?l ) { ( resource:Crowning_of_ceremony_staff_(?)_of_the_St._George_Guild_from_Louvain ) ( resource:collage ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1334300
P186
Q838948
USER
Which works of art are built using that technics ?
(c(Q838948),P186,Q1334300)
action filter_type
action find_reverse
entity Q1334300
relation P186
type Q838948
[{'concept': 'Q838948'}, 'P186', 'Q1334300']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P186 resource:Q1334300 }
gilding
action filter_type
action find_reverse
entity gilding
relation material used
type work of art
[{'concept': 'work of art'}, 'material used', 'gilding']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:material_used resource:gilding }
[]
work of art
Clarification for simple ques.
Q1334300
SYSTEM
Did you mean gilding ?
Q1334300 Q170593
(c(Q838948),P186,Q1334300) (c(Q838948),P186,Q170593)
[ANSWER]
[{'concept': 'Q838948'}, 'P186', 'Q1334300'] [{'concept': 'Q838948'}, 'P186', 'Q170593']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P186 resource:Q1334300 }
gilding collage
Did you mean gilding ?
gilding
[{'concept': 'work of art'}, 'material used', 'gilding'] [{'concept': 'work of art'}, 'material used', 'collage']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:material_used resource:gilding }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P186,Q1334300)
[{'concept': 'Q838948'}, 'P186', 'Q1334300']
[{'concept': 'work of art'}, 'material used', 'gilding']
[]
Q15534639 Q19243728 Q2928782
SYSTEM
Bust of Charlemagne, Peace, Gustave Eiffel
Q2928782 Q1343193 Q15534639 Q19243728 Q733893
(c(Q838948),P186,Q1334300)
action filter_type
action find_reverse
entity Q1334300
relation P186
type Q838948
[ANSWERS] are built using that technics
[{'concept': 'Q838948'}, 'P186', 'Q1334300']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P186 resource:Q1334300 }
Gustave Eiffel Enceladus Fountain Bust of Charlemagne Peace Chair of Saint Peter
Bust of Charlemagne, Peace and Gustave Eiffel are built using that technics
Bust of Charlemagne Peace Gustave Eiffel
action filter_type
action find_reverse
entity gilding
relation material used
type work of art
[{'concept': 'work of art'}, 'material used', 'gilding']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:material_used resource:gilding }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7190489
Q838948
USER
And how about Picador painting?
(Q7190489,P186,c(Q838948))
action filter_type
action find
entity Q7190489
relation P186
type Q838948
['Q7190489', 'P186', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . resource:Q7190489 property:P186 ?b }
Picador painting
action filter_type
action find
entity Picador painting
relation material used
type work of art
['Picador painting', 'material used', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . resource:Picador_painting property:material_used ?b }
[]
work of art
Q50030
SYSTEM
watercolor
Q50030
(Q7190489,P186,c(Q838948))
action filter_type
action find
entity Q7190489
relation P186
type Q838948
[ANSWER]
['Q7190489', 'P186', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q838948 . resource:Q7190489 property:P186 ?b }
watercolor
watercolor
action filter_type
action find
entity Picador painting
relation material used
type work of art
['Picador painting', 'material used', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:work_of_art . resource:Picador_painting property:material_used ?b }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q337907 Q1334300
P2079
Q21711025
USER
Which sculpture techniques use gilding or wood carving as the method for their assembly ?
OR((c(Q21711025),P2079,Q1334300), (c(Q21711025),P2079,Q337907))
action filter_type
action union
action find_reverse
entity Q1334300
relation P2079
action find_reverse
entity Q337907
relation P2079
type Q21711025
{'OR': [[{'concept': 'Q21711025'}, 'P2079', 'Q1334300'], [{'concept': 'Q21711025'}, 'P2079', 'Q337907']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P2079 resource:Q1334300 } UNION { ?s property:P2079 resource:Q337907 } } . ?s rdf:type ontology:Q21711025 }
wood carving gilding
action filter_type
action union
action find_reverse
entity gilding
relation fabrication method
action find_reverse
entity wood carving
relation fabrication method
type sculpture technique
{'OR': [[{'concept': 'sculpture technique'}, 'fabrication method', 'gilding'], [{'concept': 'sculpture technique'}, 'fabrication method', 'wood carving']]}
SELECT DISTINCT ?s WHERE { { { ?s property:fabrication_method resource:gilding } UNION { ?s property:fabrication_method resource:wood_carving } } . ?s rdf:type ontology:sculpture_technique }
[]
sculpture technique
Q26267269 Q26267272 Q26267260 Q26267270 Q26267271
SYSTEM
Medallion and bird of a collier of a St. George Guild, St. Sebastian, Breastplate of an emperor of the St. Sebastian Guild from Woluwe-Saint-Lambert, St. Barbara, St. Antonius-Abt
Q26267269 Q26267272 Q26267260 Q26267270 Q26267271
OR((c(Q21711025),P2079,Q1334300), (c(Q21711025),P2079,Q337907))
action filter_type
action union
action find_reverse
entity Q1334300
relation P2079
action find_reverse
entity Q337907
relation P2079
type Q21711025
The [ANSWERS] use gilding or wood carving as the method for their assembly
{'OR': [[{'concept': 'Q21711025'}, 'P2079', 'Q1334300'], [{'concept': 'Q21711025'}, 'P2079', 'Q337907']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P2079 resource:Q1334300 } UNION { ?s property:P2079 resource:Q337907 } } . ?s rdf:type ontology:Q21711025 }
Medallion and bird of a collier of a St. George Guild St. Sebastian Breastplate of an emperor of the St. Sebastian Guild from Woluwe-Saint-Lambert St. Barbara St. Antonius-Abt
The Medallion and bird of a collier of a St. George Guild, St. Sebastian, Breastplate of an emperor of the St. Sebastian Guild from Woluwe-Saint-Lambert, St. Barbara and St. Antonius-Abt use gilding or wood carving as the method for their assembly
Medallion and bird of a collier of a St. George Guild St. Sebastian Breastplate of an emperor of the St. Sebastian Guild from Woluwe-Saint-Lambert St. Barbara St. Antonius-Abt
action filter_type
action union
action find_reverse
entity gilding
relation fabrication method
action find_reverse
entity wood carving
relation fabrication method
type sculpture technique
{'OR': [[{'concept': 'sculpture technique'}, 'fabrication method', 'gilding'], [{'concept': 'sculpture technique'}, 'fabrication method', 'wood carving']]}
SELECT DISTINCT ?s WHERE { { { ?s property:fabrication_method resource:gilding } UNION { ?s property:fabrication_method resource:wood_carving } } . ?s rdf:type ontology:sculpture_technique }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q337907
P425
Q12737077
USER
Which occupation does that behavior belong to ?
(c(Q12737077),P425,Q26267269) (c(Q12737077),P425,Q26267272) (c(Q12737077),P425,Q26267260) (c(Q12737077),P425,Q26267270) (c(Q12737077),P425,Q26267271)
action filter_type
action find_reverse
entity Q337907
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q26267269'] [{'concept': 'Q12737077'}, 'P425', 'Q26267272'] [{'concept': 'Q12737077'}, 'P425', 'Q26267260'] [{'concept': 'Q12737077'}, 'P425', 'Q26267270'] [{'concept': 'Q12737077'}, 'P425', 'Q26267271']
SELECT DISTINCT ?m WHERE { ?m property:P425 resource:Q337907 . ?m rdf:type ontology:Q12737077 }
wood carving
action filter_type
action find_reverse
entity wood carving
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'Medallion and bird of a collier of a St. George Guild'] [{'concept': 'occupation'}, 'field of this occupation', 'St. Sebastian'] [{'concept': 'occupation'}, 'field of this occupation', 'Breastplate of an emperor of the St. Sebastian Guild from Woluwe-Saint-Lambert'] [{'concept': 'occupation'}, 'field of this occupation', 'St. Barbara'] [{'concept': 'occupation'}, 'field of this occupation', 'St. Antonius-Abt']
SELECT DISTINCT ?m WHERE { ?m property:field_of_this_occupation resource:wood_carving . ?m rdf:type ontology:occupation }
[]
occupation
Q6138343
SYSTEM
wood carver
Q6138343
(c(Q12737077),P425,Q26267269) (c(Q12737077),P425,Q26267272) (c(Q12737077),P425,Q26267260) (c(Q12737077),P425,Q26267270) (c(Q12737077),P425,Q26267271)
action filter_type
action find_reverse
entity Q337907
relation P425
type Q12737077
That behavior belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q26267269'] [{'concept': 'Q12737077'}, 'P425', 'Q26267272'] [{'concept': 'Q12737077'}, 'P425', 'Q26267260'] [{'concept': 'Q12737077'}, 'P425', 'Q26267270'] [{'concept': 'Q12737077'}, 'P425', 'Q26267271']
SELECT DISTINCT ?m WHERE { ?m property:P425 resource:Q337907 . ?m rdf:type ontology:Q12737077 }
wood carver
That behavior belongs to wood carver
wood carver
action filter_type
action find_reverse
entity wood carving
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'Medallion and bird of a collier of a St. George Guild'] [{'concept': 'occupation'}, 'field of this occupation', 'St. Sebastian'] [{'concept': 'occupation'}, 'field of this occupation', 'Breastplate of an emperor of the St. Sebastian Guild from Woluwe-Saint-Lambert'] [{'concept': 'occupation'}, 'field of this occupation', 'St. Barbara'] [{'concept': 'occupation'}, 'field of this occupation', 'St. Antonius-Abt']
SELECT DISTINCT ?m WHERE { ?m property:field_of_this_occupation resource:wood_carving . ?m rdf:type ontology:occupation }
[]