Simple Question (Direct)
Simple Question
Q5536143
P39
Q12737077
USER
Which occupation was a position for which George Alexander was appointed ?
(Q5536143,P39,c(Q12737077))
action filter_type
action find
entity Q5536143
relation P39
type Q12737077
['Q5536143', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5536143 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
George Alexander
action filter_type
action find
entity George Alexander
relation position held
type occupation
['George Alexander', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:George_Alexander property:position_held ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q18524027
SYSTEM
Member of the Senate of Canada
Q18524027
(Q5536143,P39,c(Q12737077))
action filter_type
action find
entity Q5536143
relation P39
type Q12737077
[ANSWER] was a position for which George Alexander was appointed
['Q5536143', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5536143 property:P39 ?s . ?s rdf:type ontology:Q12737077 }
Member of the Senate of Canada
Member of the Senate of Canada was a position for which George Alexander was appointed
Member of the Senate of Canada
action filter_type
action find
entity George Alexander
relation position held
type occupation
['George Alexander', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:George_Alexander property:position_held ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5536143
P21
Q290
USER
What is the sex of George Alexander ?
(Q5536143,P21,c(Q290))
action filter_type
action find
entity Q5536143
relation P21
type Q290
['Q5536143', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5536143 property:P21 ?b . ?b rdf:type ontology:Q290 }
George Alexander
action filter_type
action find
entity George Alexander
relation gender
type sex
['George Alexander', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:George_Alexander property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5536143,P21,c(Q290))
action filter_type
action find
entity Q5536143
relation P21
type Q290
The sex of George Alexander is a [ANSWER]
['Q5536143', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5536143 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
The sex of George Alexander is a male
male
action filter_type
action find
entity George Alexander
relation gender
type sex
['George Alexander', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:George_Alexander property:gender ?b . ?b rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16213439
Q290
USER
And also tell me about Brett Bech?
(Q16213439,P21,c(Q290))
action filter_type
action find
entity Q16213439
relation P21
type Q290
['Q16213439', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q16213439 property:P21 ?k . ?k rdf:type ontology:Q290 }
Brett Bech
action filter_type
action find
entity Brett Bech
relation gender
type sex
['Brett Bech', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Brett_Bech property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16213439,P21,c(Q290))
action filter_type
action find
entity Q16213439
relation P21
type Q290
[ANSWER]
['Q16213439', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q16213439 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Brett Bech
relation gender
type sex
['Brett Bech', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Brett_Bech property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Which person was educated at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f property:P69 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?f WHERE { ?f property:educated_at resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] was educated at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f property:P69 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Aaron Parchem
Aaron Parchem was educated at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?f WHERE { ?f property:educated_at resource:male . ?f rdf:type ontology:common_name }
[]