which collection activity shares a parent category with eriksson?
Entity
m.03w814
Militaria
class class entity
interests.collection_activity interests.collection_category m.0ghw2mb
interests.collection_activity interests.collection_category interests.collection_category
Collection activity Collection category Eriksson
none none none
interests.collection_activity.type_of_thing_collected interests.collection_category.parent_category
Type of thing collected Parent category
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :interests.collection_activity . 
?x1 :type.object.type :interests.collection_category . 
VALUES ?x2 { :m.0ghw2mb } 
?x0 :interests.collection_activity.type_of_thing_collected ?x1 . 
?x2 :interests.collection_category.parent_category ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND interests.collection_activity (JOIN interests.collection_activity.type_of_thing_collected (JOIN (R interests.collection_category.parent_category) m.0ghw2mb)))