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

skos:relatedMatch 'expects' instance of skos:Concept #2

Open
bencomp opened this issue Sep 16, 2021 · 2 comments
Open

skos:relatedMatch 'expects' instance of skos:Concept #2

bencomp opened this issue Sep 16, 2021 · 2 comments

Comments

@bencomp
Copy link

bencomp commented Sep 16, 2021

Looking at the SKOS PRIMER section on mapping schemes, I think the objects in skos:relatedMatch statements should be skos:Concepts instead of literals (though I think it's great that they have an appropriate datatype!).

It makes me wonder why you replace references to resources in

thes2rdf/gtt2rdf.sh

Lines 74 to 81 in 2c01f89

#UDC is a notation
#line=$(echo $line | sed 's@<skos:relatedMatch rdf:resource="http://www.udcc.org/\([0-9(][^"]*\)"/>@<skos:scopeNote rdf:datatype="http://udcdata.info/UDCnotation">\1</skos:scopeNote>@')
line=$(echo $line | sed 's@<skos:relatedMatch rdf:resource="http://www.udcc.org/\([0-9(][^"]*\)"/>@<skos:relatedMatch rdf:datatype="http://udcdata.info/UDCnotation">\1</skos:relatedMatch>@')
# SISO - custom notatoion datatype URI
#line=$(echo $line | sed 's@<skos:relatedMatch rdf:resource="http://www.biblion.nl/siso/\([0-9(][^"]*\)"/>@<skos:scopeNote rdf:datatype="http://www.wikidata.org/entity/Q2582270">\1</skos:scopeNote>@')
#line=$(echo $line | sed 's@<skos:relatedMatch rdf:resource="http://www.biblion.nl/siso/\([0-9(][^"]*\)"/>@<skos:scopeNote rdf:datatype="http://www.nbdbiblion.nl/SISO">\1</skos:scopeNote>@')
line=$(echo $line | sed 's@<skos:relatedMatch rdf:resource="http://www.biblion.nl/siso/\([0-9(][^"]*\)"/>@<skos:relatedMatch rdf:datatype="http://www.nbdbiblion.nl/SISO">\1</skos:relatedMatch>@')
and the other scripts. Am I wrong?

@bencomp
Copy link
Author

bencomp commented Oct 26, 2021

I'm actually not sure what the better way of representing related concepts is here. I can't easily find RDF resources representing the topics. How do you think about introducing blank skos:Concept nodes with skos:notation values, @renevoorburg?

<skos:relatedMatch>
  <skos:Concept>
    <skos:notation rdf:datatype="http://www.nbdbiblion.nl/SISO">12345</skos:notation>
  </skos:Concept>
</skos:relatedMatch>

@renevoorburg
Copy link
Owner

renevoorburg commented Oct 26, 2021 via email

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

No branches or pull requests

2 participants