Simple Question (Direct)
Simple Question
Q10515159
P520
Q81103
USER
What is used as a weapon by HMS Sturkö ?
(Q10515159,P520,c(Q81103))
action filter_type
action find
entity Q10515159
relation P520
type Q81103
['Q10515159', 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ?n WHERE { resource:Q10515159 property:P520 ?n . ?n rdf:type ontology:Q81103 }
HMS Sturkö
action filter_type
action find
entity HMS Sturkö
relation armament
type cannon
['HMS Sturkö', 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ?n WHERE { resource:HMS_Sturkö property:armament ?n . ?n rdf:type ontology:cannon }
[]
cannon
Q1132216
SYSTEM
Bofors 40 mm
Q1132216
(Q10515159,P520,c(Q81103))
action filter_type
action find
entity Q10515159
relation P520
type Q81103
[ANSWER] is used as a weapon by HMS Sturkö
['Q10515159', 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ?n WHERE { resource:Q10515159 property:P520 ?n . ?n rdf:type ontology:Q81103 }
Bofors 40 mm
Bofors 40 mm is used as a weapon by HMS Sturkö
Bofors 40 mm
action filter_type
action find
entity HMS Sturkö
relation armament
type cannon
['HMS Sturkö', 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ?n WHERE { resource:HMS_Sturkö property:armament ?n . ?n rdf:type ontology:cannon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10515159
P137
Q781132
USER
Who operates HMS Sturkö ?
(Q10515159,P137,c(Q781132))
action filter_type
action find
entity Q10515159
relation P137
type Q781132
['Q10515159', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q10515159 property:P137 ?d . ?d rdf:type ontology:Q781132 }
HMS Sturkö
action filter_type
action find
entity HMS Sturkö
relation operator
type military branch
['HMS Sturkö', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:HMS_Sturkö property:operator ?d . ?d rdf:type ontology:military_branch }
[]
military branch
Q1141396
SYSTEM
Swedish Navy
Q1141396
(Q10515159,P137,c(Q781132))
action filter_type
action find
entity Q10515159
relation P137
type Q781132
[ANSWER] operates HMS Sturkö
['Q10515159', 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?d WHERE { resource:Q10515159 property:P137 ?d . ?d rdf:type ontology:Q781132 }
Swedish Navy
Swedish Navy operates HMS Sturkö
Swedish Navy
action filter_type
action find
entity HMS Sturkö
relation operator
type military branch
['HMS Sturkö', 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?d WHERE { resource:HMS_Sturkö property:operator ?d . ?d rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10515159
P176
Q4830453
USER
Who is the maker of HMS Sturkö ?
(Q10515159,P176,c(Q4830453))
action filter_type
action find
entity Q10515159
relation P176
type Q4830453
['Q10515159', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?r WHERE { resource:Q10515159 property:P176 ?r . ?r rdf:type ontology:Q4830453 }
HMS Sturkö
action filter_type
action find
entity HMS Sturkö
relation manufacturer
type business enterprise
['HMS Sturkö', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?r WHERE { resource:HMS_Sturkö property:manufacturer ?r . ?r rdf:type ontology:business_enterprise }
[]
business enterprise
Q10543891
SYSTEM
Karlskrona shipyard
Q10543891
(Q10515159,P176,c(Q4830453))
action filter_type
action find
entity Q10515159
relation P176
type Q4830453
The maker of HMS Sturkö is the [ANSWER]
['Q10515159', 'P176', {'concept': 'Q4830453'}]
SELECT DISTINCT ?r WHERE { resource:Q10515159 property:P176 ?r . ?r rdf:type ontology:Q4830453 }
Karlskrona shipyard
The maker of HMS Sturkö is the Karlskrona shipyard
Karlskrona shipyard
action filter_type
action find
entity HMS Sturkö
relation manufacturer
type business enterprise
['HMS Sturkö', 'manufacturer', {'concept': 'business enterprise'}]
SELECT DISTINCT ?r WHERE { resource:HMS_Sturkö property:manufacturer ?r . ?r rdf:type ontology:business_enterprise }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P520
Q81103 Q197 Q15056995
USER
Which cannons are used by min number of airplanes and aircraft models ?
(c(Q197)|c(Q15056995),P520,c(Q81103))
action argmin
action union
action find_reverse_tuple_counts
relation P520
type Q81103
type Q197
action find_reverse_tuple_counts
relation P520
type Q81103
type Q15056995
[[{'concept': 'Q197'}, {'concept': 'Q15056995'}], 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?l WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:Q197 ) ( ontology:Q15056995 ) } } GROUP BY ?l } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?i WHERE { VALUES ( ?f ) { ( ontology:Q197 ) ( ontology:Q15056995 ) } . ?o rdf:type ?f } GROUP BY ?i } } }
action argmin
action union
action find_reverse_tuple_counts
relation armament
type cannon
type airplane
action find_reverse_tuple_counts
relation armament
type cannon
type aircraft model
[[{'concept': 'airplane'}, {'concept': 'aircraft model'}], 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?l WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:airplane ) ( ontology:aircraft_model ) } } GROUP BY ?l } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?i WHERE { VALUES ( ?f ) { ( ontology:airplane ) ( ontology:aircraft_model ) } . ?o rdf:type ?f } GROUP BY ?i } } }
[]
cannon airplane aircraft model
Q1152952 Q2297890 Q171641
SYSTEM
DEFA, QF 2-pounder naval gun, 12.8 cm Pak 44
Q4386247 Q2297890 Q680704 Q1112061 Q6713453 Q2633872 Q1152952 Q2936462 Q1763259 Q5935313 Q4642906 Q2142092 Q171641 Q210670 Q2131718 Q1132216 Q4403098 Q2479597 Q4101632 Q6713841 Q939435 Q14905319 Q14905318 Q10397341 Q1547154
(c(Q197)|c(Q15056995),P520,c(Q81103))
action argmin
action union
action find_reverse_tuple_counts
relation P520
type Q81103
type Q197
action find_reverse_tuple_counts
relation P520
type Q81103
type Q15056995
[ANSWERS] are used by min number of airplanes and aircraft models
[[{'concept': 'Q197'}, {'concept': 'Q15056995'}], 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?l WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:Q197 ) ( ontology:Q15056995 ) } } GROUP BY ?l } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?i WHERE { VALUES ( ?f ) { ( ontology:Q197 ) ( ontology:Q15056995 ) } . ?o rdf:type ?f } GROUP BY ?i } } }
Rikhter R-23 QF 2-pounder naval gun MG FF Colt-Browning Mk 12 M/40 Automatic cannon M1 DEFA Vickers S Oerlikon KCA Bofors 25 mm gun m/32 7.5 cm tornpjäs m/57 Shpitalnyi-Vladimirov AK 12.8 cm Pak 44 Oerlikon 20 mm cannon RARDEN Bofors 40 mm CM-20-3 and F Ordnance QF 17-pounder 37 mm naval gun V-11 M4 Volkov-Yartsev VYa-23 Bofors 57 mm gun Mk.3 Bofors 57 mm gun Mk.1 Bofors twin 57 mm Gryazev-Shipunov GSh-30-2
DEFA, QF 2-pounder naval gun and 12.8 cm Pak 44 are used by min number of airplanes and aircraft models
DEFA QF 2-pounder naval gun 12.8 cm Pak 44
action argmin
action union
action find_reverse_tuple_counts
relation armament
type cannon
type airplane
action find_reverse_tuple_counts
relation armament
type cannon
type aircraft model
[[{'concept': 'airplane'}, {'concept': 'aircraft model'}], 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?l WHERE { ?a rdf:type ?h . VALUES ( ?h ) { ( ontology:airplane ) ( ontology:aircraft_model ) } } GROUP BY ?l } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( MIN ( ?b ) AS ?v ) { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) ?i WHERE { VALUES ( ?f ) { ( ontology:airplane ) ( ontology:aircraft_model ) } . ?o rdf:type ?f } GROUP BY ?i } } }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P739
Q79529 Q81103
USER
Which cannons have the ammunition greater number of chemical substances than that cannon ?
(c(Q81103),P739,c(Q79529))
[{'concept': 'Q81103'}, 'P739', {'concept': 'Q79529'}]
SELECT DISTINCT ?z WHERE { ?z property:Q185785 ?y . ?z rdf:type ontology:Q1723856 . ?y rdf:type ontology:Q79529 }
[{'concept': 'cannon'}, 'ammunition', {'concept': 'chemical substance'}]
SELECT DISTINCT ?z WHERE { ?z property:ammunition ?y . ?z rdf:type ontology:cannon . ?y rdf:type ontology:chemical_substance }
[]
chemical substance cannon
Comparative|More/Less|Single entity type|Clarification
Q2297890
SYSTEM
Did you mean QF 2-pounder naval gun ?
(c(Q81103),P739,c(Q79529))
[ANSWER]
[{'concept': 'Q81103'}, 'P739', {'concept': 'Q79529'}]
SELECT DISTINCT ?z WHERE { ?z property:Q185785 ?y . ?z rdf:type ontology:Q1723856 . ?y rdf:type ontology:Q79529 }
Did you mean QF 2-pounder naval gun ?
QF 2-pounder naval gun
[{'concept': 'cannon'}, 'ammunition', {'concept': 'chemical substance'}]
SELECT DISTINCT ?z WHERE { ?z property:ammunition ?y . ?z rdf:type ontology:cannon . ?y rdf:type ontology:chemical_substance }
[]
Comparative Reasoning (All)
USER
No, I meant DEFA. Could you tell me the answer for that?
(c(Q81103),P739,c(Q79529))
Q1152952
[{'concept': 'Q81103'}, 'P739', {'concept': 'Q79529'}]
[{'concept': 'cannon'}, 'ammunition', {'concept': 'chemical substance'}]
[]
Q657002
SYSTEM
5 cm Granatwerfer 36
Q657002
(c(Q81103),P739,c(Q79529))
[ANSWER] have the ammunition greater number of chemical substances than that cannon
[{'concept': 'Q81103'}, 'P739', {'concept': 'Q79529'}]
SELECT DISTINCT ?z WHERE { ?z property:Q185785 ?y . ?z rdf:type ontology:Q1723856 . ?y rdf:type ontology:Q79529 }
5 cm Granatwerfer 36
5 cm Granatwerfer 36 have the ammunition greater number of chemical substances than that cannon
5 cm Granatwerfer 36
[{'concept': 'cannon'}, 'ammunition', {'concept': 'chemical substance'}]
SELECT DISTINCT ?z WHERE { ?z property:ammunition ?y . ?z rdf:type ontology:cannon . ?y rdf:type ontology:chemical_substance }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q657002
P739
Q79529
USER
Which chemical substance is used as ammunition in that cannon ?
(Q657002,P739,c(Q79529))
action filter_type
action find
entity Q657002
relation P739
type Q79529
['Q657002', 'P739', {'concept': 'Q79529'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q79529 . resource:Q657002 property:P739 ?y }
5 cm Granatwerfer 36
action filter_type
action find
entity 5 cm Granatwerfer 36
relation ammunition
type chemical substance
['5 cm Granatwerfer 36', 'ammunition', {'concept': 'chemical substance'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:chemical_substance . resource:5_cm_Granatwerfer_36 property:ammunition ?y }
[]
chemical substance
Q170167
SYSTEM
Trinitrotoluene
Q170167
(Q657002,P739,c(Q79529))
action filter_type
action find
entity Q657002
relation P739
type Q79529
[ANSWER] is used as ammunition in that cannon
['Q657002', 'P739', {'concept': 'Q79529'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q79529 . resource:Q657002 property:P739 ?y }
Trinitrotoluene
Trinitrotoluene is used as ammunition in that cannon
Trinitrotoluene
action filter_type
action find
entity 5 cm Granatwerfer 36
relation ammunition
type chemical substance
['5 cm Granatwerfer 36', 'ammunition', {'concept': 'chemical substance'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:chemical_substance . resource:5_cm_Granatwerfer_36 property:ammunition ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10543891
P452
Q268592
USER
What industry does Karlskrona shipyard belong to ?
(Q10543891,P452,c(Q268592))
action filter_type
action find
entity Q10543891
relation P452
type Q268592
['Q10543891', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q268592 . resource:Q10543891 property:P452 ?g }
Karlskrona shipyard
action filter_type
action find
entity Karlskrona shipyard
relation industry
type economic branch
['Karlskrona shipyard', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:economic_branch . resource:Karlskrona_shipyard property:industry ?g }
[]
economic branch
Q474200
SYSTEM
shipbuilding
Q474200
(Q10543891,P452,c(Q268592))
action filter_type
action find
entity Q10543891
relation P452
type Q268592
Karlskrona shipyard belongs to [ANSWER]
['Q10543891', 'P452', {'concept': 'Q268592'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q268592 . resource:Q10543891 property:P452 ?g }
shipbuilding
Karlskrona shipyard belongs to shipbuilding
shipbuilding
action filter_type
action find
entity Karlskrona shipyard
relation industry
type economic branch
['Karlskrona shipyard', 'industry', {'concept': 'economic branch'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:economic_branch . resource:Karlskrona_shipyard property:industry ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q474200 Q836141
P452
Q43229
USER
Does Gleiss Lutz belong to the industry that economic branch ?
(Q836141,P452,Q474200)
action is_in
entity Q836141
action find
entity Q474200
relation P452
['Q836141', 'P452', 'Q474200']
ASK WHERE { resource:Q474200 property:P452 resource:Q836141 }
shipbuilding Gleiss Lutz
action is_in
entity Gleiss Lutz
action find
entity shipbuilding
relation industry
['Gleiss Lutz', 'industry', 'shipbuilding']
ASK WHERE { resource:shipbuilding property:industry resource:Gleiss_Lutz }
[]
organization
SYSTEM
NO
(Q836141,P452,Q474200)
action is_in
entity Q836141
action find
entity Q474200
relation P452
[ANSWER]
['Q836141', 'P452', 'Q474200']
ASK WHERE { resource:Q474200 property:P452 resource:Q836141 }
No
action is_in
entity Gleiss Lutz
action find
entity shipbuilding
relation industry
['Gleiss Lutz', 'industry', 'shipbuilding']
ASK WHERE { resource:shipbuilding property:industry resource:Gleiss_Lutz }
[]