Simple Question (Direct)
Simple Question
Q440007
P69
Q3914
USER
Which school is the alma mater of Anna Skellern ?
(Q440007,P69,c(Q3914))
action filter_type
action find
entity Q440007
relation P69
type Q3914
['Q440007', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?z WHERE { resource:Q440007 property:P69 ?z . ?z rdf:type ontology:Q3914 }
Anna Skellern
action filter_type
action find
entity Anna Skellern
relation educated at
type school
['Anna Skellern', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?z WHERE { resource:Anna_Skellern property:educated_at ?z . ?z rdf:type ontology:school }
[]
school
Q1419737
SYSTEM
Guildhall School of Music and Drama
Q1419737
(Q440007,P69,c(Q3914))
action filter_type
action find
entity Q440007
relation P69
type Q3914
[ANSWER] is the alma mater of Anna Skellern
['Q440007', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?z WHERE { resource:Q440007 property:P69 ?z . ?z rdf:type ontology:Q3914 }
Guildhall School of Music and Drama
Guildhall School of Music and Drama is the alma mater of Anna Skellern
Guildhall School of Music and Drama
action filter_type
action find
entity Anna Skellern
relation educated at
type school
['Anna Skellern', 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?z WHERE { resource:Anna_Skellern property:educated_at ?z . ?z rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1419737
P159
Q33506
USER
Which museum is the HQ of that school ?
(Q1419737,P159,c(Q33506))
action filter_type
action find
entity Q1419737
relation P159
type Q33506
['Q1419737', 'P159', {'concept': 'Q33506'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q33506 . resource:Q1419737 property:P159 ?v }
Guildhall School of Music and Drama
action filter_type
action find
entity Guildhall School of Music and Drama
relation headquarters location
type museum
['Guildhall School of Music and Drama', 'headquarters location', {'concept': 'museum'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:museum . resource:Guildhall_School_of_Music_and_Drama property:headquarters_location ?v }
[]
museum
Q653858
SYSTEM
Barbican Centre
Q653858
(Q1419737,P159,c(Q33506))
action filter_type
action find
entity Q1419737
relation P159
type Q33506
[ANSWER] is the HQ of that school
['Q1419737', 'P159', {'concept': 'Q33506'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q33506 . resource:Q1419737 property:P159 ?v }
Barbican Centre
Barbican Centre is the HQ of that school
Barbican Centre
action filter_type
action find
entity Guildhall School of Music and Drama
relation headquarters location
type museum
['Guildhall School of Music and Drama', 'headquarters location', {'concept': 'museum'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:museum . resource:Guildhall_School_of_Music_and_Drama property:headquarters_location ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q653858
P287
Q4830453
USER
Who created the design for that museum ?
(Q653858,P287,c(Q4830453))
action filter_type
action find
entity Q653858
relation P287
type Q4830453
['Q653858', 'P287', {'concept': 'Q4830453'}]
SELECT DISTINCT ?m WHERE { resource:Q653858 property:P287 ?m . ?m rdf:type ontology:Q4830453 }
Barbican Centre
action filter_type
action find
entity Barbican Centre
relation designer
type business enterprise
['Barbican Centre', 'designer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?m WHERE { resource:Barbican_Centre property:designer ?m . ?m rdf:type ontology:business_enterprise }
[]
business enterprise
Q5069606
SYSTEM
Chamberlin, Powell and Bon
Q5069606
(Q653858,P287,c(Q4830453))
action filter_type
action find
entity Q653858
relation P287
type Q4830453
[ANSWER] created the design for that museum
['Q653858', 'P287', {'concept': 'Q4830453'}]
SELECT DISTINCT ?m WHERE { resource:Q653858 property:P287 ?m . ?m rdf:type ontology:Q4830453 }
Chamberlin, Powell and Bon
Chamberlin, Powell and Bon created the design for that museum
Chamberlin, Powell and Bon
action filter_type
action find
entity Barbican Centre
relation designer
type business enterprise
['Barbican Centre', 'designer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?m WHERE { resource:Barbican_Centre property:designer ?m . ?m rdf:type ontology:business_enterprise }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q665752
Q4830453
USER
And how about Rapier?
(Q665752,P287,c(Q4830453))
action filter_type
action find
entity Q665752
relation P287
type Q4830453
['Q665752', 'P287', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { resource:Q665752 property:P287 ?u . ?u rdf:type ontology:Q4830453 }
Rapier
action filter_type
action find
entity Rapier
relation designer
type business enterprise
['Rapier', 'designer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { resource:Rapier property:designer ?u . ?u rdf:type ontology:business_enterprise }
[]
business enterprise
Q655224
SYSTEM
British Aircraft Corporation
Q655224
(Q665752,P287,c(Q4830453))
action filter_type
action find
entity Q665752
relation P287
type Q4830453
[ANSWER]
['Q665752', 'P287', {'concept': 'Q4830453'}]
SELECT DISTINCT ?u WHERE { resource:Q665752 property:P287 ?u . ?u rdf:type ontology:Q4830453 }
British Aircraft Corporation
British Aircraft Corporation
action filter_type
action find
entity Rapier
relation designer
type business enterprise
['Rapier', 'designer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?u WHERE { resource:Rapier property:designer ?u . ?u rdf:type ontology:business_enterprise }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q655224
P176
Q3084961
USER
What was built by that business enterprise ?
(c(Q3084961),P176,Q655224)
action filter_type
action find_reverse
entity Q655224
relation P176
type Q3084961
[{'concept': 'Q3084961'}, 'P176', 'Q655224']
SELECT DISTINCT ?v WHERE { ?v property:P176 resource:Q655224 . ?v rdf:type ontology:Q3084961 }
British Aircraft Corporation
action filter_type
action find_reverse
entity British Aircraft Corporation
relation manufacturer
type product lining
[{'concept': 'product lining'}, 'manufacturer', 'British Aircraft Corporation']
SELECT DISTINCT ?v WHERE { ?v property:manufacturer resource:British_Aircraft_Corporation . ?v rdf:type ontology:product_lining }
[]
product lining
Q19381
SYSTEM
Lightning
Q19381
(c(Q3084961),P176,Q655224)
action filter_type
action find_reverse
entity Q655224
relation P176
type Q3084961
[ANSWER] was built by that business enterprise
[{'concept': 'Q3084961'}, 'P176', 'Q655224']
SELECT DISTINCT ?v WHERE { ?v property:P176 resource:Q655224 . ?v rdf:type ontology:Q3084961 }
Lightning
Lightning was built by that business enterprise
Lightning
action filter_type
action find_reverse
entity British Aircraft Corporation
relation manufacturer
type product lining
[{'concept': 'product lining'}, 'manufacturer', 'British Aircraft Corporation']
SELECT DISTINCT ?v WHERE { ?v property:manufacturer resource:British_Aircraft_Corporation . ?v rdf:type ontology:product_lining }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q655224
P176
Q1875621 Q2424752
USER
How many aircraft classes and products were manufactured by British Aircraft Corporation ?
(c(Q1875621),P176,Q655224) (c(Q2424752),P176,Q655224)
action count
action union
action filter_type
action find_reverse
entity Q655224
relation P176
type Q1875621
action filter_type
action find_reverse
entity Q655224
relation P176
type Q2424752
[{'concept': 'Q1875621'}, 'P176', 'Q655224'] [{'concept': 'Q2424752'}, 'P176', 'Q655224']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?m ) { ( ontology:Q1875621 ) ( ontology:Q2424752 ) } . ?g rdf:type ?m }
British Aircraft Corporation
action count
action union
action filter_type
action find_reverse
entity British Aircraft Corporation
relation manufacturer
type aircraft class
action filter_type
action find_reverse
entity British Aircraft Corporation
relation manufacturer
type product
[{'concept': 'aircraft class'}, 'manufacturer', 'British Aircraft Corporation'] [{'concept': 'product'}, 'manufacturer', 'British Aircraft Corporation']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?m ) { ( ontology:aircraft_class ) ( ontology:product ) } . ?g rdf:type ?m }
[]
aircraft class product
SYSTEM
1 aircraft classes and 3 products
Q18199686 Q18199688 Q18199677 Q223237
(c(Q1875621),P176,Q655224) (c(Q2424752),P176,Q655224)
action count
action union
action filter_type
action find_reverse
entity Q655224
relation P176
type Q1875621
action filter_type
action find_reverse
entity Q655224
relation P176
type Q2424752
[ANSWER]
[{'concept': 'Q1875621'}, 'P176', 'Q655224'] [{'concept': 'Q2424752'}, 'P176', 'Q655224']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?m ) { ( ontology:Q1875621 ) ( ontology:Q2424752 ) } . ?g rdf:type ?m }
One-Eleven 475 One-Eleven 500 One-Eleven 200 SEPECAT Jaguar
1 aircraft classes and 3 products
action count
action union
action filter_type
action find_reverse
entity British Aircraft Corporation
relation manufacturer
type aircraft class
action filter_type
action find_reverse
entity British Aircraft Corporation
relation manufacturer
type product
[{'concept': 'aircraft class'}, 'manufacturer', 'British Aircraft Corporation'] [{'concept': 'product'}, 'manufacturer', 'British Aircraft Corporation']
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { VALUES ( ?m ) { ( ontology:aircraft_class ) ( ontology:product ) } . ?g rdf:type ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P121
Q3084961 Q781132
USER
How many military branches handle the operation of approximately 3 product linings ?
(c(Q781132),P121,c(Q3084961))
action count
action approx
action find_tuple_counts
relation P121
type Q781132
type Q3084961
value 3
[{'concept': 'Q781132'}, 'P121', {'concept': 'Q3084961'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:Q3084961 . ?u rdf:type ontology:Q781132 . ?u property:P121 ?l } GROUP BY ?u } . FILTER ( ?o = 3 ) }
action count
action approx
action find_tuple_counts
relation item operated
type military branch
type product lining
value 3
[{'concept': 'military branch'}, 'item operated', {'concept': 'product lining'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:product_lining . ?u rdf:type ontology:military_branch . ?u property:item_operated ?l } GROUP BY ?u } . FILTER ( ?o = 3 ) }
[]
product lining military branch
SYSTEM
9
Q17404781 Q1324290 Q2055634 Q4939559 Q3293231 Q4855270 Q2370391 Q17049310 Q569328
(c(Q781132),P121,c(Q3084961))
action count
action approx
action find_tuple_counts
relation P121
type Q781132
type Q3084961
value 3
[ANSWER]
[{'concept': 'Q781132'}, 'P121', {'concept': 'Q3084961'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:Q3084961 . ?u rdf:type ontology:Q781132 . ?u property:P121 ?l } GROUP BY ?u } . FILTER ( ?o = 3 ) }
Afghan Special Mission Wing Vietnam People's Navy Royal Bahrain Naval Force Bolivian Army Bangladesh Navy Bangladesh Army Royal Bhutan Army Angolan Navy Air Force and Anti-Air Defence Brigade
9
action count
action approx
action find_tuple_counts
relation item operated
type military branch
type product lining
value 3
[{'concept': 'military branch'}, 'item operated', {'concept': 'product lining'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?l ) AS ?o ) WHERE { ?l rdf:type ontology:product_lining . ?u rdf:type ontology:military_branch . ?u property:item_operated ?l } GROUP BY ?u } . FILTER ( ?o = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P516
Q151885 Q3084961
USER
Which concepts are the sources of power of min number of product linings ?
(c(Q3084961),P516,Q1784109)
action argmin
action find_reverse_tuple_counts
relation P516
type Q151885
type Q3084961
[{'concept': 'Q3084961'}, 'P516', 'Q1784109']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P516 ?s . ?v rdf:type ontology:Q3084961 . ?s rdf:type ontology:Q151885 } GROUP BY ?s } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P516 ?w . ?w rdf:type ontology:Q151885 . ?a rdf:type ontology:Q3084961 } GROUP BY ?w } . FILTER ( ?y = ?o ) }
action argmin
action find_reverse_tuple_counts
relation powerplant
type concept
type product lining
[{'concept': 'product lining'}, 'powerplant', 'straight-four']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:powerplant ?s . ?v rdf:type ontology:product_lining . ?s rdf:type ontology:concept } GROUP BY ?s } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:powerplant ?w . ?w rdf:type ontology:concept . ?a rdf:type ontology:product_lining } GROUP BY ?w } . FILTER ( ?y = ?o ) }
[]
concept product lining
Q2263764 Q946676 Q3269254
SYSTEM
V16, straight engine, flat-four
Q2263764 Q946676 Q3269254 Q1935842 Q341174 Q1148385 Q724736 Q1784109
(c(Q3084961),P516,Q1784109)
action argmin
action find_reverse_tuple_counts
relation P516
type Q151885
type Q3084961
[ANSWERS] are the sources of power of min number of product linings
[{'concept': 'Q3084961'}, 'P516', 'Q1784109']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:P516 ?s . ?v rdf:type ontology:Q3084961 . ?s rdf:type ontology:Q151885 } GROUP BY ?s } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P516 ?w . ?w rdf:type ontology:Q151885 . ?a rdf:type ontology:Q3084961 } GROUP BY ?w } . FILTER ( ?y = ?o ) }
V16 straight engine flat-four straight-twin V8 straight-six V engine straight-four
V16, straight engine and flat-four are the sources of power of min number of product linings
V16 straight engine flat-four
action argmin
action find_reverse_tuple_counts
relation powerplant
type concept
type product lining
[{'concept': 'product lining'}, 'powerplant', 'straight-four']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?c ) WHERE { ?v property:powerplant ?s . ?v rdf:type ontology:product_lining . ?s rdf:type ontology:concept } GROUP BY ?s } } . { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:powerplant ?w . ?w rdf:type ontology:concept . ?a rdf:type ontology:product_lining } GROUP BY ?w } . FILTER ( ?y = ?o ) }
[]