Simple Question (Direct)
Simple Question
Q7609188
P106
Q151885
USER
What does Stephen Feraday do for a living ?
(Q7609188,P106,c(Q151885))
action filter_type
action find
entity Q7609188
relation P106
type Q151885
['Q7609188', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q7609188 property:P106 ?s . ?s rdf:type ontology:Q151885 }
Stephen Feraday
action filter_type
action find
entity Stephen Feraday
relation occupation
type concept
['Stephen Feraday', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Stephen_Feraday property:occupation ?s . ?s rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q7609188,P106,c(Q151885))
action filter_type
action find
entity Q7609188
relation P106
type Q151885
Stephen Feraday does an [ANSWER] for a living
['Q7609188', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?s WHERE { resource:Q7609188 property:P106 ?s . ?s rdf:type ontology:Q151885 }
athletics competitor
Stephen Feraday does an athletics competitor for a living
athletics competitor
action filter_type
action find
entity Stephen Feraday
relation occupation
type concept
['Stephen Feraday', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?s WHERE { resource:Stephen_Feraday property:occupation ?s . ?s rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7609188
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q11513337,P27,c(Q1048835))
action filter_type
action find
entity Q7609188
relation P27
type Q1048835
['Q11513337', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q7609188 property:P27 ?i }
Stephen Feraday
action filter_type
action find
entity Stephen Feraday
relation country of citizenship
type political territorial entity
['athletics competitor', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Stephen_Feraday property:country_of_citizenship ?i }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q11513337,P27,c(Q1048835))
action filter_type
action find
entity Q7609188
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q11513337', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q1048835 . resource:Q7609188 property:P27 ?i }
Canada
Canada is the native country of that person
Canada
action filter_type
action find
entity Stephen Feraday
relation country of citizenship
type political territorial entity
['athletics competitor', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:political_territorial_entity . resource:Stephen_Feraday property:country_of_citizenship ?i }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16 Q35 Q4410985
P530
Q1048835
USER
Does that political territory have ambassadorial relations with Denmark and Svyschiv ?
(Q16,P530,Q35) (Q16,P530,Q4410985)
action is_in
entity Q16
action intersection
action find_reverse
entity Q35
relation P530
action find_reverse
entity Q4410985
relation P530
['Q16', 'P530', 'Q35'] ['Q16', 'P530', 'Q4410985']
ASK WHERE { resource:Q16 property:P530 resource:Q35 . resource:Q16 property:P530 resource:Q4410985 }
Canada Denmark Svyschiv
action is_in
entity Canada
action intersection
action find_reverse
entity Denmark
relation diplomatic relation
action find_reverse
entity Svyschiv
relation diplomatic relation
['Canada', 'diplomatic relation', 'Denmark'] ['Canada', 'diplomatic relation', 'Svyschiv']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Denmark . resource:Canada property:diplomatic_relation resource:Svyschiv }
[]
political territorial entity
SYSTEM
YES and NO respectively
(Q16,P530,Q35) (Q16,P530,Q4410985)
action is_in
entity Q16
action intersection
action find_reverse
entity Q35
relation P530
action find_reverse
entity Q4410985
relation P530
[ANSWER]
['Q16', 'P530', 'Q35'] ['Q16', 'P530', 'Q4410985']
ASK WHERE { resource:Q16 property:P530 resource:Q35 . resource:Q16 property:P530 resource:Q4410985 }
YES and NO respectively
action is_in
entity Canada
action intersection
action find_reverse
entity Denmark
relation diplomatic relation
action find_reverse
entity Svyschiv
relation diplomatic relation
['Canada', 'diplomatic relation', 'Denmark'] ['Canada', 'diplomatic relation', 'Svyschiv']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Denmark . resource:Canada property:diplomatic_relation resource:Svyschiv }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P17
Q1048835
USER
Which political territory is Canada located in ?
(Q16,P17,c(Q1048835))
action filter_type
action find
entity Q16
relation P17
type Q1048835
['Q16', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q16 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Canada
action filter_type
action find
entity Canada
relation country
type political territorial entity
['Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Canada property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q16,P17,c(Q1048835))
action filter_type
action find
entity Q16
relation P17
type Q1048835
[ANSWER] is located in [ANSWER]
['Q16', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q16 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Canada
Canada is located in Canada
Canada
action filter_type
action find
entity Canada
relation country
type political territorial entity
['Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Canada property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7609188
P21
Q290
USER
Which sex does Stephen Feraday possess ?
(Q7609188,P21,c(Q290))
action filter_type
action find
entity Q7609188
relation P21
type Q290
['Q7609188', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7609188 property:P21 ?q . ?q rdf:type ontology:Q290 }
Stephen Feraday
action filter_type
action find
entity Stephen Feraday
relation gender
type sex
['Stephen Feraday', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Stephen_Feraday property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7609188,P21,c(Q290))
action filter_type
action find
entity Q7609188
relation P21
type Q290
Stephen Feraday possesses un [ANSWER]
['Q7609188', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q7609188 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Stephen Feraday possesses un male
male
action filter_type
action find
entity Stephen Feraday
relation gender
type sex
['Stephen Feraday', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Stephen_Feraday property:gender ?q . ?q rdf:type ontology:sex }
[]