Skip to content

Instantly share code, notes, and snippets.

@niklasl
Created October 7, 2016 12:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save niklasl/72e63e8014596fa3a66dea42c6106739 to your computer and use it in GitHub Desktop.
Save niklasl/72e63e8014596fa3a66dea42c6106739 to your computer and use it in GitHub Desktop.
Just an OWL sketch for possibly inferring some BibFrame details from other details...
prefix : <http://www.w3.org/2002/07/owl#>
prefix bf: <http://id.loc.gov/ontologies/bibframe/>
prefix kbv: <https://id.kb.se/vocab/>
prefix marcrel: <http://id.loc.gov/vocabulary/relators/>
kbv:IllustratedText a :Class;
:equivalentClass [
:intersectionOf (
bf:Text
[ a :Restriction;
:onProperty bf:hasPart;
:minCardinality 1;
:someValuesFrom bf:StillImage ]
) ;
],
[
:subClassOf [ a :Restriction;
:onProperty bf:illustrativeContent;
:minCardinality 1 ],
[ a :Restriction;
:onProperty bf:contribution;
:minCardinality 1;
:someValuesFrom [ a :Restriction;
:onProperty bf:role;
:hasValue marcrel:ill ]
]
] .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment