Simple Question (Direct)
Simple Question
Q594307
P144
Q2342494
USER
Where is Gorky Park adapted from ?
(Q594307,P144,c(Q2342494))
action filter_type
action find
entity Q594307
relation P144
type Q2342494
['Q594307', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { resource:Q594307 property:P144 ?b . ?b rdf:type ontology:Q2342494 }
Gorky Park
action filter_type
action find
entity Gorky Park
relation based on
type collectable
['Gorky Park', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { resource:Gorky_Park property:based_on ?b . ?b rdf:type ontology:collectable }
[]
collectable
Q3773562
SYSTEM
Gorky Park
Q3773562
(Q594307,P144,c(Q2342494))
action filter_type
action find
entity Q594307
relation P144
type Q2342494
From [ANSWER] is adapted to [ANSWER]
['Q594307', 'P144', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { resource:Q594307 property:P144 ?b . ?b rdf:type ontology:Q2342494 }
Gorky Park
From Gorky Park is adapted to Gorky Park
Gorky Park
action filter_type
action find
entity Gorky Park
relation based on
type collectable
['Gorky Park', 'based on', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { resource:Gorky_Park property:based_on ?b . ?b rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3773562
P800
Q502895
USER
Which person is accredited with being the author of the notable work that collectable ?
(c(Q502895),P800,Q3773562)
action filter_type
action find_reverse
entity Q3773562
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q3773562']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q3773562 . ?z rdf:type ontology:Q502895 }
Gorky Park
action filter_type
action find_reverse
entity Gorky Park
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Gorky Park']
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:Gorky_Park . ?z rdf:type ontology:common_name }
[]
common name
Q1395538
SYSTEM
Martin Cruz Smith
Q1395538
(c(Q502895),P800,Q3773562)
action filter_type
action find_reverse
entity Q3773562
relation P800
type Q502895
[ANSWER] is accredited with being the author of the notable work that collectable
[{'concept': 'Q502895'}, 'P800', 'Q3773562']
SELECT DISTINCT ?z WHERE { ?z property:P800 resource:Q3773562 . ?z rdf:type ontology:Q502895 }
Martin Cruz Smith
Martin Cruz Smith is accredited with being the author of the notable work that collectable
Martin Cruz Smith
action filter_type
action find_reverse
entity Gorky Park
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Gorky Park']
SELECT DISTINCT ?z WHERE { ?z property:notable_work resource:Gorky_Park . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3773562
P800 P21
Q502895
USER
Which people have Gorky Park as their notable work and have the gender as male ?
AND((c(Q502895),P800,Q3773562), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3773562
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q3773562'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q3773562 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Gorky Park
action filter_type
action intersection
action find_reverse
entity Gorky Park
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Gorky Park'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Gorky_Park . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q1395538
SYSTEM
Martin Cruz Smith
Q1395538
AND((c(Q502895),P800,Q3773562), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3773562
relation P800
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Gorky Park as their notable work and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P800', 'Q3773562'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P800 resource:Q3773562 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
Martin Cruz Smith
Martin Cruz Smith have Gorky Park as their notable work and have the gender as male
Martin Cruz Smith
action filter_type
action intersection
action find_reverse
entity Gorky Park
relation notable work
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'notable work', 'Gorky Park'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:notable_work resource:Gorky_Park . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]