Simple Question (Direct)
Simple Question
Q9016687
P26
Q502895
USER
Which person is the life partner of Anna Nose ?
(Q9016687,P26,c(Q502895))
action filter_type
action find
entity Q9016687
relation P26
type Q502895
['Q9016687', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q9016687 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Anna Nose
action filter_type
action find
entity Anna Nose
relation spouse
type common name
['Anna Nose', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Anna_Nose property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q11644799
SYSTEM
Takashi Shigematsu
Q11644799
(Q9016687,P26,c(Q502895))
action filter_type
action find
entity Q9016687
relation P26
type Q502895
[ANSWER] is the life partner of Anna Nose
['Q9016687', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q9016687 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Takashi Shigematsu
Takashi Shigematsu is the life partner of Anna Nose
Takashi Shigematsu
action filter_type
action find
entity Anna Nose
relation spouse
type common name
['Anna Nose', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Anna_Nose property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9016687
P21
Q290
USER
Which sex does Anna Nose have ?
(Q9016687,P21,c(Q290))
action filter_type
action find
entity Q9016687
relation P21
type Q290
['Q9016687', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q9016687 property:P21 ?i . ?i rdf:type ontology:Q290 }
Anna Nose
action filter_type
action find
entity Anna Nose
relation gender
type sex
['Anna Nose', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Anna_Nose property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q9016687,P21,c(Q290))
action filter_type
action find
entity Q9016687
relation P21
type Q290
Anna Nose has a [ANSWER]
['Q9016687', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q9016687 property:P21 ?i . ?i rdf:type ontology:Q290 }
female
Anna Nose has a female
female
action filter_type
action find
entity Anna Nose
relation gender
type sex
['Anna Nose', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Anna_Nose property:gender ?i . ?i rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9016687
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Anna Nose ?
(Q9016687,P27,c(Q15617994))
action filter_type
action find
entity Q9016687
relation P27
type Q15617994
['Q9016687', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q9016687 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Anna Nose
action filter_type
action find
entity Anna Nose
relation country of citizenship
type designation for an administrative territorial entity
['Anna Nose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Anna_Nose property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q9016687,P27,c(Q15617994))
action filter_type
action find
entity Q9016687
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Anna Nose
['Q9016687', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q9016687 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Japan
Of Japan is the country of citizenship of Anna Nose
Japan
action filter_type
action find
entity Anna Nose
relation country of citizenship
type designation for an administrative territorial entity
['Anna Nose', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Anna_Nose property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4962247
Q15617994
USER
And how about Yvonne Lin?
(Q4962247,P27,c(Q15617994))
action filter_type
action find
entity Q4962247
relation P27
type Q15617994
['Q4962247', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4962247 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Yvonne Lin
action filter_type
action find
entity Yvonne Lin
relation country of citizenship
type designation for an administrative territorial entity
['Yvonne Lin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Yvonne_Lin property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q4962247,P27,c(Q15617994))
action filter_type
action find
entity Q4962247
relation P27
type Q15617994
[ANSWER]
['Q4962247', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q4962247 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Sweden
Sweden
action filter_type
action find
entity Yvonne Lin
relation country of citizenship
type designation for an administrative territorial entity
['Yvonne Lin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Yvonne_Lin property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4962247
P106
Q12737077
USER
What is the job of that person ?
(Q34,P106,c(Q12737077))
action filter_type
action find
entity Q4962247
relation P106
type Q12737077
['Q34', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q4962247 property:P106 ?r }
Yvonne Lin
action filter_type
action find
entity Yvonne Lin
relation occupation
type occupation
['Sweden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Yvonne_Lin property:occupation ?r }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q34,P106,c(Q12737077))
action filter_type
action find
entity Q4962247
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q34', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q4962247 property:P106 ?r }
writer
The job of that person is a writer
writer
action filter_type
action find
entity Yvonne Lin
relation occupation
type occupation
['Sweden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Yvonne_Lin property:occupation ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36180 Q11891517
P106
Q502895
USER
Does Ruusu Heininen have a job as that occupation ?
(Q11891517,P106,Q36180)
action is_in
entity Q11891517
action find
entity Q36180
relation P106
['Q11891517', 'P106', 'Q36180']
ASK WHERE { resource:Q36180 property:P106 resource:Q11891517 }
writer Ruusu Heininen
action is_in
entity Ruusu Heininen
action find
entity writer
relation occupation
['Ruusu Heininen', 'occupation', 'writer']
ASK WHERE { resource:writer property:occupation resource:Ruusu_Heininen }
[]
common name
SYSTEM
NO
(Q11891517,P106,Q36180)
action is_in
entity Q11891517
action find
entity Q36180
relation P106
[ANSWER]
['Q11891517', 'P106', 'Q36180']
ASK WHERE { resource:Q36180 property:P106 resource:Q11891517 }
No
action is_in
entity Ruusu Heininen
action find
entity writer
relation occupation
['Ruusu Heininen', 'occupation', 'writer']
ASK WHERE { resource:writer property:occupation resource:Ruusu_Heininen }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q17 Q1964214
P36
Q56061
USER
Is Ahwa associated to Japan as the capital ?
(Q17,P36,Q1964214)
action is_in
entity Q1964214
action find
entity Q17
relation P36
['Q17', 'P36', 'Q1964214']
ASK WHERE { resource:Q17 property:P36 resource:Q1964214 }
Japan Ahwa
action is_in
entity Ahwa
action find
entity Japan
relation capital
['Japan', 'capital', 'Ahwa']
ASK WHERE { resource:Japan property:capital resource:Ahwa }
[]
administrative territorial entity
SYSTEM
NO
(Q17,P36,Q1964214)
action is_in
entity Q1964214
action find
entity Q17
relation P36
[ANSWER]
['Q17', 'P36', 'Q1964214']
ASK WHERE { resource:Q17 property:P36 resource:Q1964214 }
No
action is_in
entity Ahwa
action find
entity Japan
relation capital
['Japan', 'capital', 'Ahwa']
ASK WHERE { resource:Japan property:capital resource:Ahwa }
[]