Simple Question (Direct)
Simple Question
Q214280
P106
Q12737077
USER
Which occupations are the professions of Ernst Anschütz ?
(Q214280,P106,c(Q12737077))
action filter_type
action find
entity Q214280
relation P106
type Q12737077
['Q214280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q214280 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Ernst Anschütz
action filter_type
action find
entity Ernst Anschütz
relation occupation
type occupation
['Ernst Anschütz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ernst_Anschütz property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q49757 Q36834
SYSTEM
poet, composer
Q49757 Q36834
(Q214280,P106,c(Q12737077))
action filter_type
action find
entity Q214280
relation P106
type Q12737077
The professions of Ernst Anschütz are the [ANSWERS]
['Q214280', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q214280 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
poet composer
The professions of Ernst Anschütz are the poet and composer
poet composer
action filter_type
action find
entity Ernst Anschütz
relation occupation
type occupation
['Ernst Anschütz', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Ernst_Anschütz property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214280
P86
Q7725634
USER
Which literary work was composed by Ernst Anschütz ?
(c(Q7725634),P86,Q214280)
action filter_type
action find_reverse
entity Q214280
relation P86
type Q7725634
[{'concept': 'Q7725634'}, 'P86', 'Q214280']
SELECT DISTINCT ?u WHERE { ?u property:P86 resource:Q214280 . ?u rdf:type ontology:Q7725634 }
Ernst Anschütz
action filter_type
action find_reverse
entity Ernst Anschütz
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'Ernst Anschütz']
SELECT DISTINCT ?u WHERE { ?u property:composer resource:Ernst_Anschütz . ?u rdf:type ontology:literary_work }
[]
literary work
Q10695766
SYSTEM
The Red Flag
Q10695766
(c(Q7725634),P86,Q214280)
action filter_type
action find_reverse
entity Q214280
relation P86
type Q7725634
[ANSWER] was composed by Ernst Anschütz
[{'concept': 'Q7725634'}, 'P86', 'Q214280']
SELECT DISTINCT ?u WHERE { ?u property:P86 resource:Q214280 . ?u rdf:type ontology:Q7725634 }
The Red Flag
The Red Flag was composed by Ernst Anschütz
The Red Flag
action filter_type
action find_reverse
entity Ernst Anschütz
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'Ernst Anschütz']
SELECT DISTINCT ?u WHERE { ?u property:composer resource:Ernst_Anschütz . ?u rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P425
Q838948
USER
Which work of art has composer as the associated field of occupation ?
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . resource:Q36834 property:P425 ?p }
composer
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . resource:composer property:field_of_this_occupation ?p }
[]
work of art
Q207628
SYSTEM
musical composition
Q207628
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
The [ANSWER] has composer as the associated field of occupation
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . resource:Q36834 property:P425 ?p }
musical composition
The musical composition has composer as the associated field of occupation
musical composition
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . resource:composer property:field_of_this_occupation ?p }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P2079
Q2695280 Q838948
USER
Which technicss are used for the production of min number of works of art ?
(c(Q838948),P2079,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?d ) { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?q ) WHERE { ?o rdf:type ontology:Q2695280 . ?b rdf:type ontology:Q838948 . ?b property:P2079 ?o } GROUP BY ?o } } . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:P2079 ?z . ?z rdf:type ontology:Q2695280 . ?l rdf:type ontology:Q838948 } GROUP BY ?z } . FILTER ( ?n = ?d ) }
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?d ) { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?q ) WHERE { ?o rdf:type ontology:technics . ?b rdf:type ontology:work_of_art . ?b property:fabrication_method ?o } GROUP BY ?o } } . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:fabrication_method ?z . ?z rdf:type ontology:technics . ?l rdf:type ontology:work_of_art } GROUP BY ?z } . FILTER ( ?n = ?d ) }
[]
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,Q170593)
action argmin
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
[ANSWERS] are used for the production of min number of works of art
[{'concept': 'Q838948'}, 'P2079', 'Q170593']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?d ) { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?q ) WHERE { ?o rdf:type ontology:Q2695280 . ?b rdf:type ontology:Q838948 . ?b property:P2079 ?o } GROUP BY ?o } } . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:P2079 ?z . ?z rdf:type ontology:Q2695280 . ?l rdf:type ontology:Q838948 } GROUP BY ?z } . FILTER ( ?n = ?d ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used for the production of min number of works of art
woodcut technique chasing engraving
action argmin
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
[{'concept': 'work of art'}, 'fabrication method', 'collage']
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?d ) { SELECT DISTINCT ?o ( COUNT ( ?b ) AS ?q ) WHERE { ?o rdf:type ontology:technics . ?b rdf:type ontology:work_of_art . ?b property:fabrication_method ?o } GROUP BY ?o } } . { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?n ) WHERE { ?l property:fabrication_method ?z . ?z rdf:type ontology:technics . ?l rdf:type ontology:work_of_art } GROUP BY ?z } . FILTER ( ?n = ?d ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q139106
P452
Q4830453
USER
Which business enterprises belong to the industry that technics ?
(c(Q4830453),P452,Q139106)
action filter_type
action find_reverse
entity Q139106
relation P452
type Q4830453
[{'concept': 'Q4830453'}, 'P452', 'Q139106']
SELECT DISTINCT ?m WHERE { ?m property:P452 resource:Q139106 . ?m rdf:type ontology:Q4830453 }
engraving
action filter_type
action find_reverse
entity engraving
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'engraving']
SELECT DISTINCT ?m WHERE { ?m property:industry resource:engraving . ?m rdf:type ontology:business_enterprise }
[]
business enterprise
Clarification for simple ques.
Q173242
SYSTEM
Did you mean woodcut technique ?
Q173242 Q26265824 Q139106
(c(Q4830453),P452,Q173242) (c(Q4830453),P452,Q26265824) (c(Q4830453),P452,Q139106)
[ANSWER]
[{'concept': 'Q4830453'}, 'P452', 'Q173242'] [{'concept': 'Q4830453'}, 'P452', 'Q26265824'] [{'concept': 'Q4830453'}, 'P452', 'Q139106']
SELECT DISTINCT ?m WHERE { ?m property:P452 resource:Q139106 . ?m rdf:type ontology:Q4830453 }
woodcut technique chasing engraving
Did you mean woodcut technique ?
woodcut technique
[{'concept': 'business enterprise'}, 'industry', 'woodcut technique'] [{'concept': 'business enterprise'}, 'industry', 'chasing'] [{'concept': 'business enterprise'}, 'industry', 'engraving']
SELECT DISTINCT ?m WHERE { ?m property:industry resource:engraving . ?m rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
USER
No, I meant engraving. Could you tell me the answer for that?
(c(Q4830453),P452,Q139106)
Q139106
[{'concept': 'Q4830453'}, 'P452', 'Q139106']
[{'concept': 'business enterprise'}, 'industry', 'engraving']
[]
Q24538764 Q23654434
SYSTEM
Edward Lewis & Co., William Banks & Son
Q24538764 Q23654434
(c(Q4830453),P452,Q139106)
action filter_type
action find_reverse
entity Q139106
relation P452
type Q4830453
[ANSWERS] belong to the industry that technics
[{'concept': 'Q4830453'}, 'P452', 'Q139106']
SELECT DISTINCT ?m WHERE { ?m property:P452 resource:Q139106 . ?m rdf:type ontology:Q4830453 }
Edward Lewis & Co. William Banks & Son
Edward Lewis & Co. and William Banks & Son belong to the industry that technics
Edward Lewis & Co. William Banks & Son
action filter_type
action find_reverse
entity engraving
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', 'engraving']
SELECT DISTINCT ?m WHERE { ?m property:industry resource:engraving . ?m rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P355
Q4830453 Q43229
USER
Which organizations have max number of business enterprises as their subsidiary ?
(c(Q43229),P355,c(Q4830453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q4830453
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?a ) WHERE { ?s property:P355 ?q . ?s rdf:type ontology:Q43229 . ?q rdf:type ontology:Q4830453 } GROUP BY ?s } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?m ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?l ) WHERE { ?j property:P355 ?u . ?j rdf:type ontology:Q43229 . ?u rdf:type ontology:Q4830453 } GROUP BY ?j } } }
action argmax
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
[{'concept': 'organization'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?a ) WHERE { ?s property:subsidiary ?q . ?s rdf:type ontology:organization . ?q rdf:type ontology:business_enterprise } GROUP BY ?s } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?m ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?l ) WHERE { ?j property:subsidiary ?u . ?j rdf:type ontology:organization . ?u rdf:type ontology:business_enterprise } GROUP BY ?j } } }
[]
business enterprise organization
Q5612191
SYSTEM
Grupo Bandeirantes de Comunicação
Q5612191
(c(Q43229),P355,c(Q4830453))
action argmax
action find_tuple_counts
relation P355
type Q43229
type Q4830453
[ANSWER] have max number of business enterprises as their subsidiary
[{'concept': 'Q43229'}, 'P355', {'concept': 'Q4830453'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?a ) WHERE { ?s property:P355 ?q . ?s rdf:type ontology:Q43229 . ?q rdf:type ontology:Q4830453 } GROUP BY ?s } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?m ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?l ) WHERE { ?j property:P355 ?u . ?j rdf:type ontology:Q43229 . ?u rdf:type ontology:Q4830453 } GROUP BY ?j } } }
Grupo Bandeirantes de Comunicação
Grupo Bandeirantes de Comunicação have max number of business enterprises as their subsidiary
Grupo Bandeirantes de Comunicação
action argmax
action find_tuple_counts
relation subsidiary
type organization
type business enterprise
[{'concept': 'organization'}, 'subsidiary', {'concept': 'business enterprise'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?a ) WHERE { ?s property:subsidiary ?q . ?s rdf:type ontology:organization . ?q rdf:type ontology:business_enterprise } GROUP BY ?s } . FILTER ( ?a = ?m ) . { SELECT DISTINCT ( MAX ( ?l ) AS ?m ) { SELECT DISTINCT ?j ( COUNT ( ?u ) AS ?l ) WHERE { ?j property:subsidiary ?u . ?j rdf:type ontology:organization . ?u rdf:type ontology:business_enterprise } GROUP BY ?j } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23654434
P159
Q56061
USER
Where is the head office for William Banks & Son located ?
(Q23654434,P159,c(Q56061))
action filter_type
action find
entity Q23654434
relation P159
type Q56061
['Q23654434', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q23654434 property:P159 ?d . ?d rdf:type ontology:Q56061 }
William Banks & Son
action filter_type
action find
entity William Banks & Son
relation headquarters location
type administrative territorial entity
['William Banks & Son', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:William_Banks_&_Son property:headquarters_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q23654434,P159,c(Q56061))
action filter_type
action find
entity Q23654434
relation P159
type Q56061
The head office for William Banks & Son is located in [ANSWER]
['Q23654434', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q23654434 property:P159 ?d . ?d rdf:type ontology:Q56061 }
Edinburgh
The head office for William Banks & Son is located in Edinburgh
Edinburgh
action filter_type
action find
entity William Banks & Son
relation headquarters location
type administrative territorial entity
['William Banks & Son', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:William_Banks_&_Son property:headquarters_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]