Simple Question (Direct)
Simple Question
Q848082
P106
Q12737077
USER
What does István Borsányi do for a living ?
(Q848082,P106,c(Q12737077))
action filter_type
action find
entity Q848082
relation P106
type Q12737077
['Q848082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q848082 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
István Borsányi
action filter_type
action find
entity István Borsányi
relation occupation
type occupation
['István Borsányi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:István_Borsányi property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q848082,P106,c(Q12737077))
action filter_type
action find
entity Q848082
relation P106
type Q12737077
[ANSWER] István Borsányi does for a living
['Q848082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q848082 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
Association football player István Borsányi does for a living
association football player
action filter_type
action find
entity István Borsányi
relation occupation
type occupation
['István Borsányi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:István_Borsányi property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q848082
P734
Q82799
USER
Who is associated with that person ?
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q848082
relation P734
type Q82799
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q848082 property:P734 ?h . ?h rdf:type ontology:Q82799 }
István Borsányi
action filter_type
action find
entity István Borsányi
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:István_Borsányi property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q20815738
SYSTEM
Borsányi
Q20815738
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q848082
relation P734
type Q82799
[ANSWER] is associated with that person
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q848082 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Borsányi
Borsányi is associated with that person
Borsányi
action filter_type
action find
entity István Borsányi
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:István_Borsányi property:family_name ?h . ?h rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as surname ?
(c(Q502895),P734,Q20815738)
action count
action filter_type
action find_reverse
entity Q20815738
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q20815738']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P734 resource:Q20815738 . ?x rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Borsányi
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Borsányi']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:family_name resource:Borsányi . ?x rdf:type ontology:common_name }
[]
common name
SYSTEM
6
Q5191577 Q848082 Q848081 Q848076 Q20477859 Q12813814
(c(Q502895),P734,Q20815738)
action count
action filter_type
action find_reverse
entity Q20815738
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q20815738']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P734 resource:Q20815738 . ?x rdf:type ontology:Q502895 }
Csilla Borsányi István Borsányi György Borsányi Ferenc Borsányi Julián Borsányi Attila Borsányi
6
action count
action filter_type
action find_reverse
entity Borsányi
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Borsányi']
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:family_name resource:Borsányi . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q386724 Q15709879
USER
Which occupations are expressed in max number of works or artwork series ?
(c(Q386724)|c(Q15709879),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?m WHERE { VALUES ( ?n ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?j rdf:type ?n } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?g WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } } GROUP BY ?g } . FILTER ( ?x = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?m WHERE { VALUES ( ?n ) { ( ontology:work ) ( ontology:artwork_series ) } . ?j rdf:type ?n } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?g WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:work ) ( ontology:artwork_series ) } } GROUP BY ?g } . FILTER ( ?x = ?t ) }
[]
occupation work artwork series
Q54128 Q2730732 Q838811
SYSTEM
domestic worker, equestrian, peasant
Q54128 Q2730732 Q838811
(c(Q386724)|c(Q15709879),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
The [ANSWERS] are expressed in max number of works or artwork series
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?m WHERE { VALUES ( ?n ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } . ?j rdf:type ?n } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?g WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q386724 ) ( ontology:Q15709879 ) } } GROUP BY ?g } . FILTER ( ?x = ?t ) }
domestic worker equestrian peasant
The domestic worker, equestrian and peasant are expressed in max number of works or artwork series
domestic worker equestrian peasant
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?b ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?j ) AS ?b ) ?m WHERE { VALUES ( ?n ) { ( ontology:work ) ( ontology:artwork_series ) } . ?j rdf:type ?n } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) ?g WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:work ) ( ontology:artwork_series ) } } GROUP BY ?g } . FILTER ( ?x = ?t ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q54128 Q2730732 Q838811
P180
Q838948
USER
Which works of art demonstrate domestic worker, equestrian and peasant ?
(c(Q838948),P180,Q54128) (c(Q838948),P180,Q2730732) (c(Q838948),P180,Q838811)
action union
action filter_type
action find_reverse
entity Q54128
relation P180
type Q838948
action filter_type
action find_reverse
entity Q2730732
relation P180
type Q838948
action filter_type
action find_reverse
entity Q838811
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q54128'] [{'concept': 'Q838948'}, 'P180', 'Q2730732'] [{'concept': 'Q838948'}, 'P180', 'Q838811']
SELECT DISTINCT ?d WHERE { VALUES ( ?o ) { ( resource:Q54128 ) ( resource:Q2730732 ) } . ?d property:P180 ?o }
domestic worker equestrian peasant
action union
action filter_type
action find_reverse
entity domestic worker
relation depicts
type work of art
action filter_type
action find_reverse
entity equestrian
relation depicts
type work of art
action filter_type
action find_reverse
entity peasant
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'domestic worker'] [{'concept': 'work of art'}, 'depicts', 'equestrian'] [{'concept': 'work of art'}, 'depicts', 'peasant']
SELECT DISTINCT ?d WHERE { VALUES ( ?o ) { ( resource:domestic_worker ) ( resource:equestrian ) } . ?d property:depicts ?o }
[]
work of art
Q3047015 Q11826275 Q20683317
SYSTEM
Odalisque with Slave, The siesta (after Millet), Landscape after Ruisdael
Q3047015 Q20807815 Q20683317 Q20807887 Q18168585 Q20807853 Q867247 Q11826275 Q3220549 Q17518402 Q7759714
(c(Q838948),P180,Q54128) (c(Q838948),P180,Q2730732) (c(Q838948),P180,Q838811)
action union
action filter_type
action find_reverse
entity Q54128
relation P180
type Q838948
action filter_type
action find_reverse
entity Q2730732
relation P180
type Q838948
action filter_type
action find_reverse
entity Q838811
relation P180
type Q838948
[ANSWERS] demonstrate domestic worker, equestrian and peasant
[{'concept': 'Q838948'}, 'P180', 'Q54128'] [{'concept': 'Q838948'}, 'P180', 'Q2730732'] [{'concept': 'Q838948'}, 'P180', 'Q838811']
SELECT DISTINCT ?d WHERE { VALUES ( ?o ) { ( resource:Q54128 ) ( resource:Q2730732 ) } . ?d property:P180 ?o }
Odalisque with Slave Monument to the 2e chasseurs d'Afrique Landscape after Ruisdael Piqueur à cheval cardiotaph of Jacques Nicolas Gobert Monument to the Defense Chollima Statue The siesta (after Millet) Le Botteleur La Moisson The Reaper
Odalisque with Slave, The siesta (after Millet) and Landscape after Ruisdael demonstrate domestic worker, equestrian and peasant
Odalisque with Slave The siesta (after Millet) Landscape after Ruisdael
action union
action filter_type
action find_reverse
entity domestic worker
relation depicts
type work of art
action filter_type
action find_reverse
entity equestrian
relation depicts
type work of art
action filter_type
action find_reverse
entity peasant
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'domestic worker'] [{'concept': 'work of art'}, 'depicts', 'equestrian'] [{'concept': 'work of art'}, 'depicts', 'peasant']
SELECT DISTINCT ?d WHERE { VALUES ( ?o ) { ( resource:domestic_worker ) ( resource:equestrian ) } . ?d property:depicts ?o }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3047015
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q3047015,P136,c(Q1792379))
action filter_type
action find
entity Q3047015
relation P136
type Q1792379
['Q3047015', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q3047015 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
Odalisque with Slave
action filter_type
action find
entity Odalisque with Slave
relation genre
type art genre
['Odalisque with Slave', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Odalisque_with_Slave property:genre ?g . ?g rdf:type ontology:art_genre }
[]
art genre
Clarification for simple ques.
Q20683317
SYSTEM
Did you mean Landscape after Ruisdael ?
Q3047015 Q11826275 Q20683317
(Q3047015,P136,c(Q1792379)) (Q11826275,P136,c(Q1792379)) (Q20683317,P136,c(Q1792379))
[ANSWER]
['Q3047015', 'P136', {'concept': 'Q1792379'}] ['Q11826275', 'P136', {'concept': 'Q1792379'}] ['Q20683317', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q3047015 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
Odalisque with Slave The siesta (after Millet) Landscape after Ruisdael
Did you mean Landscape after Ruisdael ?
Landscape after Ruisdael
['Odalisque with Slave', 'genre', {'concept': 'art genre'}] ['The siesta (after Millet)', 'genre', {'concept': 'art genre'}] ['Landscape after Ruisdael', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Odalisque_with_Slave property:genre ?g . ?g rdf:type ontology:art_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant Odalisque with Slave. Could you tell me the answer for that?
(Q3047015,P136,c(Q1792379))
Q3047015
['Q3047015', 'P136', {'concept': 'Q1792379'}]
['Odalisque with Slave', 'genre', {'concept': 'art genre'}]
[]
Q214127
SYSTEM
genre painting
Q214127
(Q3047015,P136,c(Q1792379))
action filter_type
action find
entity Q3047015
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q3047015', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { resource:Q3047015 property:P136 ?g . ?g rdf:type ontology:Q1792379 }
genre painting
Genre painting can be considered as category for that work of art
genre painting
action filter_type
action find
entity Odalisque with Slave
relation genre
type art genre
['Odalisque with Slave', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { resource:Odalisque_with_Slave property:genre ?g . ?g rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q214127 Q235544 Q750843
P101
Q3249551
USER
Does that art genre have his/her area as flame and information processing ?
(Q214127,P101,Q235544) (Q214127,P101,Q750843)
action is_in
entity Q214127
action intersection
action find_reverse
entity Q235544
relation P101
action find_reverse
entity Q750843
relation P101
['Q214127', 'P101', 'Q235544'] ['Q214127', 'P101', 'Q750843']
ASK WHERE { resource:Q214127 property:P101 resource:Q750843 . resource:Q214127 property:P101 resource:Q235544 }
genre painting flame information processing
action is_in
entity genre painting
action intersection
action find_reverse
entity flame
relation field of work
action find_reverse
entity information processing
relation field of work
['genre painting', 'field of work', 'flame'] ['genre painting', 'field of work', 'information processing']
ASK WHERE { resource:genre_painting property:field_of_work resource:information_processing . resource:genre_painting property:field_of_work resource:flame }
[]
process
SYSTEM
NO
(Q214127,P101,Q235544) (Q214127,P101,Q750843)
action is_in
entity Q214127
action intersection
action find_reverse
entity Q235544
relation P101
action find_reverse
entity Q750843
relation P101
[ANSWER]
['Q214127', 'P101', 'Q235544'] ['Q214127', 'P101', 'Q750843']
ASK WHERE { resource:Q214127 property:P101 resource:Q750843 . resource:Q214127 property:P101 resource:Q235544 }
No
action is_in
entity genre painting
action intersection
action find_reverse
entity flame
relation field of work
action find_reverse
entity information processing
relation field of work
['genre painting', 'field of work', 'flame'] ['genre painting', 'field of work', 'information processing']
ASK WHERE { resource:genre_painting property:field_of_work resource:information_processing . resource:genre_painting property:field_of_work resource:flame }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q15709879 Q838948
USER
How many names are expressed in atmost 179 artwork series or works of art ?
(c(Q15709879)|c(Q838948),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 179
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?f WHERE { { ?f rdf:type ontology:Q82799 . ?j rdf:type ontology:Q15709879 . ?j property:P180 ?f } UNION { ?j property:P180 ?f . ?f rdf:type ontology:Q82799 . ?j rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?z <= 179 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 179
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?f WHERE { { ?f rdf:type ontology:name . ?j rdf:type ontology:artwork_series . ?j property:depicts ?f } UNION { ?j property:depicts ?f . ?f rdf:type ontology:name . ?j rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?z <= 179 ) }
[]
name artwork series work of art
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q15709879)|c(Q838948),P180,c(Q82799))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q82799
type Q838948
value 179
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?f WHERE { { ?f rdf:type ontology:Q82799 . ?j rdf:type ontology:Q15709879 . ?j property:P180 ?f } UNION { ?j property:P180 ?f . ?f rdf:type ontology:Q82799 . ?j rdf:type ontology:Q838948 } } GROUP BY ?f } . FILTER ( ?z <= 179 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
action find_reverse_tuple_counts
relation depicts
type name
type work of art
value 179
[[{'concept': 'artwork series'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?z ) ?f WHERE { { ?f rdf:type ontology:name . ?j rdf:type ontology:artwork_series . ?j property:depicts ?f } UNION { ?j property:depicts ?f . ?f rdf:type ontology:name . ?j rdf:type ontology:work_of_art } } GROUP BY ?f } . FILTER ( ?z <= 179 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11826275
P1071
Q20667921
USER
Which french administrative division is the final place of assembly of The siesta (after Millet) ?
(Q11826275,P1071,c(Q20667921))
action filter_type
action find
entity Q11826275
relation P1071
type Q20667921
['Q11826275', 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q11826275 property:P1071 ?m . ?m rdf:type ontology:Q20667921 }
The siesta (after Millet)
action filter_type
action find
entity The siesta (after Millet)
relation location of final assembly
type type of french administrative division
['The siesta (after Millet)', 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:The_siesta_(after_Millet) property:location_of_final_assembly ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q221507
SYSTEM
Saint-Rémy-de-Provence
Q221507
(Q11826275,P1071,c(Q20667921))
action filter_type
action find
entity Q11826275
relation P1071
type Q20667921
[ANSWER] is the final place of assembly of The siesta (after Millet)
['Q11826275', 'P1071', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { resource:Q11826275 property:P1071 ?m . ?m rdf:type ontology:Q20667921 }
Saint-Rémy-de-Provence
Saint-Rémy-de-Provence is the final place of assembly of The siesta (after Millet)
Saint-Rémy-de-Provence
action filter_type
action find
entity The siesta (after Millet)
relation location of final assembly
type type of french administrative division
['The siesta (after Millet)', 'location of final assembly', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { resource:The_siesta_(after_Millet) property:location_of_final_assembly ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11826275
P186
Q214609
USER
Which materials are used to construct The siesta (after Millet) ?
(Q11826275,P186,c(Q214609))
action filter_type
action find
entity Q11826275
relation P186
type Q214609
['Q11826275', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q214609 . resource:Q11826275 property:P186 ?g }
The siesta (after Millet)
action filter_type
action find
entity The siesta (after Millet)
relation material used
type material
['The siesta (after Millet)', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:material . resource:The_siesta_(after_Millet) property:material_used ?g }
[]
material
Q296955 Q4259259
SYSTEM
oil paint, canvas
Q296955 Q4259259
(Q11826275,P186,c(Q214609))
action filter_type
action find
entity Q11826275
relation P186
type Q214609
[ANSWERS] are used to construct The siesta (after Millet)
['Q11826275', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q214609 . resource:Q11826275 property:P186 ?g }
oil paint canvas
Oil paint and canvas are used to construct The siesta (after Millet)
oil paint canvas
action filter_type
action find
entity The siesta (after Millet)
relation material used
type material
['The siesta (after Millet)', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:material . resource:The_siesta_(after_Millet) property:material_used ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11826275
P170
Q502895
USER
Which person is the creater of that work of art ?
(Q296955,P170,c(Q502895)) (Q4259259,P170,c(Q502895))
action filter_type
action find
entity Q11826275
relation P170
type Q502895
['Q296955', 'P170', {'concept': 'Q502895'}] ['Q4259259', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q11826275 property:P170 ?y . ?y rdf:type ontology:Q502895 }
The siesta (after Millet)
action filter_type
action find
entity The siesta (after Millet)
relation creator
type common name
['oil paint', 'creator', {'concept': 'common name'}] ['canvas', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_siesta_(after_Millet) property:creator ?y . ?y rdf:type ontology:common_name }
[]
common name
Q5582
SYSTEM
Vincent van Gogh
Q5582
(Q296955,P170,c(Q502895)) (Q4259259,P170,c(Q502895))
action filter_type
action find
entity Q11826275
relation P170
type Q502895
[ANSWER] is the creater of that work of art
['Q296955', 'P170', {'concept': 'Q502895'}] ['Q4259259', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q11826275 property:P170 ?y . ?y rdf:type ontology:Q502895 }
Vincent van Gogh
Vincent van Gogh is the creater of that work of art
Vincent van Gogh
action filter_type
action find
entity The siesta (after Millet)
relation creator
type common name
['oil paint', 'creator', {'concept': 'common name'}] ['canvas', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:The_siesta_(after_Millet) property:creator ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11826275
P195
Q2668072
USER
Which collections contain that work of art in it ?
(Q5582,P195,c(Q2668072))
action filter_type
action find
entity Q11826275
relation P195
type Q2668072
['Q5582', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?e WHERE { resource:Q11826275 property:P195 ?e . ?e rdf:type ontology:Q2668072 }
The siesta (after Millet)
action filter_type
action find
entity The siesta (after Millet)
relation collection
type collection
['Vincent van Gogh', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?e WHERE { resource:The_siesta_(after_Millet) property:collection ?e . ?e rdf:type ontology:collection }
[]
collection
Q23402 Q3044768
SYSTEM
Musée d'Orsay, Department of Paintings of the Louvre
Q23402 Q3044768
(Q5582,P195,c(Q2668072))
action filter_type
action find
entity Q11826275
relation P195
type Q2668072
[ANSWERS] contain that work of art in it
['Q5582', 'P195', {'concept': 'Q2668072'}]
SELECT DISTINCT ?e WHERE { resource:Q11826275 property:P195 ?e . ?e rdf:type ontology:Q2668072 }
Musée d'Orsay Department of Paintings of the Louvre
Musée d'Orsay and Department of Paintings of the Louvre contain that work of art in it
Musée d'Orsay Department of Paintings of the Louvre
action filter_type
action find
entity The siesta (after Millet)
relation collection
type collection
['Vincent van Gogh', 'collection', {'concept': 'collection'}]
SELECT DISTINCT ?e WHERE { resource:The_siesta_(after_Millet) property:collection ?e . ?e rdf:type ontology:collection }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20859345 Q848082
P27
Q15617994
USER
Which administrative territories do István Borsányi or Gerda Raskin belong to ?
OR((Q848082,P27,c(Q15617994)), (Q20859345,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q848082
relation P27
action find
entity Q20859345
relation P27
type Q15617994
{'OR': [['Q848082', 'P27', {'concept': 'Q15617994'}], ['Q20859345', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?y ) { ( resource:Q848082 ) ( resource:Q20859345 ) } . ?y property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Gerda Raskin István Borsányi
action filter_type
action union
action find
entity István Borsányi
relation country of citizenship
action find
entity Gerda Raskin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['István Borsányi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gerda Raskin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?y ) { ( resource:István_Borsányi ) ( resource:Gerda_Raskin ) } . ?y property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28 Q31
SYSTEM
Hungary, Belgium
Q28 Q31
OR((Q848082,P27,c(Q15617994)), (Q20859345,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q848082
relation P27
action find
entity Q20859345
relation P27
type Q15617994
István Borsányi or Gerda Raskin belong to [ANSWERS]
{'OR': [['Q848082', 'P27', {'concept': 'Q15617994'}], ['Q20859345', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?y ) { ( resource:Q848082 ) ( resource:Q20859345 ) } . ?y property:P27 ?f } . ?f rdf:type ontology:Q15617994 }
Hungary Belgium
István Borsányi or Gerda Raskin belong to Hungary and Belgium
Hungary Belgium
action filter_type
action union
action find
entity István Borsányi
relation country of citizenship
action find
entity Gerda Raskin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['István Borsányi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gerda Raskin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { VALUES ( ?y ) { ( resource:István_Borsányi ) ( resource:Gerda_Raskin ) } . ?y property:country_of_citizenship ?f } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]