Skip to content

Instantly share code, notes, and snippets.

@hcayless
Created March 31, 2014 09:10
Show Gist options
  • Save hcayless/9888394 to your computer and use it in GitHub Desktop.
Save hcayless/9888394 to your computer and use it in GitHub Desktop.
example SNAP assertion
# Input Persons:
<http://www.trismegistos.org/person/412#this>
a lawd:Person ;
dc:publisher <http://www.trismegistos.org> ;
lawd:hasName <http://www.trismegistos.org/name/1#this> ;
lawd:hasAttestation <http://www.trismegistos.org/ref/1661#this> .
<http://data.snapdrgn.net/person/1231>
a lawd:Person ;
prov:wasDerivedFrom <http://www.trismegistos.org/person/412#this> .
<http://www.lgpn.ox.ac.uk/id/V5a-57002#this>
a lawd:Person ;
dc:publisher <http://www.lgpn.ox.ac.uk> ;
lawd:hasName <http://www.lgpn.ox.ac.uk/name/Ἀγεάναξ> .
<http://data.snapdrgn.net/person/1232>
a lawd:Person ;
prov:wasDerivedFrom <http://www.lgpn.ox.ac.uk/id/V5a-57002#this> .
# A SNAP assertion that the above are the same:
<http://data.snapdrgn.net/assertion/1234>
a snap:Identification ;
snap:merges <http://data.snapdrgn.net/person/1231> ;
snap:merges <http://data.snapdrgn.net/person/1232> ;
snap:assertedBy <http://data.snapdrgn.net/user/Bodard> ;
snap:reason <urn:foo:bar> .
<urn:foo:bar>
a cnt:ContentAsText ;
cnt:chars "Both cite the same inscription, IG II² 4321." .
# A new person created on the basis of the assertion:
# the new person will have one or more snap:sourceAssertions and
# will dc:replace each snap:person that is deprecated. We need
# to determine the workflow for how the new persons get created.
# Automatic? Editorial approval?
<http://data.snapdrgn.net/person/1233>
a lawd:Person ;
snap:sourceAssertion <http://data.snapdrgn.net/assertion/1234> ;
prov:wasDerivedFrom <http://data.snapdrgn.net/person/1231> ;
prov:wasDerivedFrom <http://data.snapdrgn.net/person/1232> ;
# Note that if SNAP:1231 and 1232 are not owl:sameAs their TM and LGPN sources,
# then SNAP:1233 is not asserting that it replaces them, only their
# derivatives. TM and LGPN are free to take this on board as they wish.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment