Simple Question (Direct)
Simple Question
Q85391
P166
Q618779
USER
What was awarded to Hans Jenisch ?
(Q85391,P166,c(Q618779))
action filter_type
action find
entity Q85391
relation P166
type Q618779
['Q85391', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q85391 property:P166 ?m }
Hans Jenisch
action filter_type
action find
entity Hans Jenisch
relation award received
type award
['Hans Jenisch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Hans_Jenisch property:award_received ?m }
[]
award
Q165558
SYSTEM
Knight's Cross of the Iron Cross
Q165558
(Q85391,P166,c(Q618779))
action filter_type
action find
entity Q85391
relation P166
type Q618779
Medal [ANSWER] was awarded to Hans Jenisch
['Q85391', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q618779 . resource:Q85391 property:P166 ?m }
Knight's Cross of the Iron Cross
Medal Knight's Cross of the Iron Cross was awarded to Hans Jenisch
Knight's Cross of the Iron Cross
action filter_type
action find
entity Hans Jenisch
relation award received
type award
['Hans Jenisch', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:award . resource:Hans_Jenisch property:award_received ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q85391
P607
Q178561
USER
What battle was Hans Jenisch a part of ?
(Q85391,P607,c(Q178561))
action filter_type
action find
entity Q85391
relation P607
type Q178561
['Q85391', 'P607', {'concept': 'Q178561'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q178561 . resource:Q85391 property:P607 ?n }
Hans Jenisch
action filter_type
action find
entity Hans Jenisch
relation conflict
type battle
['Hans Jenisch', 'conflict', {'concept': 'battle'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:battle . resource:Hans_Jenisch property:conflict ?n }
[]
battle
Q157627
SYSTEM
Battle of the Atlantic
Q157627
(Q85391,P607,c(Q178561))
action filter_type
action find
entity Q85391
relation P607
type Q178561
What battle was Hans Jenisch a part of
['Q85391', 'P607', {'concept': 'Q178561'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q178561 . resource:Q85391 property:P607 ?n }
Battle of the Atlantic
What battle was Hans Jenisch a part of
Battle of the Atlantic
action filter_type
action find
entity Hans Jenisch
relation conflict
type battle
['Hans Jenisch', 'conflict', {'concept': 'battle'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:battle . resource:Hans_Jenisch property:conflict ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q85391
P20
Q15617994
USER
Where did the demise of Hans Jenisch occur ?
(Q85391,P20,c(Q15617994))
action filter_type
action find
entity Q85391
relation P20
type Q15617994
['Q85391', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q85391 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Hans Jenisch
action filter_type
action find
entity Hans Jenisch
relation place of death
type designation for an administrative territorial entity
['Hans Jenisch', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hans_Jenisch property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q565416
SYSTEM
Kronshagen
Q565416
(Q85391,P20,c(Q15617994))
action filter_type
action find
entity Q85391
relation P20
type Q15617994
The demise of Hans Jenisch occurred in [ANSWER]
['Q85391', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q85391 property:P20 ?m . ?m rdf:type ontology:Q15617994 }
Kronshagen
The demise of Hans Jenisch occurred in Kronshagen
Kronshagen
action filter_type
action find
entity Hans Jenisch
relation place of death
type designation for an administrative territorial entity
['Hans Jenisch', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Hans_Jenisch property:place_of_death ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1278920
Q15617994
USER
And how about Eberhard Cohrs?
(Q1278920,P20,c(Q15617994))
action filter_type
action find
entity Q1278920
relation P20
type Q15617994
['Q1278920', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1278920 property:P20 ?e . ?e rdf:type ontology:Q15617994 }
Eberhard Cohrs
action filter_type
action find
entity Eberhard Cohrs
relation place of death
type designation for an administrative territorial entity
['Eberhard Cohrs', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Eberhard_Cohrs property:place_of_death ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q622091
SYSTEM
Diensdorf-Radlow
Q622091
(Q1278920,P20,c(Q15617994))
action filter_type
action find
entity Q1278920
relation P20
type Q15617994
[ANSWER]
['Q1278920', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1278920 property:P20 ?e . ?e rdf:type ontology:Q15617994 }
Diensdorf-Radlow
Diensdorf-Radlow
action filter_type
action find
entity Eberhard Cohrs
relation place of death
type designation for an administrative territorial entity
['Eberhard Cohrs', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Eberhard_Cohrs property:place_of_death ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4856301 Q85391
P27
Q1048835
USER
Which political territories are Hans Jenisch or Bankie Banx a civilian of ?
OR((Q85391,P27,c(Q1048835)), (Q4856301,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q85391
relation P27
action find
entity Q4856301
relation P27
type Q1048835
{'OR': [['Q85391', 'P27', {'concept': 'Q1048835'}], ['Q4856301', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q4856301 property:P27 ?r } UNION { resource:Q85391 property:P27 ?r } } . ?r rdf:type ontology:Q1048835 }
Bankie Banx Hans Jenisch
action filter_type
action union
action find
entity Hans Jenisch
relation country of citizenship
action find
entity Bankie Banx
relation country of citizenship
type political territorial entity
{'OR': [['Hans Jenisch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Bankie Banx', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Bankie_Banx property:country_of_citizenship ?r } UNION { resource:Hans_Jenisch property:country_of_citizenship ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q25228 Q183
SYSTEM
Anguilla, Germany
Q25228 Q183
OR((Q85391,P27,c(Q1048835)), (Q4856301,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q85391
relation P27
action find
entity Q4856301
relation P27
type Q1048835
[ANSWERS] are Hans Jenisch or Bankie Banx a civilian of
{'OR': [['Q85391', 'P27', {'concept': 'Q1048835'}], ['Q4856301', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q4856301 property:P27 ?r } UNION { resource:Q85391 property:P27 ?r } } . ?r rdf:type ontology:Q1048835 }
Anguilla Germany
Anguilla and Germany are Hans Jenisch or Bankie Banx a civilian of
Anguilla Germany
action filter_type
action union
action find
entity Hans Jenisch
relation country of citizenship
action find
entity Bankie Banx
relation country of citizenship
type political territorial entity
{'OR': [['Hans Jenisch', 'country of citizenship', {'concept': 'political territorial entity'}], ['Bankie Banx', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Bankie_Banx property:country_of_citizenship ?r } UNION { resource:Hans_Jenisch property:country_of_citizenship ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P88
Q41176
USER
Which building was approved by Germany ?
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P88 resource:Q183 . ?n rdf:type ontology:Q41176 }
Germany
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:commissioned_by resource:Germany . ?n rdf:type ontology:building }
[]
building
Q17416722
SYSTEM
Presse- und Informationsamt der Bundesregierung (Bonn)
Q17416722
(c(Q41176),P88,Q183)
action filter_type
action find_reverse
entity Q183
relation P88
type Q41176
Germany [ANSWER] was approved by Germany
[{'concept': 'Q41176'}, 'P88', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P88 resource:Q183 . ?n rdf:type ontology:Q41176 }
Presse- und Informationsamt der Bundesregierung (Bonn)
Germany Presse- und Informationsamt der Bundesregierung (Bonn) was approved by Germany
Presse- und Informationsamt der Bundesregierung (Bonn)
action filter_type
action find_reverse
entity Germany
relation commissioned by
type building
[{'concept': 'building'}, 'commissioned by', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:commissioned_by resource:Germany . ?n rdf:type ontology:building }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P176
Q81103
USER
Which cannon was manufactured by that political territory ?
(c(Q81103),P176,Q17416722)
action filter_type
action find_reverse
entity Q183
relation P176
type Q81103
[{'concept': 'Q81103'}, 'P176', 'Q17416722']
SELECT DISTINCT ?g WHERE { ?g property:P176 resource:Q183 . ?g rdf:type ontology:Q81103 }
Germany
action filter_type
action find_reverse
entity Germany
relation manufacturer
type cannon
[{'concept': 'cannon'}, 'manufacturer', 'Presse- und Informationsamt der Bundesregierung (Bonn)']
SELECT DISTINCT ?g WHERE { ?g property:manufacturer resource:Germany . ?g rdf:type ontology:cannon }
[]
cannon
Q813702
SYSTEM
Becker Type M2
Q813702
(c(Q81103),P176,Q17416722)
action filter_type
action find_reverse
entity Q183
relation P176
type Q81103
[ANSWER] was manufactured by that political territory
[{'concept': 'Q81103'}, 'P176', 'Q17416722']
SELECT DISTINCT ?g WHERE { ?g property:P176 resource:Q183 . ?g rdf:type ontology:Q81103 }
Becker Type M2
Becker Type M2 was manufactured by that political territory
Becker Type M2
action filter_type
action find_reverse
entity Germany
relation manufacturer
type cannon
[{'concept': 'cannon'}, 'manufacturer', 'Presse- und Informationsamt der Bundesregierung (Bonn)']
SELECT DISTINCT ?g WHERE { ?g property:manufacturer resource:Germany . ?g rdf:type ontology:cannon }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1620698
P520
Q81103 Q3084961 Q1875621
USER
How many cannons are used as a weapon by less number of product linings or aircraft classes than Hispano-Suiza HS.404 ?
(c(Q3084961)|c(Q1875621),P520,c(Q81103))
action count
action less
action union
action find_reverse_tuple_counts
relation P520
type Q81103
type Q3084961
action find_reverse_tuple_counts
relation P520
type Q81103
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q1620698
relation P520
type Q3084961
type Q1875621
[[{'concept': 'Q3084961'}, {'concept': 'Q1875621'}], 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P520 resource:Q1620698 . { VALUES ( ?n ) { ( ontology:Q3084961 ) ( ontology:Q1875621 ) } . ?k rdf:type ?n } } } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?d WHERE { { ?g property:P520 ?d . ?g rdf:type ontology:Q3084961 . ?d rdf:type ontology:Q81103 } UNION { ?g property:P520 ?d . ?d rdf:type ontology:Q81103 . ?g rdf:type ontology:Q1875621 } } GROUP BY ?d } }
Hispano-Suiza HS.404
action count
action less
action union
action find_reverse_tuple_counts
relation armament
type cannon
type product lining
action find_reverse_tuple_counts
relation armament
type cannon
type aircraft class
action count
action filter_multi_types
action find_reverse
entity Hispano-Suiza HS.404
relation armament
type product lining
type aircraft class
[[{'concept': 'product lining'}, {'concept': 'aircraft class'}], 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:armament resource:Hispano-Suiza_HS.404 . { VALUES ( ?n ) { ( ontology:product_lining ) ( ontology:aircraft_class ) } . ?k rdf:type ?n } } } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?d WHERE { { ?g property:armament ?d . ?g rdf:type ontology:product_lining . ?d rdf:type ontology:cannon } UNION { ?g property:armament ?d . ?d rdf:type ontology:cannon . ?g rdf:type ontology:aircraft_class } } GROUP BY ?d } }
[]
cannon product lining aircraft class
SYSTEM
37
Q4386247 Q507990 Q2297890 Q1007100 Q680704 Q1112061 Q195437 Q6713453 Q2633872 Q819083 Q1152952 Q2936462 Q1763259 Q5935313 Q4642906 Q195412 Q2142092 Q219606 Q1184830 Q171641 Q210670 Q1880975 Q2131718 Q1132216 Q902952 Q4403098 Q2479597 Q4101632 Q382034 Q937772 Q6713841 Q939435 Q14905319 Q14905318 Q10397341 Q15151098 Q1547154
(c(Q3084961)|c(Q1875621),P520,c(Q81103))
action count
action less
action union
action find_reverse_tuple_counts
relation P520
type Q81103
type Q3084961
action find_reverse_tuple_counts
relation P520
type Q81103
type Q1875621
action count
action filter_multi_types
action find_reverse
entity Q1620698
relation P520
type Q3084961
type Q1875621
[ANSWER]
[[{'concept': 'Q3084961'}, {'concept': 'Q1875621'}], 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:P520 resource:Q1620698 . { VALUES ( ?n ) { ( ontology:Q3084961 ) ( ontology:Q1875621 ) } . ?k rdf:type ?n } } } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?d WHERE { { ?g property:P520 ?d . ?g rdf:type ontology:Q3084961 . ?d rdf:type ontology:Q81103 } UNION { ?g property:P520 ?d . ?d rdf:type ontology:Q81103 . ?g rdf:type ontology:Q1875621 } } GROUP BY ?d } }
Rikhter R-23 Nudelman N-37 QF 2-pounder naval gun Gryazev-Shipunov GSh-23 MG FF Colt-Browning Mk 12 Gryazev-Shipunov GSh-301 M/40 Automatic cannon M1 Berezin B-20 DEFA Vickers S Oerlikon KCA Bofors 25 mm gun m/32 7.5 cm tornpjäs m/57 Nudelman-Suranov NS-23 Shpitalnyi-Vladimirov AK Nudelman-Suranov NS-37 Nudelman-Rikhter NR-30 12.8 cm Pak 44 Oerlikon 20 mm cannon M39 RARDEN Bofors 40 mm Nudelman-Rikhter NR-23 CM-20-3 and F Ordnance QF 17-pounder 37 mm naval gun V-11 Afanasev Makarov AM-23 Shipunov 2A42 M4 Volkov-Yartsev VYa-23 Bofors 57 mm gun Mk.3 Bofors 57 mm gun Mk.1 Bofors twin 57 mm 20 mm autocannon Gryazev-Shipunov GSh-30-2
37
action count
action less
action union
action find_reverse_tuple_counts
relation armament
type cannon
type product lining
action find_reverse_tuple_counts
relation armament
type cannon
type aircraft class
action count
action filter_multi_types
action find_reverse
entity Hispano-Suiza HS.404
relation armament
type product lining
type aircraft class
[[{'concept': 'product lining'}, {'concept': 'aircraft class'}], 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { ?k property:armament resource:Hispano-Suiza_HS.404 . { VALUES ( ?n ) { ( ontology:product_lining ) ( ontology:aircraft_class ) } . ?k rdf:type ?n } } } . FILTER ( ?u < ?f ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?u ) ?d WHERE { { ?g property:armament ?d . ?g rdf:type ontology:product_lining . ?d rdf:type ontology:cannon } UNION { ?g property:armament ?d . ?d rdf:type ontology:cannon . ?g rdf:type ontology:aircraft_class } } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q17416722
P800
Q502895
USER
How many people have Presse- und Informationsamt der Bundesregierung (Bonn) as their notable work ?
(c(Q502895),P800,Q17416722)
action count
action filter_type
action find_reverse
entity Q17416722
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q17416722']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P800 resource:Q17416722 . ?w rdf:type ontology:Q502895 }
Presse- und Informationsamt der Bundesregierung (Bonn)
action count
action filter_type
action find_reverse
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Presse- und Informationsamt der Bundesregierung (Bonn)']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:notable_work resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q15649744
(c(Q502895),P800,Q17416722)
action count
action filter_type
action find_reverse
entity Q17416722
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q17416722']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:P800 resource:Q17416722 . ?w rdf:type ontology:Q502895 }
Dirk Denninger
1
action count
action filter_type
action find_reverse
entity Presse- und Informationsamt der Bundesregierung (Bonn)
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Presse- und Informationsamt der Bundesregierung (Bonn)']
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { ?w property:notable_work resource:Presse-_und_Informationsamt_der_Bundesregierung_(Bonn) . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q913001
P800
Q502895
USER
And also tell me about A Good Man in Africa?
(c(Q502895),P800,Q913001)
action count
action filter_type
action find_reverse
entity Q913001
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q913001']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P800 resource:Q913001 . ?q rdf:type ontology:Q502895 }
A Good Man in Africa
action count
action filter_type
action find_reverse
entity A Good Man in Africa
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'A Good Man in Africa']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:notable_work resource:A_Good_Man_in_Africa . ?q rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q722103
(c(Q502895),P800,Q913001)
action count
action filter_type
action find_reverse
entity Q913001
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q913001']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:P800 resource:Q913001 . ?q rdf:type ontology:Q502895 }
William Boyd
1
action count
action filter_type
action find_reverse
entity A Good Man in Africa
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'A Good Man in Africa']
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { ?q property:notable_work resource:A_Good_Man_in_Africa . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P520
Q81103 Q1875621 Q2235308
USER
Which cannons are used as weapons by min number of aircraft classes and ship types ?
(c(Q1875621)|c(Q2235308),P520,c(Q81103))
action argmin
action union
action find_reverse_tuple_counts
relation P520
type Q81103
type Q1875621
action find_reverse_tuple_counts
relation P520
type Q81103
type Q2235308
[[{'concept': 'Q1875621'}, {'concept': 'Q2235308'}], 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:P520 ?e . ?e rdf:type ontology:Q81103 . ?m rdf:type ontology:Q1875621 } UNION { ?m property:P520 ?e . ?e rdf:type ontology:Q81103 . ?m rdf:type ontology:Q2235308 } } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P520 ?i . ?l rdf:type ontology:Q1875621 . ?i rdf:type ontology:Q81103 } UNION { ?l property:P520 ?i . ?i rdf:type ontology:Q81103 . ?l rdf:type ontology:Q2235308 } } GROUP BY ?i } . FILTER ( ?z = ?h ) }
action argmin
action union
action find_reverse_tuple_counts
relation armament
type cannon
type aircraft class
action find_reverse_tuple_counts
relation armament
type cannon
type ship type
[[{'concept': 'aircraft class'}, {'concept': 'ship type'}], 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:armament ?e . ?e rdf:type ontology:cannon . ?m rdf:type ontology:aircraft_class } UNION { ?m property:armament ?e . ?e rdf:type ontology:cannon . ?m rdf:type ontology:ship_type } } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:armament ?i . ?l rdf:type ontology:aircraft_class . ?i rdf:type ontology:cannon } UNION { ?l property:armament ?i . ?i rdf:type ontology:cannon . ?l rdf:type ontology:ship_type } } GROUP BY ?i } . FILTER ( ?z = ?h ) }
[]
cannon aircraft class ship type
Q1620698 Q195437 Q219606
SYSTEM
Hispano-Suiza HS.404, Gryazev-Shipunov GSh-301, Nudelman-Suranov NS-37
Q4386247 Q507990 Q680704 Q1112061 Q195437 Q2633872 Q819083 Q2936462 Q1763259 Q4642906 Q195412 Q2142092 Q219606 Q1184830 Q171641 Q1620698 Q1880975 Q2131718 Q902952 Q2479597 Q382034 Q937772 Q6713841 Q939435 Q1547154
(c(Q1875621)|c(Q2235308),P520,c(Q81103))
action argmin
action union
action find_reverse_tuple_counts
relation P520
type Q81103
type Q1875621
action find_reverse_tuple_counts
relation P520
type Q81103
type Q2235308
[ANSWERS] are used as weapons by min number of aircraft classes and ship types
[[{'concept': 'Q1875621'}, {'concept': 'Q2235308'}], 'P520', {'concept': 'Q81103'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:P520 ?e . ?e rdf:type ontology:Q81103 . ?m rdf:type ontology:Q1875621 } UNION { ?m property:P520 ?e . ?e rdf:type ontology:Q81103 . ?m rdf:type ontology:Q2235308 } } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:P520 ?i . ?l rdf:type ontology:Q1875621 . ?i rdf:type ontology:Q81103 } UNION { ?l property:P520 ?i . ?i rdf:type ontology:Q81103 . ?l rdf:type ontology:Q2235308 } } GROUP BY ?i } . FILTER ( ?z = ?h ) }
Rikhter R-23 Nudelman N-37 MG FF Colt-Browning Mk 12 Gryazev-Shipunov GSh-301 M1 Berezin B-20 Vickers S Oerlikon KCA 7.5 cm tornpjäs m/57 Nudelman-Suranov NS-23 Shpitalnyi-Vladimirov AK Nudelman-Suranov NS-37 Nudelman-Rikhter NR-30 12.8 cm Pak 44 Hispano-Suiza HS.404 M39 RARDEN Nudelman-Rikhter NR-23 Ordnance QF 17-pounder Afanasev Makarov AM-23 Shipunov 2A42 M4 Volkov-Yartsev VYa-23 Gryazev-Shipunov GSh-30-2
Hispano-Suiza HS.404, Gryazev-Shipunov GSh-301 and Nudelman-Suranov NS-37 are used as weapons by min number of aircraft classes and ship types
Hispano-Suiza HS.404 Gryazev-Shipunov GSh-301 Nudelman-Suranov NS-37
action argmin
action union
action find_reverse_tuple_counts
relation armament
type cannon
type aircraft class
action find_reverse_tuple_counts
relation armament
type cannon
type ship type
[[{'concept': 'aircraft class'}, {'concept': 'ship type'}], 'armament', {'concept': 'cannon'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MIN ( ?q ) AS ?h ) { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?q ) WHERE { { ?m property:armament ?e . ?e rdf:type ontology:cannon . ?m rdf:type ontology:aircraft_class } UNION { ?m property:armament ?e . ?e rdf:type ontology:cannon . ?m rdf:type ontology:ship_type } } GROUP BY ?e } } . { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?z ) WHERE { { ?l property:armament ?i . ?l rdf:type ontology:aircraft_class . ?i rdf:type ontology:cannon } UNION { ?l property:armament ?i . ?i rdf:type ontology:cannon . ?l rdf:type ontology:ship_type } } GROUP BY ?i } . FILTER ( ?z = ?h ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q450990 Q183
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany or are Guillaume Lekeu a civilian of ?
OR((Q183,P530,c(Q15617994)), (Q450990,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q450990
relation P27
type Q15617994
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q450990', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q183 property:P530 ?q } UNION { resource:Q450990 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Guillaume Lekeu Germany
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Guillaume Lekeu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Guillaume Lekeu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Germany property:diplomatic_relation ?q } UNION { resource:Guillaume_Lekeu property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q734 Q1006 Q419 Q1030 Q39 Q881 Q912 Q145 Q668
SYSTEM
Some of them are Italy, Guyana, Guinea, Peru, Namibia, Switzerland, Vietnam, Mali, United Kingdom, India
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q347 Q227 Q225 Q224 Q222 Q96 Q229 Q228 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
OR((Q183,P530,c(Q15617994)), (Q450990,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q183
relation P530
action find
entity Q450990
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with Germany or are Guillaume Lekeu a civilian of
{'OR': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q450990', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q183 property:P530 ?q } UNION { resource:Q450990 property:P27 ?q } } . ?q rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Liechtenstein Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Andorra Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
Italy, Guyana, Guinea, Peru, Namibia, Switzerland, Vietnam, Mali, United Kingdom and India have a diplomatic relationship with Germany or are Guillaume Lekeu a civilian of
Italy Guyana Guinea Peru Namibia Switzerland Vietnam Mali United Kingdom India
action filter_type
action union
action find
entity Germany
relation diplomatic relation
action find
entity Guillaume Lekeu
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Guillaume Lekeu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Germany property:diplomatic_relation ?q } UNION { resource:Guillaume_Lekeu property:country_of_citizenship ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]