query: embed.html##Map of places of residence of accused witches.
  #defaultView:Map
  
  #You need to use the name ?layer as the variable you are colour coding by 
  #It's much easier to change later if you do this in the SELECT area, using e.g. (?Gender as ?layer)
  
  SELECT ?person ?personLabel ?accusedwitch ?precision ?coords ?Occupation ?Residence ?image (?SocialClassification as ?layer) 
  WHERE {
    ?person wdt:P4478 ?accusedwitch .
    ?person wdt:P31 wd:Q5.
    ?person wdt:P21 ?gender .
    ?person wdt:P551 ?residence .
    OPTIONAL { ?person wdt:P106 ?occupation} 
    OPTIONAL { ?person wdt:P3716 ?socialclassification }
    ?residence wdt:P625 ?coords.
    OPTIONAL { ?article schema:about ?person. }
    SERVICE wikibase:label {
      bd:serviceParam wikibase:language "en".
      ?person rdfs:label ?personLabel.
      ?residence rdfs:label ?Residence .
      ?occupation rdfs:label ?Occupation.
      ?gender rdfs:label ?Gender.
      ?socialclassification rdfs:label ?SocialClassification .
    }
  }