Simple Question (Direct)
Simple Question
Q9306333
P1884
Q1075
USER
What best describes hair of Renata Gabryjelska ?
(Q9306333,P1884,c(Q1075))
action filter_type
action find
entity Q9306333
relation P1884
type Q1075
['Q9306333', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?d WHERE { resource:Q9306333 property:P1884 ?d . ?d rdf:type ontology:Q1075 }
Renata Gabryjelska
action filter_type
action find
entity Renata Gabryjelska
relation hair color
type color
['Renata Gabryjelska', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?d WHERE { resource:Renata_Gabryjelska property:hair_color ?d . ?d rdf:type ontology:color }
[]
color
Q2367101
SYSTEM
brown hair
Q2367101
(Q9306333,P1884,c(Q1075))
action filter_type
action find
entity Q9306333
relation P1884
type Q1075
[ANSWER] best describes hair of Renata Gabryjelska
['Q9306333', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?d WHERE { resource:Q9306333 property:P1884 ?d . ?d rdf:type ontology:Q1075 }
brown hair
Brown hair best describes hair of Renata Gabryjelska
brown hair
action filter_type
action find
entity Renata Gabryjelska
relation hair color
type color
['Renata Gabryjelska', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?d WHERE { resource:Renata_Gabryjelska property:hair_color ?d . ?d rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9306333
P21
Q290
USER
Which sex does Renata Gabryjelska belong to ?
(Q9306333,P21,c(Q290))
action filter_type
action find
entity Q9306333
relation P21
type Q290
['Q9306333', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q9306333 property:P21 ?k }
Renata Gabryjelska
action filter_type
action find
entity Renata Gabryjelska
relation gender
type sex
['Renata Gabryjelska', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Renata_Gabryjelska property:gender ?k }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q9306333,P21,c(Q290))
action filter_type
action find
entity Q9306333
relation P21
type Q290
Renata Gabryjelska belongs to [ANSWER]
['Q9306333', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q9306333 property:P21 ?k }
female
Renata Gabryjelska belongs to female
female
action filter_type
action find
entity Renata Gabryjelska
relation gender
type sex
['Renata Gabryjelska', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Renata_Gabryjelska property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2367101
P180
Q3305213
USER
Which paintings express brown hair ?
(c(Q3305213),P180,Q2367101)
action filter_type
action find_reverse
entity Q2367101
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q2367101']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q2367101 . ?m rdf:type ontology:Q3305213 }
brown hair
action filter_type
action find_reverse
entity brown hair
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'brown hair']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:brown_hair . ?m rdf:type ontology:painting }
[]
painting
Q326503 Q3898510 Q25541602
SYSTEM
The Sleepers, The Fall and Expulsion from Paradise, Le Toucher
Q25541602 Q19962648 Q20064546 Q19962483 Q19962653 Q326503 Q3898510 Q19968488
(c(Q3305213),P180,Q2367101)
action filter_type
action find_reverse
entity Q2367101
relation P180
type Q3305213
[ANSWERS] express brown hair
[{'concept': 'Q3305213'}, 'P180', 'Q2367101']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q2367101 . ?m rdf:type ontology:Q3305213 }
Le Toucher Banker Ludvig Arosenius Portrait of Roseta Mauri Lady with fur cape Girl playing mandolin The Sleepers The Fall and Expulsion from Paradise The Embrace
The Sleepers, The Fall and Expulsion from Paradise and Le Toucher express brown hair
The Sleepers The Fall and Expulsion from Paradise Le Toucher
action filter_type
action find_reverse
entity brown hair
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'brown hair']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:brown_hair . ?m rdf:type ontology:painting }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3898510
P186
Q214609
USER
Which material is used to manufacture that painting ?
(Q3898510,P186,c(Q214609))
action filter_type
action find
entity Q3898510
relation P186
type Q214609
['Q3898510', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?p WHERE { resource:Q3898510 property:P186 ?p . ?p rdf:type ontology:Q214609 }
The Fall and Expulsion from Paradise
action filter_type
action find
entity The Fall and Expulsion from Paradise
relation material used
type material
['The Fall and Expulsion from Paradise', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?p WHERE { resource:The_Fall_and_Expulsion_from_Paradise property:material_used ?p . ?p rdf:type ontology:material }
[]
material
Clarification for simple ques.
Q3898510
SYSTEM
Did you mean The Fall and Expulsion from Paradise ?
Q326503 Q3898510 Q25541602
(Q326503,P186,c(Q214609)) (Q3898510,P186,c(Q214609)) (Q25541602,P186,c(Q214609))
[ANSWER]
['Q326503', 'P186', {'concept': 'Q214609'}] ['Q3898510', 'P186', {'concept': 'Q214609'}] ['Q25541602', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?p WHERE { resource:Q3898510 property:P186 ?p . ?p rdf:type ontology:Q214609 }
The Sleepers The Fall and Expulsion from Paradise Le Toucher
Did you mean The Fall and Expulsion from Paradise ?
The Fall and Expulsion from Paradise
['The Sleepers', 'material used', {'concept': 'material'}] ['The Fall and Expulsion from Paradise', 'material used', {'concept': 'material'}] ['Le Toucher', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?p WHERE { resource:The_Fall_and_Expulsion_from_Paradise property:material_used ?p . ?p rdf:type ontology:material }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3898510,P186,c(Q214609))
['Q3898510', 'P186', {'concept': 'Q214609'}]
['The Fall and Expulsion from Paradise', 'material used', {'concept': 'material'}]
[]
Q25631150
SYSTEM
fresco
Q25631150
(Q3898510,P186,c(Q214609))
action filter_type
action find
entity Q3898510
relation P186
type Q214609
[ANSWER] is used to manufacture that painting
['Q3898510', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?p WHERE { resource:Q3898510 property:P186 ?p . ?p rdf:type ontology:Q214609 }
fresco
Fresco is used to manufacture that painting
fresco
action filter_type
action find
entity The Fall and Expulsion from Paradise
relation material used
type material
['The Fall and Expulsion from Paradise', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?p WHERE { resource:The_Fall_and_Expulsion_from_Paradise property:material_used ?p . ?p rdf:type ontology:material }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q25631150 Q19858263
P186
Q3305213
USER
Does All the City Was Gathered at His Door used that one as material for its making ?
(Q19858263,P186,Q25631150)
action is_in
entity Q19858263
action find
entity Q25631150
relation P186
['Q19858263', 'P186', 'Q25631150']
ASK WHERE { resource:Q25631150 property:P186 resource:Q19858263 }
fresco All the City Was Gathered at His Door
action is_in
entity All the City Was Gathered at His Door
action find
entity fresco
relation material used
['All the City Was Gathered at His Door', 'material used', 'fresco']
ASK WHERE { resource:fresco property:material_used resource:All_the_City_Was_Gathered_at_His_Door }
[]
painting
SYSTEM
NO
(Q19858263,P186,Q25631150)
action is_in
entity Q19858263
action find
entity Q25631150
relation P186
[ANSWER]
['Q19858263', 'P186', 'Q25631150']
ASK WHERE { resource:Q25631150 property:P186 resource:Q19858263 }
No
action is_in
entity All the City Was Gathered at His Door
action find
entity fresco
relation material used
['All the City Was Gathered at His Door', 'material used', 'fresco']
ASK WHERE { resource:fresco property:material_used resource:All_the_City_Was_Gathered_at_His_Door }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q20828882
P608
Q33506 Q464980 Q3305213
USER
Which paintings were exhibited at more number of museums or exhibitions than The fountain of youth ?
(c(Q3305213),P608,c(Q33506)|c(Q464980))
action greater
action union
action find_tuple_counts
relation P608
type Q3305213
type Q33506
action find_tuple_counts
relation P608
type Q3305213
type Q464980
action count
action filter_multi_types
action find
entity Q20828882
relation P608
type Q33506
type Q464980
[{'concept': 'Q3305213'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { { ?k property:P608 ?x . ?k rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q33506 } UNION { ?k property:P608 ?x . ?k rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q464980 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:Q33506 ) ( ontology:Q464980 ) } } . resource:Q20828882 property:P608 ?f } } . FILTER ( ?u > ?h ) }
The fountain of youth
action greater
action union
action find_tuple_counts
relation exhibition history
type painting
type museum
action find_tuple_counts
relation exhibition history
type painting
type exhibition
action count
action filter_multi_types
action find
entity The fountain of youth
relation exhibition history
type museum
type exhibition
[{'concept': 'painting'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { { ?k property:exhibition_history ?x . ?k rdf:type ontology:painting . ?x rdf:type ontology:museum } UNION { ?k property:exhibition_history ?x . ?k rdf:type ontology:painting . ?x rdf:type ontology:exhibition } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:museum ) ( ontology:exhibition ) } } . resource:The_fountain_of_youth property:exhibition_history ?f } } . FILTER ( ?u > ?h ) }
[]
museum exhibition painting
Q537192 Q27005745 Q18343236
SYSTEM
Christ in the House of Simon, Chapelle Cardon, "Big Bowl" (A Crow Chief)
Q18691653 Q11765899 Q23699210 Q537192 Q18343261 Q18346971 Q27005745 Q19914051 Q2390197 Q318944 Q18492052 Q27464761 Q18510591 Q18343236
(c(Q3305213),P608,c(Q33506)|c(Q464980))
action greater
action union
action find_tuple_counts
relation P608
type Q3305213
type Q33506
action find_tuple_counts
relation P608
type Q3305213
type Q464980
action count
action filter_multi_types
action find
entity Q20828882
relation P608
type Q33506
type Q464980
[ANSWERS] were exhibited at more number of museums or exhibitions than The fountain of youth
[{'concept': 'Q3305213'}, 'P608', [{'concept': 'Q33506'}, {'concept': 'Q464980'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { { ?k property:P608 ?x . ?k rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q33506 } UNION { ?k property:P608 ?x . ?k rdf:type ontology:Q3305213 . ?x rdf:type ontology:Q464980 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:Q33506 ) ( ontology:Q464980 ) } } . resource:Q20828882 property:P608 ?f } } . FILTER ( ?u > ?h ) }
Arroyo Hondo Mary Enthroned with the Child The Body of Abel Found by Adam and Eve Christ in the House of Simon Homme en Grande Bottes Resurrection Chapelle Cardon Margaret Rieche Richard St. John the Evangelist on Patmos The Last Supper Builders No. 1 The taking of Jerusalem double red "Big Bowl" (A Crow Chief)
Christ in the House of Simon, Chapelle Cardon and "Big Bowl" (A Crow Chief) were exhibited at more number of museums or exhibitions than The fountain of youth
Christ in the House of Simon Chapelle Cardon "Big Bowl" (A Crow Chief)
action greater
action union
action find_tuple_counts
relation exhibition history
type painting
type museum
action find_tuple_counts
relation exhibition history
type painting
type exhibition
action count
action filter_multi_types
action find
entity The fountain of youth
relation exhibition history
type museum
type exhibition
[{'concept': 'painting'}, 'exhibition history', [{'concept': 'museum'}, {'concept': 'exhibition'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { { ?k property:exhibition_history ?x . ?k rdf:type ontology:painting . ?x rdf:type ontology:museum } UNION { ?k property:exhibition_history ?x . ?k rdf:type ontology:painting . ?x rdf:type ontology:exhibition } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { { ?f rdf:type ?l . VALUES ( ?l ) { ( ontology:museum ) ( ontology:exhibition ) } } . resource:The_fountain_of_youth property:exhibition_history ?f } } . FILTER ( ?u > ?h ) }
[]