query: PREFIX wikibase: <http://wikiba.se/ontology#>
  PREFIX wd: <http://www.wikidata.org/entity/> 
  PREFIX wdt: <http://www.wikidata.org/prop/direct/>
  PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
  PREFIX p: <http://www.wikidata.org/prop/>
  PREFIX v: <http://www.wikidata.org/prop/statement/>
  
  SELECT DISTINCT ?p ?pLabel ?fieldLabel ?article WHERE {
    ?p wdt:P106 wd:Q4964182 .
    
    { 
     ?p wdt:P27 wd:Q408 .
     } UNION {
       ?p wdt:P495 wd:Q408 .
     } UNION {
       ?p wdt:P19 ?pob .
       ?pob wdt:P17 wd:Q408 .
     }
     
       OPTIONAL {
        ?article schema:about ?p .
        ?article schema:inLanguage "en" .
        FILTER (SUBSTR(str(?article), 1, 25) = "https://en.wikipedia.org/")
     }
  
    OPTIONAL {
      ?p wdt:P101 ?field .
    }
    
     SERVICE wikibase:label {
      bd:serviceParam wikibase:language "en" .
     }
   }