|
4 | 4 | @prefix skos: <http://www.w3.org/2004/02/skos/core#> . |
5 | 5 | @prefix : <https://id.kb.se/vocab/> . |
6 | 6 | @prefix bibdb: <https://id.kb.se/ns/bibdb/> . |
7 | | - |
8 | 7 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
9 | 8 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 9 | +@prefix ls: <https://id.kb.se/ns/librissearch/> . |
10 | 10 |
|
11 | | -:LibrisQueryCode a rdfs:Datatype . |
12 | | - |
13 | | -:author a owl:ObjectProperty ; |
14 | | - rdfs:label "författare"@sv, "author"@en ; |
15 | | - :category :shorthand, :pending ; |
16 | | - owl:equivalentProperty <https://id.kb.se/relator/author> ; |
17 | | - rdfs:subPropertyOf :contributor ; |
18 | | - rdfs:range :Agent ; |
19 | | - skos:notation "FÖRF"^^:LibrisQueryCode ; |
20 | | - owl:propertyChainAxiom ( |
21 | | - [ rdfs:subPropertyOf :contribution ; rdfs:range [ rdfs:subClassOf [ a owl:Restriction ; |
22 | | - owl:onProperty :role ; |
23 | | - owl:hasValue <https://id.kb.se/relator/author> ] ] ] |
24 | | - :agent |
25 | | - ) . |
| 11 | +### Extended definitions for Libris Search ### |
26 | 12 |
|
27 | 13 | :isbn rdfs:domain :Instance . # See ./details.ttl for full definition of :isbn |
28 | 14 |
|
29 | 15 | :yearPublished rdfs:label "utgivningsår"@sv, "year of publication"@en ; # See ./details.ttl for full definition of :yearPublished |
30 | 16 | rdfs:domain :Instance ; |
31 | | - skos:notation "ÅR"^^:LibrisQueryCode . |
| 17 | + skos:notation "ÅR"^^ls:QueryCode . |
| 18 | + |
| 19 | +:language skos:notation "SPRÅK"^^ls:QueryCode . # See ./relations.ttl for full definition of :language |
| 20 | + |
| 21 | +:controlNumber skos:notation "ONR"^^ls:QueryCode . # See ./platform.ttl for full definition of :controlNumber |
| 22 | + |
| 23 | +#:hasTitle rdfs:subPropertyOf ls:someTitle . # See ./details.ttl for full definition of :hasTitle |
| 24 | + |
32 | 25 |
|
33 | | -:language skos:notation "SPRÅK"^^:LibrisQueryCode . # See ./relations.ttl for full definition of :language |
| 26 | +### New definitions for Libris Search ### |
34 | 27 |
|
35 | | -:controlNumber skos:notation "ONR"^^:LibrisQueryCode . # See ./platform.ttl for full definition of :controlNumber |
| 28 | +ls:QueryCode a rdfs:Datatype . |
36 | 29 |
|
37 | | -:itemHeldBy a owl:ObjectProperty ; |
| 30 | +ls:composite a skos:Collection ; |
| 31 | + rdfs:label "composite"@en, "sammansatt"@sv ; |
| 32 | + :code "composite" . |
| 33 | + |
| 34 | +ls:itemHeldBy a owl:ObjectProperty ; |
38 | 35 | rdfs:label "Bibliotek"@sv, "Library"@en ; |
39 | 36 | :category :shorthand, :pending ; |
40 | 37 | rdfs:domain :Instance ; |
41 | 38 | sdo:rangeIncludes :Library ; |
42 | 39 | owl:propertyChainAxiom ( :hasItem :heldBy ) . |
43 | 40 |
|
44 | | -:itemHeldByOrg a owl:ObjectProperty ; |
| 41 | +ls:itemHeldByOrg a owl:ObjectProperty ; |
45 | 42 | rdfs:label "Biblioteksorganisation"@sv, "Library organization"@en ; |
46 | | - skos:notation "OCODE"^^:LibrisQueryCode ; |
| 43 | + skos:notation "OCODE"^^ls:QueryCode ; |
47 | 44 | :category :shorthand, :pending ; |
48 | 45 | rdfs:domain :Instance ; |
49 | 46 | sdo:rangeIncludes bibdb:Organization ; |
50 | 47 | owl:propertyChainAxiom ( :hasItem :heldBy :isPartOf ) . |
51 | 48 |
|
52 | | -:instanceOfType a owl:ObjectProperty ; |
| 49 | +ls:instanceOfType a owl:ObjectProperty ; |
53 | 50 | :category :shorthand, :pending ; |
54 | 51 | rdfs:domain :Instance ; |
55 | 52 | owl:propertyChainAxiom ( :instanceOf rdf:type ) . |
56 | 53 |
|
57 | | -:hasInstanceType a owl:ObjectProperty ; |
| 54 | +ls:hasInstanceType a owl:ObjectProperty ; |
58 | 55 | rdfs:label "format"@sv, "format"@en ; |
59 | | - skos:notation "FORMAT"^^:LibrisQueryCode ; |
60 | 56 | :category :shorthand, :pending ; |
61 | 57 | rdfs:domain :Work ; |
62 | 58 | owl:propertyChainAxiom ( :hasInstance rdf:type ) . |
63 | 59 |
|
64 | | -:instanceOfCategory a owl:ObjectProperty ; |
| 60 | +ls:instanceOfCategory a owl:ObjectProperty ; |
65 | 61 | rdfs:label "kategori på verket"@sv, "category of work"@en ; |
66 | 62 | :category :shorthand, :pending ; |
67 | 63 | rdfs:domain :Instance ; |
68 | 64 | owl:propertyChainAxiom ( :instanceOf :category ) . |
69 | 65 |
|
70 | | -:hasInstanceCategory a owl:ObjectProperty ; |
| 66 | +ls:hasInstanceCategory a owl:ObjectProperty ; |
71 | 67 | rdfs:label "kategori"@sv, "category"@en ; |
72 | 68 | :category :shorthand, :pending ; |
73 | 69 | rdfs:domain :Work ; |
74 | 70 | owl:propertyChainAxiom ( :hasInstance :category ) . |
75 | 71 |
|
76 | | -:originalLanguage a owl:ObjectProperty ; |
| 72 | +ls:originalLanguage a owl:ObjectProperty ; |
77 | 73 | rdfs:label "originalspråk"@sv, "original language"@en ; |
78 | 74 | :category :shorthand, :pending ; |
79 | 75 | rdfs:domain :Work ; |
80 | 76 | rdfs:range :Language ; |
81 | 77 | owl:propertyChainAxiom ( :translationOf :language ) . |
| 78 | + |
| 79 | +ls:indexKey a :DatatypeProperty . |
| 80 | + |
| 81 | +ls:findCategory a :ObjectProperty ; |
| 82 | + rdfs:subPropertyOf :category ; |
| 83 | + rdfs:range [ rdfs:subClassOf [ a owl:Restriction ; owl:onProperty :inCollection ; owl:hasValue <https://id.kb.se/term/div/find> ] ] ; |
| 84 | + ls:indexKey "_categoryByCollection.find" . |
| 85 | + |
| 86 | +ls:identifyCategory a :ObjectProperty ; |
| 87 | + rdfs:subPropertyOf :category ; |
| 88 | + rdfs:range [ rdfs:subClassOf [ a owl:Restriction ; owl:onProperty :inCollection ; owl:hasValue <https://id.kb.se/term/div/identify> ] ] ; |
| 89 | + ls:indexKey "_categoryByCollection.identify" . |
| 90 | + |
| 91 | +ls:noneCategory a :ObjectProperty ; |
| 92 | + rdfs:subPropertyOf :category ; |
| 93 | + ls:indexKey "_categoryByCollection.@none" . |
| 94 | + |
| 95 | +#ls:someTitle a owl:ObjectProperty ; |
| 96 | +# :category ls:composite, :shorthand ; |
| 97 | +# skos:notation "TIT"^^ls:QueryCode ; |
| 98 | +# owl:propertyChainAxiom ( :translationOf :hasTitle ), |
| 99 | +# ( :seriesMembership :inSeries :instanceOf :hasTitle ), |
| 100 | +# ( :relationship :entity :hasTitle ) . |
| 101 | + |
| 102 | +#:author a owl:ObjectProperty ; |
| 103 | +# rdfs:label "författare"@sv, "author"@en ; |
| 104 | +# :category :shorthand, :pending ; |
| 105 | +# owl:equivalentProperty <https://id.kb.se/relator/author> ; |
| 106 | +# rdfs:subPropertyOf :contributor ; |
| 107 | +# rdfs:range :Agent ; |
| 108 | +# skos:notation "FÖRF"^^ls:QueryCode ; |
| 109 | +# owl:propertyChainAxiom ( |
| 110 | +# [ rdfs:subPropertyOf :contribution ; rdfs:range [ rdfs:subClassOf [ a owl:Restriction ; |
| 111 | +# owl:onProperty :role ; |
| 112 | +# owl:hasValue <https://id.kb.se/relator/author> ] ] ] |
| 113 | +# :agent |
| 114 | +# ) . |
0 commit comments