Skip to content

Commit

Permalink
Update 2023-06-22-wikidata-publishers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jun 23, 2023
1 parent a6ff908 commit 66476bb
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions _posts/2023-06-22-wikidata-publishers.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,32 @@ journals.
Journals might have multiple [International Standard Serial Numbers (ISSNs)](https://bioregistry.io/registry/issn)
because a different one is assigned to the print and electronic versions of the journal, among other things.

Get the ISSN-L (the normalized/preferred) ISSN for each:

```sparql
SELECT ?journal ?journalLabel ?issn
WHERE
{
?journal wdt:P31 wd:Q5633421 .
OPTIONAL { ?journal wdt:P7363 ?issnl }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en language
}
```

Get a forward mapping from all ISSNs to ISSN-L. Note that these have been filtered to scientific journals (wd:Q5633421)


```sparql
SELECT ?issn ?issnl
WHERE
{
?journal wdt:P31 wd:Q5633421 ;
wdt:P7363 ?issnl ;
wdt:P236 ?issn .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en language
}
```

## Publishers

The following SPARQL query gets information about publishers:
Expand Down

0 comments on commit 66476bb

Please sign in to comment.