Simple Question (Direct)
Simple Question
Q6524188
P21
Q290
USER
What is the sex of Leo Roininen ?
(Q6524188,P21,c(Q290))
action filter_type
action find
entity Q6524188
relation P21
type Q290
['Q6524188', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6524188 property:P21 ?n . ?n rdf:type ontology:Q290 }
Leo Roininen
action filter_type
action find
entity Leo Roininen
relation gender
type sex
['Leo Roininen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Leo_Roininen property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6524188,P21,c(Q290))
action filter_type
action find
entity Q6524188
relation P21
type Q290
The sex of Leo Roininen is the [ANSWER]
['Q6524188', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q6524188 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
The sex of Leo Roininen is the male
male
action filter_type
action find
entity Leo Roininen
relation gender
type sex
['Leo Roininen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Leo_Roininen property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6524188
P27
Q1048835
USER
Which political territory is Leo Roininen an inhabitant of ?
(Q6524188,P27,c(Q1048835))
action filter_type
action find
entity Q6524188
relation P27
type Q1048835
['Q6524188', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q6524188 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Leo Roininen
action filter_type
action find
entity Leo Roininen
relation country of citizenship
type political territorial entity
['Leo Roininen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Leo_Roininen property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q6524188,P27,c(Q1048835))
action filter_type
action find
entity Q6524188
relation P27
type Q1048835
[ANSWER] is Leo Roininen an inhabitant of
['Q6524188', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q6524188 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Canada
Canada is Leo Roininen an inhabitant of
Canada
action filter_type
action find
entity Leo Roininen
relation country of citizenship
type political territorial entity
['Leo Roininen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Leo_Roininen property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q107309
Q1048835
USER
And also tell me about Otto Bachof?
(Q107309,P27,c(Q1048835))
action filter_type
action find
entity Q107309
relation P27
type Q1048835
['Q107309', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q107309 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Otto Bachof
action filter_type
action find
entity Otto Bachof
relation country of citizenship
type political territorial entity
['Otto Bachof', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Bachof property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q107309,P27,c(Q1048835))
action filter_type
action find
entity Q107309
relation P27
type Q1048835
[ANSWER]
['Q107309', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q107309 property:P27 ?n . ?n rdf:type ontology:Q1048835 }
Germany
Germany
action filter_type
action find
entity Otto Bachof
relation country of citizenship
type political territorial entity
['Otto Bachof', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Otto_Bachof property:country_of_citizenship ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q116592
P47
Q15617994
USER
Is Cassino adjacent to that political territory ?
(Q183,P47,Q116592)
action is_in
entity Q116592
action find
entity Q183
relation P47
['Q183', 'P47', 'Q116592']
ASK WHERE { resource:Q183 property:P47 resource:Q116592 }
Germany Cassino
action is_in
entity Cassino
action find
entity Germany
relation shares border with
['Germany', 'shares border with', 'Cassino']
ASK WHERE { resource:Germany property:shares_border_with resource:Cassino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q183,P47,Q116592)
action is_in
entity Q116592
action find
entity Q183
relation P47
[ANSWER]
['Q183', 'P47', 'Q116592']
ASK WHERE { resource:Q183 property:P47 resource:Q116592 }
No
action is_in
entity Cassino
action find
entity Germany
relation shares border with
['Germany', 'shares border with', 'Cassino']
ASK WHERE { resource:Germany property:shares_border_with resource:Cassino }
[]