query-dbe5c29792ba6c7647e44d2c7d643398

rq turtle/ttl

Organization validation queryHi! I am making a piece of software that checks whether some entities follow a schema I have predefined. These are the rules for each entity: subclasses. (Q43229)organization or of any of (Q43229)organization (P31)instance of - the entity MUST have a description in English. - the entity MUST be has a description in English. (Q3295867)The Coca-Cola Company This is an example that lets me check whether

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?description WHERE {
  wd:Q3295867 schema:description ?description.
  FILTER(LANG(?description) = "en")
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?description"):::projected c2(["wd:Q3295867"]):::iri f0[["?description = 'en'"]] f0 --> v1 c2 --"schema:description"--> v1