Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resolve sameAs relation to resolve 4463 references like urn:catalog:CSULB:Aves:989 to urn:catalog:CSULB:Bird:989 instead (Aves -> Bird) #927

Open
jhpoelen opened this issue Oct 6, 2023 · 1 comment

Comments

@jhpoelen
Copy link
Member

jhpoelen commented Oct 6, 2023

For sure:

here's an example extracted from

preston track "http://ipt.vertnet.org:8080/ipt/rss.do"\
 | preston dwc-stream\
 | grep "CSULB:Aves"\
 | head -n2\
 | jq .
{
  "http://www.w3.org/ns/prov#wasDerivedFrom": "line:zip:hash://sha256/4cbef2cdf2b7b96371b7727bf8bfc4f454addfa6c5c25a4c51f7f90cf0ad2522!/resourcerelationship.txt!/L2",
  "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://rs.tdwg.org/dwc/terms/ResourceRelationship",
  "http://rs.tdwg.org/dwc/text/coreid": "http://arctos.database.museum/guid/CSULB:Bird:1?seid=5523838",
  "http://rs.tdwg.org/dwc/terms/resourceID": "http://arctos.database.museum/guid/CSULB:Bird:1?seid=5523838",
  "http://rs.tdwg.org/dwc/terms/relatedResourceID": "urn:catalog:CSULB:Aves:1",
  "http://rs.tdwg.org/dwc/terms/relationshipOfResource": "SameAs"
}
{
  "http://www.w3.org/ns/prov#wasDerivedFrom": "line:zip:hash://sha256/4cbef2cdf2b7b96371b7727bf8bfc4f454addfa6c5c25a4c51f7f90cf0ad2522!/resourcerelationship.txt!/L3",
  "http://www.w3.org/1999/02/22-rdf-syntax-ns#type": "http://rs.tdwg.org/dwc/terms/ResourceRelationship",
  "http://rs.tdwg.org/dwc/text/coreid": "http://arctos.database.museum/guid/CSULB:Bird:3?seid=5524160",
  "http://rs.tdwg.org/dwc/terms/resourceID": "http://arctos.database.museum/guid/CSULB:Bird:3?seid=5524160",
  "http://rs.tdwg.org/dwc/terms/relatedResourceID": "urn:catalog:CSULB:Aves:3",
  "http://rs.tdwg.org/dwc/terms/relationshipOfResource": "SameAs"
}

Is this expected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant