Simple Question (Direct)
Simple Question
Q1087013
P106
Q12737077
USER
What does Lester Grinspoon do for a living ?
(Q1087013,P106,c(Q12737077))
action filter_type
action find
entity Q1087013
relation P106
type Q12737077
['Q1087013', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1087013 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Lester Grinspoon
action filter_type
action find
entity Lester Grinspoon
relation occupation
type occupation
['Lester Grinspoon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lester_Grinspoon property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q211346
SYSTEM
psychiatrist
Q211346
(Q1087013,P106,c(Q12737077))
action filter_type
action find
entity Q1087013
relation P106
type Q12737077
[ANSWER] Lester Grinspoon does for a living
['Q1087013', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q1087013 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
psychiatrist
Psychiatrist Lester Grinspoon does for a living
psychiatrist
action filter_type
action find
entity Lester Grinspoon
relation occupation
type occupation
['Lester Grinspoon', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Lester_Grinspoon property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1087013
P161
Q838948
USER
Which work of art stars Lester Grinspoon as actor ?
(c(Q838948),P161,Q1087013)
action filter_type
action find_reverse
entity Q1087013
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1087013']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P161 resource:Q1087013 }
Lester Grinspoon
action filter_type
action find_reverse
entity Lester Grinspoon
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lester Grinspoon']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:cast_member resource:Lester_Grinspoon }
[]
work of art
Q7771543
SYSTEM
The Union: The Business Behind Getting High
Q7771543
(c(Q838948),P161,Q1087013)
action filter_type
action find_reverse
entity Q1087013
relation P161
type Q838948
The Union: The Business Behind getting High stars Lester Grinspoon as actor
[{'concept': 'Q838948'}, 'P161', 'Q1087013']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P161 resource:Q1087013 }
The Union: The Business Behind Getting High
The Union: The Business Behind getting High stars Lester Grinspoon as actor
The Union: The Business Behind Getting High
action filter_type
action find_reverse
entity Lester Grinspoon
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Lester Grinspoon']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:cast_member resource:Lester_Grinspoon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1087013
P22
Q502895
USER
Which person has that one as a parent ?
(c(Q502895),P22,Q7771543)
action filter_type
action find_reverse
entity Q1087013
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q7771543']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q1087013 . ?o rdf:type ontology:Q502895 }
Lester Grinspoon
action filter_type
action find_reverse
entity Lester Grinspoon
relation father
type common name
[{'concept': 'common name'}, 'father', 'The Union: The Business Behind Getting High']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Lester_Grinspoon . ?o rdf:type ontology:common_name }
[]
common name
Q3296795
SYSTEM
David Grinspoon
Q3296795
(c(Q502895),P22,Q7771543)
action filter_type
action find_reverse
entity Q1087013
relation P22
type Q502895
[ANSWER] has that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q7771543']
SELECT DISTINCT ?o WHERE { ?o property:P22 resource:Q1087013 . ?o rdf:type ontology:Q502895 }
David Grinspoon
David Grinspoon has that one as a parent
David Grinspoon
action filter_type
action find_reverse
entity Lester Grinspoon
relation father
type common name
[{'concept': 'common name'}, 'father', 'The Union: The Business Behind Getting High']
SELECT DISTINCT ?o WHERE { ?o property:father resource:Lester_Grinspoon . ?o rdf:type ontology:common_name }
[]