Simple Question (Direct)
Simple Question
Q362112
P106
Q12737077
USER
Which occupation has Adolf Herrgott as his/her 's career ?
(Q362112,P106,c(Q12737077))
action filter_type
action find
entity Q362112
relation P106
type Q12737077
['Q362112', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q362112 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Adolf Herrgott
action filter_type
action find
entity Adolf Herrgott
relation occupation
type occupation
['Adolf Herrgott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Adolf_Herrgott property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q362112,P106,c(Q12737077))
action filter_type
action find
entity Q362112
relation P106
type Q12737077
[ANSWER] has Adolf Herrgott as his/her 's career
['Q362112', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q362112 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
officer
Officer has Adolf Herrgott as his/her 's career
officer
action filter_type
action find
entity Adolf Herrgott
relation occupation
type occupation
['Adolf Herrgott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Adolf_Herrgott property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q362112
P607
Q198
USER
Which war did that person take part in ?
(Q189290,P607,c(Q198))
action filter_type
action find
entity Q362112
relation P607
type Q198
['Q189290', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q362112 property:P607 ?r . ?r rdf:type ontology:Q198 }
Adolf Herrgott
action filter_type
action find
entity Adolf Herrgott
relation conflict
type war
['officer', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Adolf_Herrgott property:conflict ?r . ?r rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q189290,P607,c(Q198))
action filter_type
action find
entity Q362112
relation P607
type Q198
That person took part in [ANSWER]
['Q189290', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?r WHERE { resource:Q362112 property:P607 ?r . ?r rdf:type ontology:Q198 }
World War I
That person took part in World War I
World War I
action filter_type
action find
entity Adolf Herrgott
relation conflict
type war
['officer', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?r WHERE { resource:Adolf_Herrgott property:conflict ?r . ?r rdf:type ontology:war }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15967864 Q362112
P166
Q618779
USER
Which awards were awarded to Adolf Herrgott or Jean-Marc Espert de Bulach ?
OR((Q362112,P166,c(Q618779)), (Q15967864,P166,c(Q618779)))
action filter_type
action union
action find
entity Q362112
relation P166
action find
entity Q15967864
relation P166
type Q618779
{'OR': [['Q362112', 'P166', {'concept': 'Q618779'}], ['Q15967864', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . { { resource:Q362112 property:P166 ?t } UNION { resource:Q15967864 property:P166 ?t } } }
Jean-Marc Espert de Bulach Adolf Herrgott
action filter_type
action union
action find
entity Adolf Herrgott
relation award received
action find
entity Jean-Marc Espert de Bulach
relation award received
type award
{'OR': [['Adolf Herrgott', 'award received', {'concept': 'award'}], ['Jean-Marc Espert de Bulach', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . { { resource:Adolf_Herrgott property:award_received ?t } UNION { resource:Jean-Marc_Espert_de_Bulach property:award_received ?t } } }
[]
award
Q156478 Q10855195
SYSTEM
Pour le Mérite, Officer of the Legion of Honour
Q156478 Q10855195
OR((Q362112,P166,c(Q618779)), (Q15967864,P166,c(Q618779)))
action filter_type
action union
action find
entity Q362112
relation P166
action find
entity Q15967864
relation P166
type Q618779
Respectively [ANSWERS] were awarded to Adolf Herrgott or Jean-Marc Espert de Bulach
{'OR': [['Q362112', 'P166', {'concept': 'Q618779'}], ['Q15967864', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . { { resource:Q362112 property:P166 ?t } UNION { resource:Q15967864 property:P166 ?t } } }
Pour le Mérite Officer of the Legion of Honour
Respectively Pour le Mérite and Officer of the Legion of Honour were awarded to Adolf Herrgott or Jean-Marc Espert de Bulach
Pour le Mérite Officer of the Legion of Honour
action filter_type
action union
action find
entity Adolf Herrgott
relation award received
action find
entity Jean-Marc Espert de Bulach
relation award received
type award
{'OR': [['Adolf Herrgott', 'award received', {'concept': 'award'}], ['Jean-Marc Espert de Bulach', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . { { resource:Adolf_Herrgott property:award_received ?t } UNION { resource:Jean-Marc_Espert_de_Bulach property:award_received ?t } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18694447
P166
Q502895
USER
Were Harald Schmahl awarded with those awards ?
(Q18694447,P166,Q156478) (Q18694447,P166,Q10855195)
action is_in
entity prev_answer
action find
entity Q18694447
relation P166
['Q18694447', 'P166', 'Q156478'] ['Q18694447', 'P166', 'Q10855195']
ASK WHERE { resource:Q18694447 property:P166 ?j . VALUES ( ?j ) { ( resource:Q156478 ) ( resource:Q10855195 ) } }
Harald Schmahl
action is_in
entity prev_answer
action find
entity Harald Schmahl
relation award received
['Harald Schmahl', 'award received', 'Pour le Mérite'] ['Harald Schmahl', 'award received', 'Officer of the Legion of Honour']
ASK WHERE { resource:Harald_Schmahl property:award_received ?j . VALUES ( ?j ) { ( resource:Pour_le_Mérite ) ( resource:Officer_of_the_Legion_of_Honour ) } }
[]
common name
SYSTEM
NO
(Q18694447,P166,Q156478) (Q18694447,P166,Q10855195)
action is_in
entity prev_answer
action find
entity Q18694447
relation P166
[ANSWER]
['Q18694447', 'P166', 'Q156478'] ['Q18694447', 'P166', 'Q10855195']
ASK WHERE { resource:Q18694447 property:P166 ?j . VALUES ( ?j ) { ( resource:Q156478 ) ( resource:Q10855195 ) } }
No
action is_in
entity prev_answer
action find
entity Harald Schmahl
relation award received
['Harald Schmahl', 'award received', 'Pour le Mérite'] ['Harald Schmahl', 'award received', 'Officer of the Legion of Honour']
ASK WHERE { resource:Harald_Schmahl property:award_received ?j . VALUES ( ?j ) { ( resource:Pour_le_Mérite ) ( resource:Officer_of_the_Legion_of_Honour ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15967864
P410
Q4189293
USER
Which title has Jean-Marc Espert de Bulach achieved ?
(Q15967864,P410,c(Q4189293))
action filter_type
action find
entity Q15967864
relation P410
type Q4189293
['Q15967864', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4189293 . resource:Q15967864 property:P410 ?s }
Jean-Marc Espert de Bulach
action filter_type
action find
entity Jean-Marc Espert de Bulach
relation military rank
type title
['Jean-Marc Espert de Bulach', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:title . resource:Jean-Marc_Espert_de_Bulach property:military_rank ?s }
[]
title
Q152956
SYSTEM
brigadier general
Q152956
(Q15967864,P410,c(Q4189293))
action filter_type
action find
entity Q15967864
relation P410
type Q4189293
Jean-Marc Espert de Bulach has achieved a [ANSWER]
['Q15967864', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4189293 . resource:Q15967864 property:P410 ?s }
brigadier general
Jean-Marc Espert de Bulach has achieved a brigadier general
brigadier general
action filter_type
action find
entity Jean-Marc Espert de Bulach
relation military rank
type title
['Jean-Marc Espert de Bulach', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:title . resource:Jean-Marc_Espert_de_Bulach property:military_rank ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q152956 Q7942012
P410
Q502895
USER
Does Janusz Gumuliński rank that title in military ranking ?
(Q7942012,P410,Q152956)
action is_in
entity Q152956
action find
entity Q7942012
relation P410
['Q7942012', 'P410', 'Q152956']
ASK WHERE { resource:Q7942012 property:P410 resource:Q152956 }
brigadier general Janusz Gumuliński
action is_in
entity brigadier general
action find
entity Janusz Gumuliński
relation military rank
['Janusz Gumuliński', 'military rank', 'brigadier general']
ASK WHERE { resource:Janusz_Gumuliński property:military_rank resource:brigadier_general }
[]
common name
SYSTEM
YES
(Q7942012,P410,Q152956)
action is_in
entity Q152956
action find
entity Q7942012
relation P410
[ANSWER]
['Q7942012', 'P410', 'Q152956']
ASK WHERE { resource:Q7942012 property:P410 resource:Q152956 }
Yes
action is_in
entity brigadier general
action find
entity Janusz Gumuliński
relation military rank
['Janusz Gumuliński', 'military rank', 'brigadier general']
ASK WHERE { resource:Janusz_Gumuliński property:military_rank resource:brigadier_general }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q362112 Q3042 Q1026277
P19
Q515
USER
Does Adolf Herrgott have birthplace at Offenbach am Main and Tangub ?
(Q362112,P19,Q3042) (Q362112,P19,Q1026277)
action is_in
entity Q362112
action intersection
action find_reverse
entity Q3042
relation P19
action find_reverse
entity Q1026277
relation P19
['Q362112', 'P19', 'Q3042'] ['Q362112', 'P19', 'Q1026277']
ASK WHERE { resource:Q362112 property:P19 resource:Q1026277 . resource:Q362112 property:P19 resource:Q3042 }
Adolf Herrgott Offenbach am Main Tangub
action is_in
entity Adolf Herrgott
action intersection
action find_reverse
entity Offenbach am Main
relation place of birth
action find_reverse
entity Tangub
relation place of birth
['Adolf Herrgott', 'place of birth', 'Offenbach am Main'] ['Adolf Herrgott', 'place of birth', 'Tangub']
ASK WHERE { resource:Adolf_Herrgott property:place_of_birth resource:Tangub . resource:Adolf_Herrgott property:place_of_birth resource:Offenbach_am_Main }
[]
city
SYSTEM
NO
(Q362112,P19,Q3042) (Q362112,P19,Q1026277)
action is_in
entity Q362112
action intersection
action find_reverse
entity Q3042
relation P19
action find_reverse
entity Q1026277
relation P19
[ANSWER]
['Q362112', 'P19', 'Q3042'] ['Q362112', 'P19', 'Q1026277']
ASK WHERE { resource:Q362112 property:P19 resource:Q1026277 . resource:Q362112 property:P19 resource:Q3042 }
No
action is_in
entity Adolf Herrgott
action intersection
action find_reverse
entity Offenbach am Main
relation place of birth
action find_reverse
entity Tangub
relation place of birth
['Adolf Herrgott', 'place of birth', 'Offenbach am Main'] ['Adolf Herrgott', 'place of birth', 'Tangub']
ASK WHERE { resource:Adolf_Herrgott property:place_of_birth resource:Tangub . resource:Adolf_Herrgott property:place_of_birth resource:Offenbach_am_Main }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q362112
P20
Q15617994
USER
Which administrative territory is the place of death of that person ?
action filter_type
action find
entity Q362112
relation P20
type Q15617994
SELECT DISTINCT ?g WHERE { resource:Q362112 property:P20 ?g . ?g rdf:type ontology:Q15617994 }
Adolf Herrgott
action filter_type
action find
entity Adolf Herrgott
relation place of death
type designation for an administrative territorial entity
SELECT DISTINCT ?g WHERE { resource:Adolf_Herrgott property:place_of_death ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q153969
SYSTEM
Lindau
Q153969
action filter_type
action find
entity Q362112
relation P20
type Q15617994
[ANSWER] is the place of death of that person
SELECT DISTINCT ?g WHERE { resource:Q362112 property:P20 ?g . ?g rdf:type ontology:Q15617994 }
Lindau
Lindau is the place of death of that person
Lindau
action filter_type
action find
entity Adolf Herrgott
relation place of death
type designation for an administrative territorial entity
SELECT DISTINCT ?g WHERE { resource:Adolf_Herrgott property:place_of_death ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q198 Q618779 Q645883
USER
How many wars are approximately 7 awards or military operations a component of ?
(c(Q618779)|c(Q645883),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action find_reverse_tuple_counts
relation P361
type Q198
type Q645883
value 7
[[{'concept': 'Q618779'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?i = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?d WHERE { { ?f property:P361 ?d . ?d rdf:type ontology:Q198 . ?f rdf:type ontology:Q618779 } UNION { ?d rdf:type ontology:Q198 . ?f rdf:type ontology:Q645883 . ?f property:P361 ?d } } GROUP BY ?d } }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type award
action find_reverse_tuple_counts
relation part of
type war
type military operation
value 7
[[{'concept': 'award'}, {'concept': 'military operation'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?i = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?d WHERE { { ?f property:part_of ?d . ?d rdf:type ontology:war . ?f rdf:type ontology:award } UNION { ?d rdf:type ontology:war . ?f rdf:type ontology:military_operation . ?f property:part_of ?d } } GROUP BY ?d } }
[]
war award military operation
SYSTEM
40
Q8683 Q211855 Q4783165 Q795269 Q3778746 Q920894 Q81545 Q10859 Q362 Q18121212 Q361 Q1021160 Q17984356 Q1072889 Q1758829 Q209297 Q242352 Q2105495 Q5334383 Q178810 Q545449 Q2658255 Q16954835 Q208484 Q1432624 Q2086498 Q1238338 Q15059994 Q1049945 Q8676 Q1127302 Q1052332 Q475678 Q743768 Q213394 Q17507684 Q18159629 Q2672972 Q243620 Q79911
(c(Q618779)|c(Q645883),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action find_reverse_tuple_counts
relation P361
type Q198
type Q645883
value 7
[ANSWER]
[[{'concept': 'Q618779'}, {'concept': 'Q645883'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?i = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?d WHERE { { ?f property:P361 ?d . ?d rdf:type ontology:Q198 . ?f rdf:type ontology:Q618779 } UNION { ?d rdf:type ontology:Q198 . ?f rdf:type ontology:Q645883 . ?f property:P361 ?d } } GROUP BY ?d } }
Cold War Finnish Civil War Arab Cold War Sierra Leone Civil War Sioux Wars First Italian War of Independence 2011 Libyan Civil War Spanish Civil War World War II American-led intervention in Syria World War I Armagnac–Burgundian Civil War Iraqi Civil War Chilean War of Independence urban guerrilla warfare Farroupilha Revolution Yugoslav Wars 1383-85 Portuguese Interregnum Ecuadorian War of Independence Syrian Civil War Iraq War Byzantine civil war of 1341–1347 Nagorno-Karabakh conflict Lebanese Civil War Genkō War First Barons' War Caesar's Civil War Iran–Israel proxy conflict Jacobite rising of 1745 American Civil War Estonian War of Independence War in Somalia Mexican Drug War The Anarchy Sri Lankan Civil War military intervention against ISIL American-led intervention in Iraq Uruguayan Civil War Somali Civil War Russian Civil War
40
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type award
action find_reverse_tuple_counts
relation part of
type war
type military operation
value 7
[[{'concept': 'award'}, {'concept': 'military operation'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { FILTER ( ?i = 7 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?i ) ?d WHERE { { ?f property:part_of ?d . ?d rdf:type ontology:war . ?f rdf:type ontology:award } UNION { ?d rdf:type ontology:war . ?f rdf:type ontology:military_operation . ?f property:part_of ?d } } GROUP BY ?d } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q153969 Q11566547
P706
Q271669
USER
How many landforms are Lindau or Setouchi Triennale located on ?
(Q153969,P706,c(Q271669)) (Q11566547,P706,c(Q271669))
action count
action union
action filter_type
action find
entity Q153969
relation P706
type Q271669
action filter_type
action find
entity Q11566547
relation P706
type Q271669
['Q153969', 'P706', {'concept': 'Q271669'}] ['Q11566547', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b rdf:type ontology:Q271669 . resource:Q153969 property:P706 ?b } UNION { resource:Q11566547 property:P706 ?b . ?b rdf:type ontology:Q271669 } }
Lindau Setouchi Triennale
action count
action union
action filter_type
action find
entity Lindau
relation located on terrain feature
type landform
action filter_type
action find
entity Setouchi Triennale
relation located on terrain feature
type landform
['Lindau', 'located on terrain feature', {'concept': 'landform'}] ['Setouchi Triennale', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b rdf:type ontology:landform . resource:Lindau property:located_on_terrain_feature ?b } UNION { resource:Setouchi_Triennale property:located_on_terrain_feature ?b . ?b rdf:type ontology:landform } }
[]
landform
SYSTEM
10
Q1350060 Q2166413 Q7705474 Q3349795 Q11604580 Q11379228 Q11553067 Q339004 Q75322 Q11520216
(Q153969,P706,c(Q271669)) (Q11566547,P706,c(Q271669))
action count
action union
action filter_type
action find
entity Q153969
relation P706
type Q271669
action filter_type
action find
entity Q11566547
relation P706
type Q271669
[ANSWER]
['Q153969', 'P706', {'concept': 'Q271669'}] ['Q11566547', 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b rdf:type ontology:Q271669 . resource:Q153969 property:P706 ?b } UNION { resource:Q11566547 property:P706 ?b . ?b rdf:type ontology:Q271669 } }
Naoshima Shōdo Island Teshima Ogi Island Awashima Ibukijima Shamijima Megijima Inujima Honjima
10
action count
action union
action filter_type
action find
entity Lindau
relation located on terrain feature
type landform
action filter_type
action find
entity Setouchi Triennale
relation located on terrain feature
type landform
['Lindau', 'located on terrain feature', {'concept': 'landform'}] ['Setouchi Triennale', 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { { ?b rdf:type ontology:landform . resource:Lindau property:located_on_terrain_feature ?b } UNION { resource:Setouchi_Triennale property:located_on_terrain_feature ?b . ?b rdf:type ontology:landform } }
[]