Simple Question (Direct)
Simple Question
Q727847
P119
Q43229
USER
Which organization is the resting place of Jens Bratlie ?
(Q727847,P119,c(Q43229))
action filter_type
action find
entity Q727847
relation P119
type Q43229
['Q727847', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q727847 property:P119 ?n . ?n rdf:type ontology:Q43229 }
Jens Bratlie
action filter_type
action find
entity Jens Bratlie
relation place of burial
type organization
['Jens Bratlie', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Jens_Bratlie property:place_of_burial ?n . ?n rdf:type ontology:organization }
[]
organization
Q1069938
SYSTEM
Vår Frelsers gravlund
Q1069938
(Q727847,P119,c(Q43229))
action filter_type
action find
entity Q727847
relation P119
type Q43229
[ANSWER] is the resting place of Jens Bratlie
['Q727847', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { resource:Q727847 property:P119 ?n . ?n rdf:type ontology:Q43229 }
Vår Frelsers gravlund
Vår Frelsers gravlund is the resting place of Jens Bratlie
Vår Frelsers gravlund
action filter_type
action find
entity Jens Bratlie
relation place of burial
type organization
['Jens Bratlie', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { resource:Jens_Bratlie property:place_of_burial ?n . ?n rdf:type ontology:organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1069938 Q670009 Q20
P17
Q15617994
USER
Is that organization located in Maria Enzersdorf and Norway ?
(Q1069938,P17,Q670009) (Q1069938,P17,Q20)
action is_in
entity Q1069938
action intersection
action find_reverse
entity Q670009
relation P17
action find_reverse
entity Q20
relation P17
['Q1069938', 'P17', 'Q670009'] ['Q1069938', 'P17', 'Q20']
ASK WHERE { resource:Q1069938 property:P17 resource:Q670009 . resource:Q1069938 property:P17 resource:Q20 }
Vår Frelsers gravlund Maria Enzersdorf Norway
action is_in
entity Vår Frelsers gravlund
action intersection
action find_reverse
entity Maria Enzersdorf
relation country
action find_reverse
entity Norway
relation country
['Vår Frelsers gravlund', 'country', 'Maria Enzersdorf'] ['Vår Frelsers gravlund', 'country', 'Norway']
ASK WHERE { resource:Vår_Frelsers_gravlund property:country resource:Maria_Enzersdorf . resource:Vår_Frelsers_gravlund property:country resource:Norway }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q1069938,P17,Q670009) (Q1069938,P17,Q20)
action is_in
entity Q1069938
action intersection
action find_reverse
entity Q670009
relation P17
action find_reverse
entity Q20
relation P17
[ANSWER]
['Q1069938', 'P17', 'Q670009'] ['Q1069938', 'P17', 'Q20']
ASK WHERE { resource:Q1069938 property:P17 resource:Q670009 . resource:Q1069938 property:P17 resource:Q20 }
NO and YES respectively
action is_in
entity Vår Frelsers gravlund
action intersection
action find_reverse
entity Maria Enzersdorf
relation country
action find_reverse
entity Norway
relation country
['Vår Frelsers gravlund', 'country', 'Maria Enzersdorf'] ['Vår Frelsers gravlund', 'country', 'Norway']
ASK WHERE { resource:Vår_Frelsers_gravlund property:country resource:Maria_Enzersdorf . resource:Vår_Frelsers_gravlund property:country resource:Norway }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q727847 Q960431
P937
Q56061
USER
Is Rockaway Beach the work location of Jens Bratlie ?
(Q727847,P937,Q960431)
action is_in
entity Q960431
action find
entity Q727847
relation P937
['Q727847', 'P937', 'Q960431']
ASK WHERE { resource:Q727847 property:P937 resource:Q960431 }
Jens Bratlie Rockaway Beach
action is_in
entity Rockaway Beach
action find
entity Jens Bratlie
relation work location
['Jens Bratlie', 'work location', 'Rockaway Beach']
ASK WHERE { resource:Jens_Bratlie property:work_location resource:Rockaway_Beach }
[]
administrative territorial entity
SYSTEM
NO
(Q727847,P937,Q960431)
action is_in
entity Q960431
action find
entity Q727847
relation P937
[ANSWER]
['Q727847', 'P937', 'Q960431']
ASK WHERE { resource:Q727847 property:P937 resource:Q960431 }
No
action is_in
entity Rockaway Beach
action find
entity Jens Bratlie
relation work location
['Jens Bratlie', 'work location', 'Rockaway Beach']
ASK WHERE { resource:Jens_Bratlie property:work_location resource:Rockaway_Beach }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1069938 Q16892181
P17
Q15617994
USER
Is Vår Frelsers gravlund located in Hazelwood School District ?
(Q1069938,P17,Q16892181)
action is_in
entity Q16892181
action find
entity Q1069938
relation P17
['Q1069938', 'P17', 'Q16892181']
ASK WHERE { resource:Q1069938 property:P17 resource:Q16892181 }
Vår Frelsers gravlund Hazelwood School District
action is_in
entity Hazelwood School District
action find
entity Vår Frelsers gravlund
relation country
['Vår Frelsers gravlund', 'country', 'Hazelwood School District']
ASK WHERE { resource:Vår_Frelsers_gravlund property:country resource:Hazelwood_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1069938,P17,Q16892181)
action is_in
entity Q16892181
action find
entity Q1069938
relation P17
[ANSWER]
['Q1069938', 'P17', 'Q16892181']
ASK WHERE { resource:Q1069938 property:P17 resource:Q16892181 }
No
action is_in
entity Hazelwood School District
action find
entity Vår Frelsers gravlund
relation country
['Vår Frelsers gravlund', 'country', 'Hazelwood School District']
ASK WHERE { resource:Vår_Frelsers_gravlund property:country resource:Hazelwood_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q727847 Q71902
P27
Q15617994
USER
Is Jens Bratlie a civilian of Capri, Naples ?
(Q727847,P27,Q71902)
action is_in
entity Q71902
action find
entity Q727847
relation P27
['Q727847', 'P27', 'Q71902']
ASK WHERE { resource:Q727847 property:P27 resource:Q71902 }
Jens Bratlie Capri, Naples
action is_in
entity Capri, Naples
action find
entity Jens Bratlie
relation country of citizenship
['Jens Bratlie', 'country of citizenship', 'Capri, Naples']
ASK WHERE { resource:Jens_Bratlie property:country_of_citizenship resource:Capri,_Naples }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q727847,P27,Q71902)
action is_in
entity Q71902
action find
entity Q727847
relation P27
[ANSWER]
['Q727847', 'P27', 'Q71902']
ASK WHERE { resource:Q727847 property:P27 resource:Q71902 }
No
action is_in
entity Capri, Naples
action find
entity Jens Bratlie
relation country of citizenship
['Jens Bratlie', 'country of citizenship', 'Capri, Naples']
ASK WHERE { resource:Jens_Bratlie property:country_of_citizenship resource:Capri,_Naples }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3378182 Q71902
P17
Q15617994
USER
Which administrative territories are Capri, Naples or Bodic lighthouse situated in ?
OR((Q71902,P17,c(Q15617994)), (Q3378182,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q71902
relation P17
action find
entity Q3378182
relation P17
type Q15617994
{'OR': [['Q71902', 'P17', {'concept': 'Q15617994'}], ['Q3378182', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Q71902 ) ( resource:Q3378182 ) } . ?l property:P17 ?s } . ?s rdf:type ontology:Q15617994 }
Bodic lighthouse Capri, Naples
action filter_type
action union
action find
entity Capri, Naples
relation country
action find
entity Bodic lighthouse
relation country
type designation for an administrative territorial entity
{'OR': [['Capri, Naples', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bodic lighthouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Capri,_Naples ) ( resource:Bodic_lighthouse ) } . ?l property:country ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q71902,P17,c(Q15617994)), (Q3378182,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q71902
relation P17
action find
entity Q3378182
relation P17
type Q15617994
Capri , Naples or Bodic lighthouse are situated in [ANSWERS]
{'OR': [['Q71902', 'P17', {'concept': 'Q15617994'}], ['Q3378182', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Q71902 ) ( resource:Q3378182 ) } . ?l property:P17 ?s } . ?s rdf:type ontology:Q15617994 }
France Italy
Capri , Naples or Bodic lighthouse are situated in France and Italy
France Italy
action filter_type
action union
action find
entity Capri, Naples
relation country
action find
entity Bodic lighthouse
relation country
type designation for an administrative territorial entity
{'OR': [['Capri, Naples', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Bodic lighthouse', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?l ) { ( resource:Capri,_Naples ) ( resource:Bodic_lighthouse ) } . ?l property:country ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10307 Q3378182
P47 P17
Q15617994
USER
Which administrative territories are Bodic lighthouse located in or are bordered by Sparone ?
OR((Q3378182,P17,c(Q15617994)), (Q10307,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3378182
relation P17
action find
entity Q10307
relation P47
type Q15617994
{'OR': [['Q3378182', 'P17', {'concept': 'Q15617994'}], ['Q10307', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3378182 property:P17 ?e } UNION { resource:Q10307 property:P47 ?e } } . ?e rdf:type ontology:Q15617994 }
Sparone Bodic lighthouse
action filter_type
action union
action find
entity Bodic lighthouse
relation country
action find
entity Sparone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bodic lighthouse', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sparone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Bodic_lighthouse property:country ?e } UNION { resource:Sparone property:shares_border_with ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q10198 Q9320 Q9363 Q9428 Q8993 Q10209 Q10217 Q9153 Q9400 Q142
SYSTEM
Some of them are Pont-Canavese, Corio, Forno Canavese, Locana, Alpette, Pratiglione, Ribordone, Canischio, Ingria, France
Q142 Q8993 Q9320 Q10217 Q10198 Q10239 Q9363 Q9428 Q9400 Q9153 Q10209
OR((Q3378182,P17,c(Q15617994)), (Q10307,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q3378182
relation P17
action find
entity Q10307
relation P47
type Q15617994
Bodic lighthouse are located in bordered by [ANSWERS]
{'OR': [['Q3378182', 'P17', {'concept': 'Q15617994'}], ['Q10307', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3378182 property:P17 ?e } UNION { resource:Q10307 property:P47 ?e } } . ?e rdf:type ontology:Q15617994 }
France Alpette Corio Ribordone Pont-Canavese Ronco Canavese Forno Canavese Locana Ingria Canischio Pratiglione
Bodic lighthouse are located in bordered by Pont-Canavese, Corio, Forno Canavese, Locana, Alpette, Pratiglione, Ribordone, Canischio, Ingria and France
Pont-Canavese Corio Forno Canavese Locana Alpette Pratiglione Ribordone Canischio Ingria France
action filter_type
action union
action find
entity Bodic lighthouse
relation country
action find
entity Sparone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bodic lighthouse', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sparone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Bodic_lighthouse property:country ?e } UNION { resource:Sparone property:shares_border_with ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]