query-cf3bc191ac0b2e809572f2da42346044

rq turtle/ttl

.on Mastodon and on TwitterOriginally posted

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?taxon ?taxonName WHERE {
  ?taxon wdt:P225 ?taxonName.
  # e.g. gorilla gorilla or gorilla gorilla gorilla
  FILTER(REGEX(?taxonName, "^([^ ]*) \\1( \\1)?$", "i"))
}
LIMIT 500

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?taxon"):::projected v1("?taxonName"):::projected f0[["regex(?taxonName,'^(#91;^ #93;*) \1( \1)?$','i')"]] f0 --> v1 v2 --"wdt:P225"--> v1