Simple Question (Direct)
Simple Question
Q325490
P39
Q12737077
USER
What was the position held by George Watterston ?
(Q325490,P39,c(Q12737077))
action filter_type
action find
entity Q325490
relation P39
type Q12737077
['Q325490', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q325490 property:P39 ?a }
George Watterston
action filter_type
action find
entity George Watterston
relation position held
type occupation
['George Watterston', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:George_Watterston property:position_held ?a }
[]
occupation
Q6542448
SYSTEM
Librarian of Congress
Q6542448
(Q325490,P39,c(Q12737077))
action filter_type
action find
entity Q325490
relation P39
type Q12737077
The position held by George Watterston was a [ANSWER]
['Q325490', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q12737077 . resource:Q325490 property:P39 ?a }
Librarian of Congress
The position held by George Watterston was a Librarian of Congress
Librarian of Congress
action filter_type
action find
entity George Watterston
relation position held
type occupation
['George Watterston', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:occupation . resource:George_Watterston property:position_held ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6542448
P106
Q502895
USER
Which person has the profession of that occupation ?
(c(Q502895),P106,Q6542448)
action filter_type
action find_reverse
entity Q6542448
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q6542448']
SELECT DISTINCT ?a WHERE { ?a property:P106 resource:Q6542448 . ?a rdf:type ontology:Q502895 }
Librarian of Congress
action filter_type
action find_reverse
entity Librarian of Congress
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Librarian of Congress']
SELECT DISTINCT ?a WHERE { ?a property:occupation resource:Librarian_of_Congress . ?a rdf:type ontology:common_name }
[]
common name
Q706375
SYSTEM
John Russell Young
Q706375
(c(Q502895),P106,Q6542448)
action filter_type
action find_reverse
entity Q6542448
relation P106
type Q502895
[ANSWER] has the profession of that occupation
[{'concept': 'Q502895'}, 'P106', 'Q6542448']
SELECT DISTINCT ?a WHERE { ?a property:P106 resource:Q6542448 . ?a rdf:type ontology:Q502895 }
John Russell Young
John Russell Young has the profession of that occupation
John Russell Young
action filter_type
action find_reverse
entity Librarian of Congress
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Librarian of Congress']
SELECT DISTINCT ?a WHERE { ?a property:occupation resource:Librarian_of_Congress . ?a rdf:type ontology:common_name }
[]