query: #title: Check P106
  # Complex constraint from [[Property talk:P3010]]
  #
  SELECT ?item ?value {
  	?item wdt:P3010 ?value.
    ?item wdt:P106 ?occupation.
  	FILTER NOT EXISTS { ?item wdt:P106/wdt:P279* wd:Q2066131 }
  }