Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ Most data is pulled from Wikidata without any particular requirements, however,
| Data | Requirement |
|--------|--------|
| Phone number | For a phone number to be displayed it must be supported by one or more references. |
| Main regulatory text | For a main regulatory text to be displayed the item describing the regulatory text must have both _full work available online at_ and _title_ statements. |
| Email address | For an email address to be displayed it must be supported by one or more references. |
| Main regulatory text | For a main regulatory text to be displayed the item describing the regulatory text must have both _full work available online at_ and _title_ statements. |

You can test if an organization on Wikidata matches these requirements using the following SPARQL-query:

Expand Down
7 changes: 7 additions & 0 deletions queries/organization-optional.rq
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ WHERE {
FILTER(EXISTS { ?phoneStatement prov:wasDerivedFrom ?reference. })
}

OPTIONAL {
?org wdt:P968 ?email .
?org p:P968 ?emailStatement .
?emailStatement (ps:P968) [] .
FILTER(EXISTS { ?emailStatement prov:wasDerivedFrom ?reference. })
}

OPTIONAL {
?wikipedia schema:about ?org ;
schema:isPartOf <https://en.wikipedia.org/> .
Expand Down