Simple Question (Direct)
Simple Question
Q559506
P607
Q198
USER
Which war did Nicholas Monsarrat take part in ?
(Q559506,P607,c(Q198))
action filter_type
action find
entity Q559506
relation P607
type Q198
['Q559506', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q559506 property:P607 ?h . ?h rdf:type ontology:Q198 }
Nicholas Monsarrat
action filter_type
action find
entity Nicholas Monsarrat
relation conflict
type war
['Nicholas Monsarrat', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Nicholas_Monsarrat property:conflict ?h . ?h rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q559506,P607,c(Q198))
action filter_type
action find
entity Q559506
relation P607
type Q198
Nicholas Monsarrat took part in [ANSWER]
['Q559506', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { resource:Q559506 property:P607 ?h . ?h rdf:type ontology:Q198 }
World War II
Nicholas Monsarrat took part in World War II
World War II
action filter_type
action find
entity Nicholas Monsarrat
relation conflict
type war
['Nicholas Monsarrat', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { resource:Nicholas_Monsarrat property:conflict ?h . ?h rdf:type ontology:war }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q559506
P241
Q781132
USER
Which military branch is that person associated with ?
(Q362,P241,c(Q781132))
action filter_type
action find
entity Q559506
relation P241
type Q781132
['Q362', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { resource:Q559506 property:P241 ?n . ?n rdf:type ontology:Q781132 }
Nicholas Monsarrat
action filter_type
action find
entity Nicholas Monsarrat
relation military branch
type military branch
['World War II', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { resource:Nicholas_Monsarrat property:military_branch ?n . ?n rdf:type ontology:military_branch }
[]
military branch
Q172771
SYSTEM
Royal Navy
Q172771
(Q362,P241,c(Q781132))
action filter_type
action find
entity Q559506
relation P241
type Q781132
That person is associated with [ANSWER]
['Q362', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?n WHERE { resource:Q559506 property:P241 ?n . ?n rdf:type ontology:Q781132 }
Royal Navy
That person is associated with Royal Navy
Royal Navy
action filter_type
action find
entity Nicholas Monsarrat
relation military branch
type military branch
['World War II', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?n WHERE { resource:Nicholas_Monsarrat property:military_branch ?n . ?n rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q559506
P50
Q2342494
USER
Which collectable is written by that person ?
(c(Q2342494),P50,Q172771)
action filter_type
action find_reverse
entity Q559506
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q172771']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q559506 . ?p rdf:type ontology:Q2342494 }
Nicholas Monsarrat
action filter_type
action find_reverse
entity Nicholas Monsarrat
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Royal Navy']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Nicholas_Monsarrat . ?p rdf:type ontology:collectable }
[]
collectable
Q7728268
SYSTEM
The Cruel Sea
Q7728268
(c(Q2342494),P50,Q172771)
action filter_type
action find_reverse
entity Q559506
relation P50
type Q2342494
[ANSWER] is written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q172771']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q559506 . ?p rdf:type ontology:Q2342494 }
The Cruel Sea
The Cruel Sea is written by that person
The Cruel Sea
action filter_type
action find_reverse
entity Nicholas Monsarrat
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Royal Navy']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Nicholas_Monsarrat . ?p rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2345161 Q559506
P19
Q56061
USER
Which administrative territories are the birthplace of Nicholas Monsarrat or Stephen Varcoe ?
OR((Q559506,P19,c(Q56061)), (Q2345161,P19,c(Q56061)))
action filter_type
action union
action find
entity Q559506
relation P19
action find
entity Q2345161
relation P19
type Q56061
{'OR': [['Q559506', 'P19', {'concept': 'Q56061'}], ['Q2345161', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q559506 property:P19 ?r } UNION { resource:Q2345161 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Stephen Varcoe Nicholas Monsarrat
action filter_type
action union
action find
entity Nicholas Monsarrat
relation place of birth
action find
entity Stephen Varcoe
relation place of birth
type administrative territorial entity
{'OR': [['Nicholas Monsarrat', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stephen Varcoe', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Nicholas_Monsarrat property:place_of_birth ?r } UNION { resource:Stephen_Varcoe property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q723517 Q24826
SYSTEM
Lostwithiel, Liverpool
Q723517 Q24826
OR((Q559506,P19,c(Q56061)), (Q2345161,P19,c(Q56061)))
action filter_type
action union
action find
entity Q559506
relation P19
action find
entity Q2345161
relation P19
type Q56061
[ANSWERS] are the birthplace of Nicholas Monsarrat or Stephen Varcoe
{'OR': [['Q559506', 'P19', {'concept': 'Q56061'}], ['Q2345161', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q559506 property:P19 ?r } UNION { resource:Q2345161 property:P19 ?r } } . ?r rdf:type ontology:Q56061 }
Lostwithiel Liverpool
Lostwithiel and Liverpool are the birthplace of Nicholas Monsarrat or Stephen Varcoe
Lostwithiel Liverpool
action filter_type
action union
action find
entity Nicholas Monsarrat
relation place of birth
action find
entity Stephen Varcoe
relation place of birth
type administrative territorial entity
{'OR': [['Nicholas Monsarrat', 'place of birth', {'concept': 'administrative territorial entity'}], ['Stephen Varcoe', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Nicholas_Monsarrat property:place_of_birth ?r } UNION { resource:Stephen_Varcoe property:place_of_birth ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q723517 Q24826
P17
Q15617994
USER
Which administrative territories are Lostwithiel and Liverpool located in ?
(Q723517,P17,c(Q15617994)) (Q24826,P17,c(Q15617994))
action union
action filter_type
action find
entity Q723517
relation P17
type Q15617994
action filter_type
action find
entity Q24826
relation P17
type Q15617994
['Q723517', 'P17', {'concept': 'Q15617994'}] ['Q24826', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?v ) { ( resource:Q723517 ) ( resource:Q24826 ) } . ?v property:P17 ?f }
Lostwithiel Liverpool
action union
action filter_type
action find
entity Lostwithiel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Liverpool
relation country
type designation for an administrative territorial entity
['Lostwithiel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Liverpool', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?v ) { ( resource:Lostwithiel ) ( resource:Liverpool ) } . ?v property:country ?f }
[]
designation for an administrative territorial entity
Q145 Q145
SYSTEM
United Kingdom
Q145 Q145
(Q723517,P17,c(Q15617994)) (Q24826,P17,c(Q15617994))
action union
action filter_type
action find
entity Q723517
relation P17
type Q15617994
action filter_type
action find
entity Q24826
relation P17
type Q15617994
Lostwithiel and Liverpool are located in [ANSWER] and [ANSWER]
['Q723517', 'P17', {'concept': 'Q15617994'}] ['Q24826', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?v ) { ( resource:Q723517 ) ( resource:Q24826 ) } . ?v property:P17 ?f }
United Kingdom United Kingdom
Lostwithiel and Liverpool are located in United Kingdom and United Kingdom
United Kingdom United Kingdom
action union
action filter_type
action find
entity Lostwithiel
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Liverpool
relation country
type designation for an administrative territorial entity
['Lostwithiel', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Liverpool', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?v ) { ( resource:Lostwithiel ) ( resource:Liverpool ) } . ?v property:country ?f }
[]