text.oml 736 B

123456789101112131415161718192021222324252627282930
  1. vocabulary <http://ontology.rys.one/drivetrain/vocabulary/text#> as text {
  2. extends <http://www.w3.org/2001/XMLSchema#> as xsd
  3. extends <http://purl.org/dc/elements/1.1/> as dc
  4. extends <http://www.w3.org/2000/01/rdf-schema#> as rdfs
  5. extends <http://ontology.rys.one/drivetrain/vocabulary/file#> as file
  6. concept TextData :> file:Data, file:File
  7. concept TextLine :> file:Data
  8. scalar property isOnLine [
  9. domain TextLine
  10. range xsd:int
  11. functional
  12. ]
  13. scalar property holdsTextData [
  14. domain TextLine
  15. range xsd:string
  16. ]
  17. relation entity HasTextLine [
  18. from TextData
  19. to TextLine
  20. forward hasTextLine
  21. reverse isInTextFile
  22. ]
  23. }