-
Notifications
You must be signed in to change notification settings - Fork 2
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
Wrap everything in lime:Lexicon with some DublinCore terms #16
base: master
Are you sure you want to change the base?
Conversation
Stylesheet/TEI2Ontolex.xsl
Outdated
<xsl:apply-templates select="descendant::tei:title[text()]"/> | ||
<xsl:apply-templates select="descendant::tei:author[text()]"/> | ||
<xsl:apply-templates select="descendant::tei:date[text() | @when]"/> | ||
<xsl:apply-templates select="descendant::tei:publisher[text()]"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Templates for these have already been defined below, above the new licence
template.
Seems good from an OntoLex perspective. If @laurentromary is happy with this, we can merge. |
No problem apart the comments I made. Who is @kernc, BTW? |
Just a passer by making sure language technologies are up to speed. 😝 From Lemon-Lime perspective, the Lexicon seems to be missing a further language: <owl:Restriction>
<owl:onProperty rdf:resource="http://www.w3.org/ns/lemon/lime#language"/>
<owl:cardinality rdf:datatype="http://www.w3.org/2001/XMLSchema#nonNegativeInteger">1</owl:cardinality>
</owl:Restriction> But unsure how to construct it, I just left it out. 😅 Updated the changed tests. |
The prior version had issues. 😅 The DC terms transformation has now been amended to take into account only nodes in Priorly, I rebuilt the tests with a simple call to There are additional Lexicon properties I'd like to extract, namely |
Using `.` just used the full node, not taking @attr preferentially.
I'd expect some basic original dictionary metadata to persist the transformation.
I absolutely have no idea what I'm doing, and this is my first XSLT ever, so please kindly advise.