hound of the baskervilles inspired how many different works?
Value
8
class entity
media_common.adaptation m.07g52
media_common.adaptation media_common.adapted_work
Adaptation hound of the baskervilles
count none
media_common.adapted_work.adaptations
Adaptations
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 (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :media_common.adaptation . 
VALUES ?x1 { :m.07g52 } 
?x1 :media_common.adapted_work.adaptations ?x0 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND media_common.adaptation (JOIN (R media_common.adapted_work.adaptations) m.07g52)))