Skip to content

Commit

Permalink
fix: allow for more event types
Browse files Browse the repository at this point in the history
resolves #376
adds support for `gndo:ConferenceOrEvent`
  • Loading branch information
sennierer committed Nov 25, 2024
1 parent dd811b6 commit bac6be9
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions apis_ontology/rdfimport/EventFromDNB.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,16 @@ WHERE {
}
"""
[[attributes]]
# name
sparql = """
PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#>
SELECT ?name
WHERE {
?subject a gndo:ConferenceOrEvent ;
gndo:preferredNameForTheConferenceOrEvent ?name .
}
"""
[[attributes]]
# start_date_written
sparql = """
PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#>
Expand All @@ -24,6 +34,16 @@ WHERE {
}
"""
[[attributes]]
# start_date_written
sparql = """
PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#>
SELECT ?start_date_written
WHERE {
?subject a gndo:ConferenceOrEvent ;
gndo:dateOfConferenceOrEvent ?start_date_written .
}
"""
[[attributes]]
# related_place
sparql = """
PREFIX gndo: <https://d-nb.info/standards/elementset/gnd#>
Expand Down

0 comments on commit bac6be9

Please sign in to comment.