-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
5 changed files
with
23 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 8 additions & 3 deletions
11
intavia_backend/sparql/bulk_retrieve_biographies_v2_1.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
PREFIX idmcore: <http://www.intavia.eu/idm-core/> | ||
PREFIX bgn: <http://data.biographynet.nl/rdf/> | ||
|
||
SELECT ?bioText ?bioAbstract ?bioID | ||
SELECT ?bioText ?bioAbstract ?biotext ?bioID | ||
|
||
{% include 'add_datasets_v2_1.sparql' %} | ||
|
||
WHERE { | ||
VALUES ?bioID { {% for id in ids %}<{{id}}> {% endfor %} } | ||
?bioID idmcore:full_bio_link ?bioText . | ||
OPTIONAL {?bioID idmcore:short_bio_link ?bioAbstract .} | ||
{ ?bioID idmcore:full_bio_link ?bioText . | ||
OPTIONAL {?bioID idmcore:short_bio_link ?bioAbstract .} } | ||
UNION | ||
{ ?bioID bgn:hasBioParts ?bioparts . | ||
?bioparts bgn:text ?biotext . | ||
FILTER NOT EXISTS { ?bioparts bgn:hasFigure ?fig . } } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,7 +21,7 @@ profile = "black" | |
|
||
[tool.poetry] | ||
name = "intavia-backend" | ||
version = "2.0.2" | ||
version = "2.0.3" | ||
description = "" | ||
authors = [ "Matthias Schlögl <[email protected]>" ] | ||
license = "MIT" | ||
|