Simple Question (Direct)
Simple Question
Q1363984
P140
Q879146
USER
Which Christian denomination does Karl Morgenschweis relate to ?
(Q1363984,P140,c(Q879146))
action filter_type
action find
entity Q1363984
relation P140
type Q879146
['Q1363984', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?j WHERE { resource:Q1363984 property:P140 ?j . ?j rdf:type ontology:Q879146 }
Karl Morgenschweis
action filter_type
action find
entity Karl Morgenschweis
relation religion
type Christian denomination
['Karl Morgenschweis', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?j WHERE { resource:Karl_Morgenschweis property:religion ?j . ?j rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1363984,P140,c(Q879146))
action filter_type
action find
entity Q1363984
relation P140
type Q879146
Karl Morgenschweis relates the [ANSWER]
['Q1363984', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?j WHERE { resource:Q1363984 property:P140 ?j . ?j rdf:type ontology:Q879146 }
Roman Catholic Church
Karl Morgenschweis relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Karl Morgenschweis
relation religion
type Christian denomination
['Karl Morgenschweis', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?j WHERE { resource:Karl_Morgenschweis property:religion ?j . ?j rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1363984
P241
Q781132
USER
Which military branch is Karl Morgenschweis associated with ?
(Q1363984,P241,c(Q781132))
action filter_type
action find
entity Q1363984
relation P241
type Q781132
['Q1363984', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q1363984 property:P241 ?r . ?r rdf:type ontology:Q781132 }
Karl Morgenschweis
action filter_type
action find
entity Karl Morgenschweis
relation military branch
type military branch
['Karl Morgenschweis', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:Karl_Morgenschweis property:military_branch ?r . ?r rdf:type ontology:military_branch }
[]
military branch
Q533265
SYSTEM
Bavarian Army
Q533265
(Q1363984,P241,c(Q781132))
action filter_type
action find
entity Q1363984
relation P241
type Q781132
Karl Morgenschweis is associated with [ANSWER]
['Q1363984', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?r WHERE { resource:Q1363984 property:P241 ?r . ?r rdf:type ontology:Q781132 }
Bavarian Army
Karl Morgenschweis is associated with Bavarian Army
Bavarian Army
action filter_type
action find
entity Karl Morgenschweis
relation military branch
type military branch
['Karl Morgenschweis', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?r WHERE { resource:Karl_Morgenschweis property:military_branch ?r . ?r rdf:type ontology:military_branch }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16825664
Q781132
USER
And what about Hugh Lyle Carmichael?
(Q16825664,P241,c(Q781132))
action filter_type
action find
entity Q16825664
relation P241
type Q781132
['Q16825664', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q16825664 property:P241 ?p . ?p rdf:type ontology:Q781132 }
Hugh Lyle Carmichael
action filter_type
action find
entity Hugh Lyle Carmichael
relation military branch
type military branch
['Hugh Lyle Carmichael', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Hugh_Lyle_Carmichael property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q16825664,P241,c(Q781132))
action filter_type
action find
entity Q16825664
relation P241
type Q781132
[ANSWER]
['Q16825664', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?p WHERE { resource:Q16825664 property:P241 ?p . ?p rdf:type ontology:Q781132 }
British Army
British Army
action filter_type
action find
entity Hugh Lyle Carmichael
relation military branch
type military branch
['Hugh Lyle Carmichael', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?p WHERE { resource:Hugh_Lyle_Carmichael property:military_branch ?p . ?p rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q222595 Q5495064
P241
Q502895
USER
Is Tilda Kiianlehto affiliated to the military branch named that one ?
(Q5495064,P241,Q222595)
action is_in
entity Q5495064
action find
entity Q222595
relation P241
['Q5495064', 'P241', 'Q222595']
ASK WHERE { resource:Q222595 property:P241 resource:Q5495064 }
British Army Tilda Kiianlehto
action is_in
entity Tilda Kiianlehto
action find
entity British Army
relation military branch
['Tilda Kiianlehto', 'military branch', 'British Army']
ASK WHERE { resource:British_Army property:military_branch resource:Tilda_Kiianlehto }
[]
common name
SYSTEM
NO
(Q5495064,P241,Q222595)
action is_in
entity Q5495064
action find
entity Q222595
relation P241
[ANSWER]
['Q5495064', 'P241', 'Q222595']
ASK WHERE { resource:Q222595 property:P241 resource:Q5495064 }
No
action is_in
entity Tilda Kiianlehto
action find
entity British Army
relation military branch
['Tilda Kiianlehto', 'military branch', 'British Army']
ASK WHERE { resource:British_Army property:military_branch resource:Tilda_Kiianlehto }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q222595
P17
Q15617994
USER
Which administrative territory does British Army belong to ?
(Q222595,P17,c(Q15617994))
action filter_type
action find
entity Q222595
relation P17
type Q15617994
['Q222595', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q222595 property:P17 ?y }
British Army
action filter_type
action find
entity British Army
relation country
type designation for an administrative territorial entity
['British Army', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:British_Army property:country ?y }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q222595,P17,c(Q15617994))
action filter_type
action find
entity Q222595
relation P17
type Q15617994
British Army belongs to the [ANSWER]
['Q222595', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q222595 property:P17 ?y }
United Kingdom
British Army belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity British Army
relation country
type designation for an administrative territorial entity
['British Army', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:British_Army property:country ?y }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1821020
Q15617994
USER
And how about Riceville?
(Q1821020,P17,c(Q15617994))
action filter_type
action find
entity Q1821020
relation P17
type Q15617994
['Q1821020', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1821020 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Riceville
action filter_type
action find
entity Riceville
relation country
type designation for an administrative territorial entity
['Riceville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Riceville property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1821020,P17,c(Q15617994))
action filter_type
action find
entity Q1821020
relation P17
type Q15617994
[ANSWER]
['Q1821020', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1821020 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Riceville
relation country
type designation for an administrative territorial entity
['Riceville', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Riceville property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1310677 Q1363984
P27
Q1048835
USER
Which political territories do Karl Morgenschweis or Jürgen Niggemann belong to ?
OR((Q1363984,P27,c(Q1048835)), (Q1310677,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1363984
relation P27
action find
entity Q1310677
relation P27
type Q1048835
{'OR': [['Q1363984', 'P27', {'concept': 'Q1048835'}], ['Q1310677', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { ?c property:P27 ?k . VALUES ( ?c ) { ( resource:Q1310677 ) ( resource:Q1363984 ) } } . ?k rdf:type ontology:Q1048835 }
Jürgen Niggemann Karl Morgenschweis
action filter_type
action union
action find
entity Karl Morgenschweis
relation country of citizenship
action find
entity Jürgen Niggemann
relation country of citizenship
type political territorial entity
{'OR': [['Karl Morgenschweis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jürgen Niggemann', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?c property:country_of_citizenship ?k . VALUES ( ?c ) { ( resource:Jürgen_Niggemann ) ( resource:Karl_Morgenschweis ) } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q1363984,P27,c(Q1048835)), (Q1310677,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1363984
relation P27
action find
entity Q1310677
relation P27
type Q1048835
Karl Morgenschweis or Jürgen Niggemann belong to Nazi [ANSWER]
{'OR': [['Q1363984', 'P27', {'concept': 'Q1048835'}], ['Q1310677', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { ?c property:P27 ?k . VALUES ( ?c ) { ( resource:Q1310677 ) ( resource:Q1363984 ) } } . ?k rdf:type ontology:Q1048835 }
Germany
Karl Morgenschweis or Jürgen Niggemann belong to Nazi Germany
Germany
action filter_type
action union
action find
entity Karl Morgenschweis
relation country of citizenship
action find
entity Jürgen Niggemann
relation country of citizenship
type political territorial entity
{'OR': [['Karl Morgenschweis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Jürgen Niggemann', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?c property:country_of_citizenship ?k . VALUES ( ?c ) { ( resource:Jürgen_Niggemann ) ( resource:Karl_Morgenschweis ) } } . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P793
Q350604 Q57821
USER
How many armed conflicts or fortifications are that political territory associated with ?
(Q183,P793,c(Q350604)) (Q183,P793,c(Q57821)) (Q183,P793,c(Q350604)) (Q183,P793,c(Q57821))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q350604
action filter_type
action find
entity Q183
relation P793
type Q57821
['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q57821'}] ['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q57821'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:Q350604 ) ( ontology:Q57821 ) } . ?o rdf:type ?n }
action count
action union
action filter_type
action find
entity Germany
relation significant event
type armed conflict
action filter_type
action find
entity Germany
relation significant event
type fortification
['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'fortification'}] ['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'fortification'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:armed_conflict ) ( ontology:fortification ) } . ?o rdf:type ?n }
[]
armed conflict fortification
SYSTEM
2
Q182865 Q5086
(Q183,P793,c(Q350604)) (Q183,P793,c(Q57821)) (Q183,P793,c(Q350604)) (Q183,P793,c(Q57821))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q350604
action filter_type
action find
entity Q183
relation P793
type Q57821
[ANSWER]
['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q57821'}] ['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q57821'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:Q350604 ) ( ontology:Q57821 ) } . ?o rdf:type ?n }
War in Afghanistan Berlin Wall
2
action count
action union
action filter_type
action find
entity Germany
relation significant event
type armed conflict
action filter_type
action find
entity Germany
relation significant event
type fortification
['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'fortification'}] ['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'fortification'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { VALUES ( ?n ) { ( ontology:armed_conflict ) ( ontology:fortification ) } . ?o rdf:type ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P609
Q83620
USER
Which thoroughfares are Germany a terminus location of ?
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P609 resource:Q183 . ?n rdf:type ontology:Q83620 }
Germany
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:terminus_location resource:Germany . ?n rdf:type ontology:thoroughfare }
[]
thoroughfare
Q18619599 Q18679137
SYSTEM
European route E35 in the Netherlands, European route E30 in the Netherlands
Q18619599 Q18679137
(c(Q83620),P609,Q183)
action filter_type
action find_reverse
entity Q183
relation P609
type Q83620
[ANSWERS]
[{'concept': 'Q83620'}, 'P609', 'Q183']
SELECT DISTINCT ?n WHERE { ?n property:P609 resource:Q183 . ?n rdf:type ontology:Q83620 }
European route E35 in the Netherlands European route E30 in the Netherlands
Which thoroughfares are Germany a terminus location of
European route E35 in the Netherlands European route E30 in the Netherlands
action filter_type
action find_reverse
entity Germany
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Germany']
SELECT DISTINCT ?n WHERE { ?n property:terminus_location resource:Germany . ?n rdf:type ontology:thoroughfare }
[]