how many websites are about webcams
Value
2
class entity
internet.website m.0mynm
internet.website internet.website_category
Website webcams
count none
internet.website.category
Website 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 (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :internet.website . 
VALUES ?x1 { :m.0mynm } 
?x0 :internet.website.category ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(COUNT (AND internet.website (JOIN internet.website.category m.0mynm)))