query: # SPRAT wikidata items without an enwiki article
  SELECT ?item ?taxon_name ?sprat_ID ?spratLink ?APNILink WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
      ?item wdt:P2455 ?sprat_ID.
      ?item wdt:P225 ?taxon_name.
    bind(uri(concat("http://www.environment.gov.au/cgi-bin/sprat/public/publicspecies.pl?taxon_id=",?sprat_ID)) as ?spratLink)   
  
    {?item wdt:P5984 ?APNI_ID.
    bind(uri(concat("https://biodiversity.org.au/nsl/services/rest/name/apni/",?APNI_ID)) as ?APNILink)}  
    MINUS
    {?article schema:about ?item. # and have an article about them
    ?article schema:isPartOf <https://en.wikipedia.org/> . # on *English* Wikipedia}
    }
  }
  ORDER BY ?taxon_name ?item