Simple Question (Direct)
Simple Question
Q5932212
P166
Q618779
USER
Which awards were received by Hugh P. Harris ?
(Q5932212,P166,c(Q618779))
action filter_type
action find
entity Q5932212
relation P166
type Q618779
['Q5932212', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q5932212 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Hugh P. Harris
action filter_type
action find
entity Hugh P. Harris
relation award received
type award
['Hugh P. Harris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Hugh_P._Harris property:award_received ?d . ?d rdf:type ontology:award }
[]
award
Q852071 Q724443
SYSTEM
Silver Star, Legion of Merit
Q852071 Q724443
(Q5932212,P166,c(Q618779))
action filter_type
action find
entity Q5932212
relation P166
type Q618779
The [ANSWERS] were received by Hugh P. Harris
['Q5932212', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q5932212 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Silver Star Legion of Merit
The Silver Star and Legion of Merit were received by Hugh P. Harris
Silver Star Legion of Merit
action filter_type
action find
entity Hugh P. Harris
relation award received
type award
['Hugh P. Harris', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Hugh_P._Harris property:award_received ?d . ?d rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5932212
P241
Q781132
USER
Which military branch was that person a part of ?
(Q852071,P241,c(Q781132)) (Q724443,P241,c(Q781132))
action filter_type
action find
entity Q5932212
relation P241
type Q781132
['Q852071', 'P241', {'concept': 'Q781132'}] ['Q724443', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q5932212 property:P241 ?l . ?l rdf:type ontology:Q781132 }
Hugh P. Harris
action filter_type
action find
entity Hugh P. Harris
relation military branch
type military branch
['Silver Star', 'military branch', {'concept': 'military branch'}] ['Legion of Merit', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Hugh_P._Harris property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q852071,P241,c(Q781132)) (Q724443,P241,c(Q781132))
action filter_type
action find
entity Q5932212
relation P241
type Q781132
U [ANSWER] was that person a part of
['Q852071', 'P241', {'concept': 'Q781132'}] ['Q724443', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q5932212 property:P241 ?l . ?l rdf:type ontology:Q781132 }
United States Army
U United States Army was that person a part of
United States Army
action filter_type
action find
entity Hugh P. Harris
relation military branch
type military branch
['Silver Star', 'military branch', {'concept': 'military branch'}] ['Legion of Merit', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Hugh_P._Harris property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3272157 Q5932212
P241
Q781132
USER
Or William Fechteler?
OR((Q5932212,P241,c(Q781132)), (Q3272157,P241,c(Q781132)))
action filter_type
action union
action find
entity Q5932212
relation P241
action find
entity Q3272157
relation P241
type Q781132
{'OR': [['Q5932212', 'P241', {'concept': 'Q781132'}], ['Q3272157', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q5932212 property:P241 ?n } UNION { resource:Q3272157 property:P241 ?n } } . ?n rdf:type ontology:Q781132 }
William Fechteler Hugh P. Harris
action filter_type
action union
action find
entity Hugh P. Harris
relation military branch
action find
entity William Fechteler
relation military branch
type military branch
{'OR': [['Hugh P. Harris', 'military branch', {'concept': 'military branch'}], ['William Fechteler', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Hugh_P._Harris property:military_branch ?n } UNION { resource:William_Fechteler property:military_branch ?n } } . ?n rdf:type ontology:military_branch }
[]
military branch
Q9212 Q11220
SYSTEM
United States Army, United States Navy
Q9212 Q11220
OR((Q5932212,P241,c(Q781132)), (Q3272157,P241,c(Q781132)))
action filter_type
action union
action find
entity Q5932212
relation P241
action find
entity Q3272157
relation P241
type Q781132
[ANSWERS]
{'OR': [['Q5932212', 'P241', {'concept': 'Q781132'}], ['Q3272157', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q5932212 property:P241 ?n } UNION { resource:Q3272157 property:P241 ?n } } . ?n rdf:type ontology:Q781132 }
United States Army United States Navy
United States Army United States Navy
action filter_type
action union
action find
entity Hugh P. Harris
relation military branch
action find
entity William Fechteler
relation military branch
type military branch
{'OR': [['Hugh P. Harris', 'military branch', {'concept': 'military branch'}], ['William Fechteler', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Hugh_P._Harris property:military_branch ?n } UNION { resource:William_Fechteler property:military_branch ?n } } . ?n rdf:type ontology:military_branch }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q781132 Q5962346
USER
Which classification schemes were operated by atleast 2 military branches ?
(c(Q5962346),P137,c(Q781132))
action atleast
action find_tuple_counts
relation P137
type Q5962346
type Q781132
value 2
[{'concept': 'Q5962346'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?t ) WHERE { ?c rdf:type ontology:Q5962346 . ?e rdf:type ontology:Q781132 . ?c property:P137 ?e } GROUP BY ?c } . FILTER ( ?t >= 2 ) }
action atleast
action find_tuple_counts
relation operator
type classification scheme
type military branch
value 2
[{'concept': 'classification scheme'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?t ) WHERE { ?c rdf:type ontology:classification_scheme . ?e rdf:type ontology:military_branch . ?c property:operator ?e } GROUP BY ?c } . FILTER ( ?t >= 2 ) }
[]
military branch classification scheme
Q1070632 Q911728 Q663037
SYSTEM
Sierra-class submarine, Victor III class submarine, Alfa-class submarine
Q2451575 Q1960377 Q2975881 Q1499693 Q1773877 Q1782356 Q699842 Q1066814 Q1720127 Q513869 Q2993149 Q395500 Q19623641 Q55520 Q264912 Q686973 Q13360583 Q2449165 Q494403 Q637775 Q1288529 Q6676568 Q846078 Q911728 Q713262 Q4172473 Q385734 Q4367177 Q1987866 Q3679377 Q842423 Q11797542 Q2596671 Q975420 Q1068329 Q7862861 Q765764 Q1194287 Q337990 Q1998900 Q2975947 Q2062612 Q482835 Q2297597 Q6675326 Q1153647 Q955978 Q4785927 Q7449173 Q1754293 Q1541289 Q2000100 Q1626375 Q7862878 Q876616 Q1070632 Q913512 Q528109 Q4367155 Q4367153 Q4367159 Q15631872 Q1475075 Q663037 Q1968562 Q3503826 Q1544451 Q1545043 Q1124859 Q14906943 Q2707876 Q2307521 Q442303 Q1389261 Q1719789
(c(Q5962346),P137,c(Q781132))
action atleast
action find_tuple_counts
relation P137
type Q5962346
type Q781132
value 2
[ANSWERS] were operated by atleast 2 military branches
[{'concept': 'Q5962346'}, 'P137', {'concept': 'Q781132'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?t ) WHERE { ?c rdf:type ontology:Q5962346 . ?e rdf:type ontology:Q781132 . ?c property:P137 ?e } GROUP BY ?c } . FILTER ( ?t >= 2 ) }
Karp-class submarine Soviet S-class submarine British H-class submarine Yankee-class submarine CB-class midget submarine Delta IV-class submarine Balao-class submarine Charlie-class submarine British J-class submarine Oscar-class submarine Holland 602 type submarine Agosta-class submarine Oscar-I-class submarine Kilo-class submarine November-class submarine Type 206 submarine Papa class submarine Kasatka-class submarine Type 214 submarine Daphné-class submarine CA-class midget submarine Delta I-class submarine Romeo-class submarine Victor III class submarine Hai Lung-class submarine Echo I class submarine Whiskey-class submarine Ronis-class submarine Bars-class submarine Liuzzi-class submarine Foxtrot-class submarine Oscar-II-class submarine Type B1 submarine Som-class submarine Golf-class submarine U-10-class submarine Kobben-class submarine Tango-class submarine Juliett class submarine Russian Narval-class submarine Morzh-class submarine S1000 class submarines Type 209 submarine Delta II-class submarine Echo II class submarine Zulu-class submarine Marcello-class submarine Archer-class submarine Victor I class submarine Upholder/Victoria-class submarine Västergötland-class submarine Kaiman-class submarine Project 615 U-43-class submarine Akula-class submarine Sierra-class submarine Victor II class submarine Hotel-class submarine Charlie II-class submarine Project 667AT Grusha Sierra II class submarine German Type UE II submarine Victor-class submarine Alfa-class submarine Delta III-class submarine German Type UB II submarine Greater Underwater Propulsion Power Program Delta-class submarine Oberon-class submarine Project 636 Varshavyanka Sjöormen-class submarine Losos-class submarine Beluga-class submarine Priz class deep submergence rescue vehicle German UD-class submarine
Sierra-class submarine, Victor III class submarine and Alfa-class submarine were operated by atleast 2 military branches
Sierra-class submarine Victor III class submarine Alfa-class submarine
action atleast
action find_tuple_counts
relation operator
type classification scheme
type military branch
value 2
[{'concept': 'classification scheme'}, 'operator', {'concept': 'military branch'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?t ) WHERE { ?c rdf:type ontology:classification_scheme . ?e rdf:type ontology:military_branch . ?c property:operator ?e } GROUP BY ?c } . FILTER ( ?t >= 2 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P289
Q2235308
USER
How many ship types have a vessel class called that classification scheme ?
(c(Q2235308),P289,Q1070632)
[{'concept': 'Q2235308'}, 'P289', 'Q1070632']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q19832479 resource:Q1070632 . ?z rdf:type ontology:Q2235308 }
[{'concept': 'ship type'}, 'vessel class', 'Sierra-class submarine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:vessel_class resource:Sierra-class_submarine . ?z rdf:type ontology:ship_type }
[]
ship type
Quantitative|Count|Single entity type|Clarification
Q1070632
SYSTEM
Did you mean Sierra-class submarine ?
(c(Q2235308),P289,Q1070632) (c(Q2235308),P289,Q911728) (c(Q2235308),P289,Q663037)
[ANSWER]
[{'concept': 'Q2235308'}, 'P289', 'Q1070632'] [{'concept': 'Q2235308'}, 'P289', 'Q911728'] [{'concept': 'Q2235308'}, 'P289', 'Q663037']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q19832479 resource:Q1070632 . ?z rdf:type ontology:Q2235308 }
Did you mean Sierra-class submarine ?
Sierra-class submarine
[{'concept': 'ship type'}, 'vessel class', 'Sierra-class submarine'] [{'concept': 'ship type'}, 'vessel class', 'Victor III class submarine'] [{'concept': 'ship type'}, 'vessel class', 'Alfa-class submarine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:vessel_class resource:Sierra-class_submarine . ?z rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q2235308),P289,Q1070632)
[{'concept': 'Q2235308'}, 'P289', 'Q1070632']
[{'concept': 'ship type'}, 'vessel class', 'Sierra-class submarine']
[]
SYSTEM
3
Q1995696 Q4282419 Q4382971
(c(Q2235308),P289,Q1070632)
[ANSWER]
[{'concept': 'Q2235308'}, 'P289', 'Q1070632']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q19832479 resource:Q1070632 . ?z rdf:type ontology:Q2235308 }
Russian submarine B-276 Kostroma K-123 Mars Russian submarine Pskov
3
[{'concept': 'ship type'}, 'vessel class', 'Sierra-class submarine']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:vessel_class resource:Sierra-class_submarine . ?z rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1070632 Q29709
P138
Q56061
USER
How many administrative territories are namesakes of Sierra-class submarine or Leghorn ?
(Q1070632,P138,c(Q56061)) (Q29709,P138,c(Q56061))
action count
action union
action filter_type
action find
entity Q1070632
relation P138
type Q56061
action filter_type
action find
entity Q29709
relation P138
type Q56061
['Q1070632', 'P138', {'concept': 'Q56061'}] ['Q29709', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { resource:Q1070632 property:P138 ?u . ?u rdf:type ontology:Q56061 } UNION { ?u rdf:type ontology:Q56061 . resource:Q29709 property:P138 ?u } }
Sierra-class submarine Leghorn
action count
action union
action filter_type
action find
entity Sierra-class submarine
relation named after
type administrative territorial entity
action filter_type
action find
entity Leghorn
relation named after
type administrative territorial entity
['Sierra-class submarine', 'named after', {'concept': 'administrative territorial entity'}] ['Leghorn', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { resource:Sierra-class_submarine property:named_after ?u . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u rdf:type ontology:administrative_territorial_entity . resource:Leghorn property:named_after ?u } }
[]
administrative territorial entity
SYSTEM
2
Q2044 Q6761
(Q1070632,P138,c(Q56061)) (Q29709,P138,c(Q56061))
action count
action union
action filter_type
action find
entity Q1070632
relation P138
type Q56061
action filter_type
action find
entity Q29709
relation P138
type Q56061
[ANSWER]
['Q1070632', 'P138', {'concept': 'Q56061'}] ['Q29709', 'P138', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { resource:Q1070632 property:P138 ?u . ?u rdf:type ontology:Q56061 } UNION { ?u rdf:type ontology:Q56061 . resource:Q29709 property:P138 ?u } }
Florence Livorno
2
action count
action union
action filter_type
action find
entity Sierra-class submarine
relation named after
type administrative territorial entity
action filter_type
action find
entity Leghorn
relation named after
type administrative territorial entity
['Sierra-class submarine', 'named after', {'concept': 'administrative territorial entity'}] ['Leghorn', 'named after', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { { resource:Sierra-class_submarine property:named_after ?u . ?u rdf:type ontology:administrative_territorial_entity } UNION { ?u rdf:type ontology:administrative_territorial_entity . resource:Leghorn property:named_after ?u } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1070632
P289
Q2235308
USER
Which ship types have a vessel class called that classification scheme ?
action filter_type
action find_reverse
entity Q1070632
relation P289
type Q2235308
SELECT DISTINCT ?b WHERE { ?b property:P289 resource:Q1070632 . ?b rdf:type ontology:Q2235308 }
Sierra-class submarine
action filter_type
action find_reverse
entity Sierra-class submarine
relation vessel class
type ship type
SELECT DISTINCT ?b WHERE { ?b property:vessel_class resource:Sierra-class_submarine . ?b rdf:type ontology:ship_type }
[]
ship type
Q4282419 Q1995696 Q4382971
SYSTEM
K-123 Mars, Russian submarine B-276 Kostroma, Russian submarine Pskov
Q4282419 Q1995696 Q4382971
action filter_type
action find_reverse
entity Q1070632
relation P289
type Q2235308
[ANSWERS] have a vessel class called that classification scheme
SELECT DISTINCT ?b WHERE { ?b property:P289 resource:Q1070632 . ?b rdf:type ontology:Q2235308 }
K-123 Mars Russian submarine B-276 Kostroma Russian submarine Pskov
K-123 Mars, Russian submarine B-276 Kostroma and Russian submarine Pskov have a vessel class called that classification scheme
K-123 Mars Russian submarine B-276 Kostroma Russian submarine Pskov
action filter_type
action find_reverse
entity Sierra-class submarine
relation vessel class
type ship type
SELECT DISTINCT ?b WHERE { ?b property:vessel_class resource:Sierra-class_submarine . ?b rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4282419 Q1995696 Q4382971
P289
Q5962346
USER
Which classification schemes do K-123 Mars, Russian submarine B-276 Kostroma and Russian submarine Pskov possess as their vessel class ?
(Q4282419,P289,c(Q5962346)) (Q1995696,P289,c(Q5962346)) (Q4382971,P289,c(Q5962346))
action union
action filter_type
action find
entity Q4282419
relation P289
type Q5962346
action filter_type
action find
entity Q1995696
relation P289
type Q5962346
action filter_type
action find
entity Q4382971
relation P289
type Q5962346
['Q4282419', 'P289', {'concept': 'Q5962346'}] ['Q1995696', 'P289', {'concept': 'Q5962346'}] ['Q4382971', 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q5962346 . resource:Q4282419 property:P289 ?v } UNION { ?v rdf:type ontology:Q5962346 . resource:Q1995696 property:P289 ?v } }
K-123 Mars Russian submarine B-276 Kostroma Russian submarine Pskov
action union
action filter_type
action find
entity K-123 Mars
relation vessel class
type classification scheme
action filter_type
action find
entity Russian submarine B-276 Kostroma
relation vessel class
type classification scheme
action filter_type
action find
entity Russian submarine Pskov
relation vessel class
type classification scheme
['K-123 Mars', 'vessel class', {'concept': 'classification scheme'}] ['Russian submarine B-276 Kostroma', 'vessel class', {'concept': 'classification scheme'}] ['Russian submarine Pskov', 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:classification_scheme . resource:K-123_Mars property:vessel_class ?v } UNION { ?v rdf:type ontology:classification_scheme . resource:Russian_submarine_B-276_Kostroma property:vessel_class ?v } }
[]
classification scheme
Q1070632 Q1070632 Q1070632
SYSTEM
Sierra-class submarine
Q1070632 Q1070632 Q1070632
(Q4282419,P289,c(Q5962346)) (Q1995696,P289,c(Q5962346)) (Q4382971,P289,c(Q5962346))
action union
action filter_type
action find
entity Q4282419
relation P289
type Q5962346
action filter_type
action find
entity Q1995696
relation P289
type Q5962346
action filter_type
action find
entity Q4382971
relation P289
type Q5962346
[ANSWER], [ANSWER] and [ANSWER] K-123 Mars, Russian submarine B-276 Kostroma and Russian submarine Pskov possess as their vessel class
['Q4282419', 'P289', {'concept': 'Q5962346'}] ['Q1995696', 'P289', {'concept': 'Q5962346'}] ['Q4382971', 'P289', {'concept': 'Q5962346'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:Q5962346 . resource:Q4282419 property:P289 ?v } UNION { ?v rdf:type ontology:Q5962346 . resource:Q1995696 property:P289 ?v } }
Sierra-class submarine Sierra-class submarine Sierra-class submarine
Sierra-class submarine, Sierra-class submarine and Sierra-class submarine K-123 Mars, Russian submarine B-276 Kostroma and Russian submarine Pskov possess as their vessel class
Sierra-class submarine Sierra-class submarine Sierra-class submarine
action union
action filter_type
action find
entity K-123 Mars
relation vessel class
type classification scheme
action filter_type
action find
entity Russian submarine B-276 Kostroma
relation vessel class
type classification scheme
action filter_type
action find
entity Russian submarine Pskov
relation vessel class
type classification scheme
['K-123 Mars', 'vessel class', {'concept': 'classification scheme'}] ['Russian submarine B-276 Kostroma', 'vessel class', {'concept': 'classification scheme'}] ['Russian submarine Pskov', 'vessel class', {'concept': 'classification scheme'}]
SELECT DISTINCT ?v WHERE { { ?v rdf:type ontology:classification_scheme . resource:K-123_Mars property:vessel_class ?v } UNION { ?v rdf:type ontology:classification_scheme . resource:Russian_submarine_B-276_Kostroma property:vessel_class ?v } }
[]