Simple Question (Direct)
Simple Question
Q21165360
P27
Q1048835
USER
Which political territory is the country of citizenship of Raymond James Wood Le Fevre ?
(Q21165360,P27,c(Q1048835))
action filter_type
action find
entity Q21165360
relation P27
type Q1048835
['Q21165360', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q21165360 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Raymond James Wood Le Fevre
action filter_type
action find
entity Raymond James Wood Le Fevre
relation country of citizenship
type political territorial entity
['Raymond James Wood Le Fevre', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Raymond_James_Wood_Le_Fevre property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21165360,P27,c(Q1048835))
action filter_type
action find
entity Q21165360
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Raymond James Wood Le Fevre
['Q21165360', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { resource:Q21165360 property:P27 ?f . ?f rdf:type ontology:Q1048835 }
Australia
Australia is the country of citizenship of Raymond James Wood Le Fevre
Australia
action filter_type
action find
entity Raymond James Wood Le Fevre
relation country of citizenship
type political territorial entity
['Raymond James Wood Le Fevre', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Raymond_James_Wood_Le_Fevre property:country_of_citizenship ?f . ?f rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21165360
P20
Q15700808
USER
Where did the demise of Raymond James Wood Le Fevre occur ?
(Q21165360,P20,c(Q15700808))
action filter_type
action find
entity Q21165360
relation P20
type Q15700808
['Q21165360', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?o WHERE { resource:Q21165360 property:P20 ?o . ?o rdf:type ontology:Q15700808 }
Raymond James Wood Le Fevre
action filter_type
action find
entity Raymond James Wood Le Fevre
relation place of death
type urban unit definition
['Raymond James Wood Le Fevre', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?o WHERE { resource:Raymond_James_Wood_Le_Fevre property:place_of_death ?o . ?o rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q7057712
SYSTEM
Northbridge
Q7057712
(Q21165360,P20,c(Q15700808))
action filter_type
action find
entity Q21165360
relation P20
type Q15700808
The demise of Raymond James Wood Le Fevre occurred at [ANSWER]
['Q21165360', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?o WHERE { resource:Q21165360 property:P20 ?o . ?o rdf:type ontology:Q15700808 }
Northbridge
The demise of Raymond James Wood Le Fevre occurred at Northbridge
Northbridge
action filter_type
action find
entity Raymond James Wood Le Fevre
relation place of death
type urban unit definition
['Raymond James Wood Le Fevre', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?o WHERE { resource:Raymond_James_Wood_Le_Fevre property:place_of_death ?o . ?o rdf:type ontology:urban_unit_definition }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6259313
Q15700808
USER
And how about John Storey?
(Q6259313,P20,c(Q15700808))
action filter_type
action find
entity Q6259313
relation P20
type Q15700808
['Q6259313', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?l WHERE { resource:Q6259313 property:P20 ?l . ?l rdf:type ontology:Q15700808 }
John Storey
action filter_type
action find
entity John Storey
relation place of death
type urban unit definition
['John Storey', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?l WHERE { resource:John_Storey property:place_of_death ?l . ?l rdf:type ontology:urban_unit_definition }
[]
urban unit definition
Q1011478
SYSTEM
Darlinghurst
Q1011478
(Q6259313,P20,c(Q15700808))
action filter_type
action find
entity Q6259313
relation P20
type Q15700808
[ANSWER]
['Q6259313', 'P20', {'concept': 'Q15700808'}]
SELECT DISTINCT ?l WHERE { resource:Q6259313 property:P20 ?l . ?l rdf:type ontology:Q15700808 }
Darlinghurst
Darlinghurst
action filter_type
action find
entity John Storey
relation place of death
type urban unit definition
['John Storey', 'place of death', {'concept': 'urban unit definition'}]
SELECT DISTINCT ?l WHERE { resource:John_Storey property:place_of_death ?l . ?l rdf:type ontology:urban_unit_definition }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q21895324 Q7057712
P17
Q1048835
USER
Which political territories are Northbridge and Mount Cecil Clifton situated in ?
AND((Q7057712,P17,c(Q1048835)), (Q21895324,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q7057712
relation P17
action find
entity Q21895324
relation P17
type Q1048835
{'AND': [['Q7057712', 'P17', {'concept': 'Q1048835'}], ['Q21895324', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { resource:Q7057712 property:P17 ?p . resource:Q21895324 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Mount Cecil Clifton Northbridge
action filter_type
action intersection
action find
entity Northbridge
relation country
action find
entity Mount Cecil Clifton
relation country
type political territorial entity
{'AND': [['Northbridge', 'country', {'concept': 'political territorial entity'}], ['Mount Cecil Clifton', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Northbridge property:country ?p . resource:Mount_Cecil_Clifton property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q7057712,P17,c(Q1048835)), (Q21895324,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q7057712
relation P17
action find
entity Q21895324
relation P17
type Q1048835
Northbridge and Mount Cecil Clifton are situated in [ANSWER]
{'AND': [['Q7057712', 'P17', {'concept': 'Q1048835'}], ['Q21895324', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { resource:Q7057712 property:P17 ?p . resource:Q21895324 property:P17 ?p . ?p rdf:type ontology:Q1048835 }
Australia
Northbridge and Mount Cecil Clifton are situated in Australia
Australia
action filter_type
action intersection
action find
entity Northbridge
relation country
action find
entity Mount Cecil Clifton
relation country
type political territorial entity
{'AND': [['Northbridge', 'country', {'concept': 'political territorial entity'}], ['Mount Cecil Clifton', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Northbridge property:country ?p . resource:Mount_Cecil_Clifton property:country ?p . ?p rdf:type ontology:political_territorial_entity }
[]