Simple Question (Direct)
Simple Question
Q1551537
P135
Q151885
USER
Which concept did Grégoire Hetzel belong to
(Q1551537,P135,c(Q151885))
action filter_type
action find
entity Q1551537
relation P135
type Q151885
['Q1551537', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q1551537 property:P135 ?s . ?s rdf:type ontology:Q151885 }
Grégoire Hetzel
action filter_type
action find
entity Grégoire Hetzel
relation movement
type concept
['Grégoire Hetzel', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Grégoire_Hetzel property:movement ?s . ?s rdf:type ontology:concept }
[]
concept
Q9730
SYSTEM
classical music
Q9730
(Q1551537,P135,c(Q151885))
action filter_type
action find
entity Q1551537
relation P135
type Q151885
Grégoire Hetzel belonged to [ANSWER]
['Q1551537', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q1551537 property:P135 ?s . ?s rdf:type ontology:Q151885 }
classical music
Grégoire Hetzel belonged to classical music
classical music
action filter_type
action find
entity Grégoire Hetzel
relation movement
type concept
['Grégoire Hetzel', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Grégoire_Hetzel property:movement ?s . ?s rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1551537
P86
Q838948
USER
Which works of art have that person as the composer ?
(c(Q838948),P86,Q9730)
action filter_type
action find_reverse
entity Q1551537
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q9730']
SELECT DISTINCT ?m WHERE { ?m property:P86 resource:Q1551537 . ?m rdf:type ontology:Q838948 }
Grégoire Hetzel
action filter_type
action find_reverse
entity Grégoire Hetzel
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'classical music']
SELECT DISTINCT ?m WHERE { ?m property:composer resource:Grégoire_Hetzel . ?m rdf:type ontology:work_of_art }
[]
work of art
Q1169568 Q1212650 Q964375
SYSTEM
Kings and Queen, Incendies, A Christmas Tale
Q15974288 Q1323303 Q1212650 Q1169568 Q964375
(c(Q838948),P86,Q9730)
action filter_type
action find_reverse
entity Q1551537
relation P86
type Q838948
[ANSWERS] have that person as the composer
[{'concept': 'Q838948'}, 'P86', 'Q9730']
SELECT DISTINCT ?m WHERE { ?m property:P86 resource:Q1551537 . ?m rdf:type ontology:Q838948 }
The Blue Room The Tree Incendies Kings and Queen A Christmas Tale
Kings and Queen, Incendies and A Christmas Tale have that person as the composer
Kings and Queen Incendies A Christmas Tale
action filter_type
action find_reverse
entity Grégoire Hetzel
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'classical music']
SELECT DISTINCT ?m WHERE { ?m property:composer resource:Grégoire_Hetzel . ?m rdf:type ontology:work_of_art }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q170593
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of less number of works of art than collage ?
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P2079 ?f . ?f rdf:type ontology:Q2695280 . ?b rdf:type ontology:Q838948 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P2079 resource:Q170593 . ?g rdf:type ontology:Q838948 } } . FILTER ( ?r < ?z ) }
collage
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:fabrication_method ?f . ?f rdf:type ontology:technics . ?b rdf:type ontology:work_of_art } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:fabrication_method resource:collage . ?g rdf:type ontology:work_of_art } } . FILTER ( ?r < ?z ) }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[ANSWERS] are used for the assembly of less number of works of art than collage
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:P2079 ?f . ?f rdf:type ontology:Q2695280 . ?b rdf:type ontology:Q838948 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P2079 resource:Q170593 . ?g rdf:type ontology:Q838948 } } . FILTER ( ?r < ?z ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used for the assembly of less number of works of art than collage
woodcut technique chasing engraving
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?r ) WHERE { ?b property:fabrication_method ?f . ?f rdf:type ontology:technics . ?b rdf:type ontology:work_of_art } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:fabrication_method resource:collage . ?g rdf:type ontology:work_of_art } } . FILTER ( ?r < ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1334300
P2079
Q2695280 Q838948
USER
And how about gilding?
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:Q838948 . ?b rdf:type ontology:Q2695280 . ?y property:P2079 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:Q838948 . ?g property:P2079 resource:Q1334300 } } . FILTER ( ?d < ?n ) }
gilding
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:work_of_art . ?b rdf:type ontology:technics . ?y property:fabrication_method ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:work_of_art . ?g property:fabrication_method resource:gilding } } . FILTER ( ?d < ?n ) }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:Q838948 . ?b rdf:type ontology:Q2695280 . ?y property:P2079 ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:Q838948 . ?g property:P2079 resource:Q1334300 } } . FILTER ( ?d < ?n ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
woodcut technique chasing engraving
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?y rdf:type ontology:work_of_art . ?b rdf:type ontology:technics . ?y property:fabrication_method ?b } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:work_of_art . ?g property:fabrication_method resource:gilding } } . FILTER ( ?d < ?n ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q838948 Q201658 Q7725634
USER
How many works of art are exactly 4 film genres or literary works based on ?
(c(Q201658)|c(Q7725634),P144,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q7725634
value 4
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?k WHERE { ?a rdf:type ?n . VALUES ( ?n ) { ( ontology:Q201658 ) ( ontology:Q7725634 ) } } GROUP BY ?k } . FILTER ( ?q = 4 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type literary work
value 4
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?k WHERE { ?a rdf:type ?n . VALUES ( ?n ) { ( ontology:film_genre ) ( ontology:literary_work ) } } GROUP BY ?k } . FILTER ( ?q = 4 ) }
[]
work of art film genre literary work
SYSTEM
2
Q41567 Q669694
(c(Q201658)|c(Q7725634),P144,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P144
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P144
type Q838948
type Q7725634
value 4
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q7725634'}], 'P144', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?k WHERE { ?a rdf:type ?n . VALUES ( ?n ) { ( ontology:Q201658 ) ( ontology:Q7725634 ) } } GROUP BY ?k } . FILTER ( ?q = 4 ) }
Hamlet A Doll's House
2
action count
action equal
action union
action find_reverse_tuple_counts
relation based on
type work of art
type film genre
action find_reverse_tuple_counts
relation based on
type work of art
type literary work
value 4
[[{'concept': 'film genre'}, {'concept': 'literary work'}], 'based on', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) ?k WHERE { ?a rdf:type ?n . VALUES ( ?n ) { ( ontology:film_genre ) ( ontology:literary_work ) } } GROUP BY ?k } . FILTER ( ?q = 4 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1212650
P915
Q56061
USER
Which location was Incendies filmed ?
(Q1212650,P915,c(Q56061))
action filter_type
action find
entity Q1212650
relation P915
type Q56061
['Q1212650', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1212650 property:P915 ?u . ?u rdf:type ontology:Q56061 }
Incendies
action filter_type
action find
entity Incendies
relation filming location
type administrative territorial entity
['Incendies', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Incendies property:filming_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q340
SYSTEM
Montreal
Q340
(Q1212650,P915,c(Q56061))
action filter_type
action find
entity Q1212650
relation P915
type Q56061
Incendies was filmed in [ANSWER]
['Q1212650', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1212650 property:P915 ?u . ?u rdf:type ontology:Q56061 }
Montreal
Incendies was filmed in Montreal
Montreal
action filter_type
action find
entity Incendies
relation filming location
type administrative territorial entity
['Incendies', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Incendies property:filming_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1003845
Q56061
USER
And what about Frequency?
(Q1003845,P915,c(Q56061))
action filter_type
action find
entity Q1003845
relation P915
type Q56061
['Q1003845', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1003845 property:P915 ?c . ?c rdf:type ontology:Q56061 }
Frequency
action filter_type
action find
entity Frequency
relation filming location
type administrative territorial entity
['Frequency', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Frequency property:filming_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60 Q172
SYSTEM
New York City, Toronto
Q60 Q172
(Q1003845,P915,c(Q56061))
action filter_type
action find
entity Q1003845
relation P915
type Q56061
[ANSWERS]
['Q1003845', 'P915', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1003845 property:P915 ?c . ?c rdf:type ontology:Q56061 }
New York City Toronto
New York City Toronto
action filter_type
action find
entity Frequency
relation filming location
type administrative territorial entity
['Frequency', 'filming location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Frequency property:filming_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1140439
P915
Q838948
USER
Did Finding Forrester have those administrative territories as their location of filming ?
(Q1140439,P915,Q60) (Q1140439,P915,Q172)
action is_in
entity prev_answer
action find
entity Q1140439
relation P915
['Q1140439', 'P915', 'Q60'] ['Q1140439', 'P915', 'Q172']
ASK WHERE { resource:Q1140439 property:P915 ?t . VALUES ( ?t ) { ( resource:Q60 ) ( resource:Q172 ) } }
Finding Forrester
action is_in
entity prev_answer
action find
entity Finding Forrester
relation filming location
['Finding Forrester', 'filming location', 'New York City'] ['Finding Forrester', 'filming location', 'Toronto']
ASK WHERE { resource:Finding_Forrester property:filming_location ?t . VALUES ( ?t ) { ( resource:New_York_City ) ( resource:Toronto ) } }
[]
work of art
SYSTEM
YES
(Q1140439,P915,Q60) (Q1140439,P915,Q172)
action is_in
entity prev_answer
action find
entity Q1140439
relation P915
[ANSWER]
['Q1140439', 'P915', 'Q60'] ['Q1140439', 'P915', 'Q172']
ASK WHERE { resource:Q1140439 property:P915 ?t . VALUES ( ?t ) { ( resource:Q60 ) ( resource:Q172 ) } }
Yes
action is_in
entity prev_answer
action find
entity Finding Forrester
relation filming location
['Finding Forrester', 'filming location', 'New York City'] ['Finding Forrester', 'filming location', 'Toronto']
ASK WHERE { resource:Finding_Forrester property:filming_location ?t . VALUES ( ?t ) { ( resource:New_York_City ) ( resource:Toronto ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q340
P163
Q17335294
USER
What has Montreal as its flag
(Q340,P163,c(Q17335294))
action filter_type
action find
entity Q340
relation P163
type Q17335294
['Q340', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { resource:Q340 property:P163 ?c . ?c rdf:type ontology:Q17335294 }
Montreal
action filter_type
action find
entity Montreal
relation flag
type flag or coat of arms
['Montreal', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { resource:Montreal property:flag ?c . ?c rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q1426620
SYSTEM
Flag of Montreal
Q1426620
(Q340,P163,c(Q17335294))
action filter_type
action find
entity Q340
relation P163
type Q17335294
The [ANSWER] has Montreal as its flag
['Q340', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?c WHERE { resource:Q340 property:P163 ?c . ?c rdf:type ontology:Q17335294 }
Flag of Montreal
The Flag of Montreal has Montreal as its flag
Flag of Montreal
action filter_type
action find
entity Montreal
relation flag
type flag or coat of arms
['Montreal', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?c WHERE { resource:Montreal property:flag ?c . ?c rdf:type ontology:flag_or_coat_of_arms }
[]