diff --git a/.gitignore b/.gitignore index a9892cc56e..733b0e2c1e 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,8 @@ dependencies.txt /client-test-data.zip /sipi/images/082E/* /sipi/images/originals/082E/* +sipi/images/1111/* +sipi/images/originals/1111/* /dependencies.bzl .idea/ diff --git a/docker-compose.yml b/docker-compose.yml index 31572cb013..329fe058e3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,7 +31,7 @@ services: environment: - TZ=Europe/Zurich - SIPI_EXTERNAL_PROTOCOL=http - - SIPI_EXTERNAL_HOSTNAME=localhost + - SIPI_EXTERNAL_HOSTNAME=0.0.0.0 - SIPI_EXTERNAL_PORT=1024 - SIPI_WEBAPI_HOSTNAME=api - SIPI_WEBAPI_PORT=3333 diff --git a/knora-ontologies/knora-base.ttl b/knora-ontologies/knora-base.ttl index 8302a5a7a3..48fb6b2597 100644 --- a/knora-ontologies/knora-base.ttl +++ b/knora-ontologies/knora-base.ttl @@ -1195,11 +1195,9 @@ :fps rdf:type owl:DatatypeProperty ; - rdfs:label "Frames per second"@en ; - rdfs:subPropertyOf :valueHas ; - :subjectClassConstraint :MovingImageFileValue ; + :subjectClassConstraint :FileValue ; :objectDatatypeConstraint xsd:decimal . @@ -2183,23 +2181,7 @@ :MovingImageFileValue rdf:type owl:Class ; - rdfs:subClassOf :FileValue , - [ rdf:type owl:Restriction ; - owl:onProperty :dimX ; - owl:cardinality "1"^^xsd:nonNegativeInteger - ] , - [ rdf:type owl:Restriction ; - owl:onProperty :dimY ; - owl:cardinality "1"^^xsd:nonNegativeInteger - ] , - [ rdf:type owl:Restriction ; - owl:onProperty :fps ; - owl:maxCardinality "1"^^xsd:nonNegativeInteger - ] , - [ rdf:type owl:Restriction ; - owl:onProperty :duration ; - owl:maxCardinality "1"^^xsd:nonNegativeInteger - ] ; + rdfs:subClassOf :FileValue ; rdfs:comment "Represents a moving image file"@en . diff --git a/project/Dependencies.scala b/project/Dependencies.scala index 76d450f63f..328292f4ad 100644 --- a/project/Dependencies.scala +++ b/project/Dependencies.scala @@ -9,14 +9,16 @@ import sbt.Keys._ import sbt.{Def, _} object Dependencies { + + val fusekiImage = "daschswiss/apache-jena-fuseki:2.0.8" // should be the same version as in docker-compose.yml + val sipiImage = "daschswiss/sipi:3.5.0" // base image the knora-sipi image is created from + // versions val akkaHttpVersion = "10.2.9" val akkaVersion = "2.6.19" - val fusekiImage = "daschswiss/apache-jena-fuseki:2.0.8" // should be the same version as in docker-compose.yml val jenaVersion = "4.4.0" val metricsVersion = "4.0.1" val scalaVersion = "2.13.8" - val sipiImage = "daschswiss/sipi:3.3.4" // base image the knora-sipi image is created from val ZioHttpVersion = "2.0.0-RC3" val ZioPreludeVersion = "1.0.0-RC10" val ZioVersion = "2.0.0-RC2" diff --git a/sipi/scripts/export-moving-image-frames.sh b/sipi/scripts/export-moving-image-frames.sh new file mode 100755 index 0000000000..7bef150de6 --- /dev/null +++ b/sipi/scripts/export-moving-image-frames.sh @@ -0,0 +1,213 @@ +#!/bin/bash + +# Export moving image frames for preview in search results and on timeline +# Extract frames from mp4 file: +# - 6 frames per minute +# Create matrix file: +# - max. 36 frames per matrix +# - one matrix file corresponds to 6 minutes of film + +set -e + +dir=$(pwd) +sep='---------------------------------' + +die() { + echo >&2 "$@" + exit 1 +} + +usage() { + echo "usage: -i [infile]>" + echo ${sep} + echo "-i = Inpute file" + echo ${sep} +} + +collect() { + film='' + cnt=1 + #for b in `ls`; do + for file in *.$1; do + [ -f ${file} ] + name=$2 + + for c in ${cnt}; do + if [ "$film" == '' ] || [ "$film" == 'VIDEO_TS.VOB' ]; then + film=${file} + else + case $3 in + true) film="$film|$file" ;; + esac + fi + done + cnt=$(expr ${cnt} + 1) + done + needle="|" + num=$(grep -o "$needle" <<<"$film" | wc -l) + num=$(expr ${num} + 1) +} + +# default variables +infile='' + +# alternative to get some information from the source file: +# ffprobe -v quiet -print_format json -show_format -show_streams ~/sourceFile.mov + +while getopts ':i:' OPTION; do + case ${OPTION} in + i) infile=$OPTARG ;; + *) echo 'Unknown Parameter' ;; + esac +done + +if [ $# -eq 0 ]; then + usage + die '' +fi + +# check the arguments: if they exist +num='^[0-9]+$' + +# infile must be given and has to be an mp4 +if [ -z "${infile}" ]; then + # must be given + usage + die "ERROR: The Input File (-i) is missing" +fi + +# check if mime-type is video/mp4 +if file -b --mime-type "${infile}" -ne "video/mp4"; then + die "ERROR: The Input File (-i) is not mp4" +fi + +# get the right output path, the file and the filename (without extension) +dir=$(dirname "${infile}") +file=$(basename "${infile}") +name="${file%.*}" + +cd $dir + +# -- +# store the frames and matrix files in specific folder; +# folder has same unique name as the uploaded file +mkdir -p $name +cd $name + +# -- +# read frame rate from input file +framerate=$(ffprobe -v 0 -of csv=p=0 -select_streams v:0 -show_entries stream=r_frame_rate ../"${file}") + +IFS="/" read -a array <<<"$framerate" +numerator="${array[0]}" +denumerator="${array[1]}" + +fps=$(expr "scale=2;${numerator}/${denumerator}" | bc) + +# -- +# read aspect ratio from input file +aspect=$(ffprobe -v error -select_streams v:0 -show_entries stream=display_aspect_ratio -of csv=s=x:p=0 ../"${file}") + +echo $aspect + +# -- +# split the aspect ratio to have two separated numbers for calculating +IFS=':' read -a array <<<"$aspect" +aspectW="${array[0]}" +aspectH="${array[1]}" + +# -- +# framesize +framewidth='256' +frameheight=$(($framewidth * $aspectH / $aspectW)) +framesize=${framewidth}'x'${frameheight} + +echo ${sep} +echo 'Start with frame export' +# check the outpath for the frames; +# if exists, delete it and create new +if [ -d "frames" ]; then + rm -rf ./frames +fi +mkdir -p 'frames' + +framestart=$(echo ${start} + 1 | bc) +ffmpeg -i ../${file} -an -ss 1 -f image2 -s ${framesize} -vf framestep=${fps} frames/${name}'_f_%d.jpg' 2>&1 + +echo 'Done' +echo ${sep} + +# -- +# create the matrix files +echo 'Start with creating matrix file' + +# change directory frames +cd frames +# Get the number of files: one image = one second of movie +# numfiles is equivalent to the movie duration (in seconds) +numfiles=(*) +numfiles=${#numfiles[@]} + +image="${name}_f_1.jpg" + +# check if file exists +if [[ ! -f "${image}" ]]; then + die "File not found: ${image}" +fi + +# grab the identify string, make sure it succeeded +# IMG_CHARS=$(identify "${image}" 2> /dev/null) || die "${image} is not a proper image" +# grab width and height +IMG_CHARS=$(echo "${IMG_CHARS}" | sed -n 's/\(^.*\)\ \([0-9]*\)x\([0-9]*\)\ \(.*$\)/\2 \3/p') + +width=$(echo "${IMG_CHARS}" | awk '{print $1}') +height=$(echo "${IMG_CHARS}" | awk '{print $2}') + +ar=$(echo "scale=6; ${width}/${height}" | bc) +# width for the whole output matrix image: 960px +# so one preview image has a width of 160px +# calculate the height for the output matrix image form the aspect ratio +matrix_width="960" +matrix_height=$(echo "scale=0; ${matrix_width}/${ar}" | bc) +matrix_size="${matrix_width}x${matrix_height}" + +frame_width="160" +frame_height=$(echo "scale=0; ${matrix_height}/6" | bc) +frame_size="${frame_width}x${frame_height}" +# get every 10th image; start with the image number 5; +# how many matrixes will it produce? +calcmatrix=$(echo "scale=4; (${numfiles}/10)/36" | bc) +echo '#Matrix (calculated) '${calcmatrix} +nummatrix=$(echo ${calcmatrix} | awk '{printf("%.0f\n",$1 + 0.75)}') +echo '#Matrix (rounded) '${nummatrix} + +t=0 +while [ ${t} -lt ${nummatrix} ]; do + echo 'Matrix nr '${t} + firstframe=$(echo "scale=0; ${t}*360+5" | bc) + MATRIX=$(find *_${firstframe}.jpg)' ' + + c=1 + while [ ${c} -lt 36 ]; do + sec=$(echo "scale=0; ${firstframe}+(${c}*10)" | bc) + if [ $sec -lt $numfiles ]; then + img="${name}_f_${sec}.jpg" + if [ -f ${img} ]; then + MATRIX+=${img}' ' + fi + fi + + let c=c+1 + done + + # here we make the montage of every matrix file + # montage -size 320x180 DB_4_5.jpg DB_4_15.jpg DB_4_25.jpg DB_4_35.jpg -geometry +0+0 montage1.jpg + # $(echo "montage -size ${matrix_size} ${MATRIX} -tile 6x6 -geometry +0+0 -resize ${frame_size} ../matrix/${name}'_m_'${t}'.jpg'") + montage -size ${matrix_size} ${MATRIX} -tile 6x6 -geometry +0+0 -resize ${frame_size} ../${name}'_m_'${t}'.jpg' 2>&1 + + let t=t+1 + +done + +echo 'Done' +echo ${sep} diff --git a/sipi/scripts/file_info.lua b/sipi/scripts/file_info.lua index a206bc931d..940089c0b9 100644 --- a/sipi/scripts/file_info.lua +++ b/sipi/scripts/file_info.lua @@ -144,10 +144,14 @@ function make_audio_file_info(extension) end function make_video_file_info(extension) - return { - media_type = VIDEO, - extension = extension - } + if not table.contains(video_extensions, extension) then + return nil + else + return { + media_type = VIDEO, + extension = extension + } + end end function make_text_file_info(extension) diff --git a/sipi/scripts/json.lua b/sipi/scripts/json.lua new file mode 100644 index 0000000000..711ef78619 --- /dev/null +++ b/sipi/scripts/json.lua @@ -0,0 +1,388 @@ +-- +-- json.lua +-- +-- Copyright (c) 2020 rxi +-- +-- Permission is hereby granted, free of charge, to any person obtaining a copy of +-- this software and associated documentation files (the "Software"), to deal in +-- the Software without restriction, including without limitation the rights to +-- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +-- of the Software, and to permit persons to whom the Software is furnished to do +-- so, subject to the following conditions: +-- +-- The above copyright notice and this permission notice shall be included in all +-- copies or substantial portions of the Software. +-- +-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +-- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +-- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +-- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +-- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +-- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +-- SOFTWARE. +-- + +local json = { _version = "0.1.2" } + +------------------------------------------------------------------------------- +-- Encode +------------------------------------------------------------------------------- + +local encode + +local escape_char_map = { + [ "\\" ] = "\\", + [ "\"" ] = "\"", + [ "\b" ] = "b", + [ "\f" ] = "f", + [ "\n" ] = "n", + [ "\r" ] = "r", + [ "\t" ] = "t", +} + +local escape_char_map_inv = { [ "/" ] = "/" } +for k, v in pairs(escape_char_map) do + escape_char_map_inv[v] = k +end + + +local function escape_char(c) + return "\\" .. (escape_char_map[c] or string.format("u%04x", c:byte())) +end + + +local function encode_nil(val) + return "null" +end + + +local function encode_table(val, stack) + local res = {} + stack = stack or {} + + -- Circular reference? + if stack[val] then error("circular reference") end + + stack[val] = true + + if rawget(val, 1) ~= nil or next(val) == nil then + -- Treat as array -- check keys are valid and it is not sparse + local n = 0 + for k in pairs(val) do + if type(k) ~= "number" then + error("invalid table: mixed or invalid key types") + end + n = n + 1 + end + if n ~= #val then + error("invalid table: sparse array") + end + -- Encode + for i, v in ipairs(val) do + table.insert(res, encode(v, stack)) + end + stack[val] = nil + return "[" .. table.concat(res, ",") .. "]" + + else + -- Treat as an object + for k, v in pairs(val) do + if type(k) ~= "string" then + error("invalid table: mixed or invalid key types") + end + table.insert(res, encode(k, stack) .. ":" .. encode(v, stack)) + end + stack[val] = nil + return "{" .. table.concat(res, ",") .. "}" + end +end + + +local function encode_string(val) + return '"' .. val:gsub('[%z\1-\31\\"]', escape_char) .. '"' +end + + +local function encode_number(val) + -- Check for NaN, -inf and inf + if val ~= val or val <= -math.huge or val >= math.huge then + error("unexpected number value '" .. tostring(val) .. "'") + end + return string.format("%.14g", val) +end + + +local type_func_map = { + [ "nil" ] = encode_nil, + [ "table" ] = encode_table, + [ "string" ] = encode_string, + [ "number" ] = encode_number, + [ "boolean" ] = tostring, +} + + +encode = function(val, stack) + local t = type(val) + local f = type_func_map[t] + if f then + return f(val, stack) + end + error("unexpected type '" .. t .. "'") +end + + +function json.encode(val) + return ( encode(val) ) +end + + +------------------------------------------------------------------------------- +-- Decode +------------------------------------------------------------------------------- + +local parse + +local function create_set(...) + local res = {} + for i = 1, select("#", ...) do + res[ select(i, ...) ] = true + end + return res +end + +local space_chars = create_set(" ", "\t", "\r", "\n") +local delim_chars = create_set(" ", "\t", "\r", "\n", "]", "}", ",") +local escape_chars = create_set("\\", "/", '"', "b", "f", "n", "r", "t", "u") +local literals = create_set("true", "false", "null") + +local literal_map = { + [ "true" ] = true, + [ "false" ] = false, + [ "null" ] = nil, +} + + +local function next_char(str, idx, set, negate) + for i = idx, #str do + if set[str:sub(i, i)] ~= negate then + return i + end + end + return #str + 1 +end + + +local function decode_error(str, idx, msg) + local line_count = 1 + local col_count = 1 + for i = 1, idx - 1 do + col_count = col_count + 1 + if str:sub(i, i) == "\n" then + line_count = line_count + 1 + col_count = 1 + end + end + error( string.format("%s at line %d col %d", msg, line_count, col_count) ) +end + + +local function codepoint_to_utf8(n) + -- http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=iws-appendixa + local f = math.floor + if n <= 0x7f then + return string.char(n) + elseif n <= 0x7ff then + return string.char(f(n / 64) + 192, n % 64 + 128) + elseif n <= 0xffff then + return string.char(f(n / 4096) + 224, f(n % 4096 / 64) + 128, n % 64 + 128) + elseif n <= 0x10ffff then + return string.char(f(n / 262144) + 240, f(n % 262144 / 4096) + 128, + f(n % 4096 / 64) + 128, n % 64 + 128) + end + error( string.format("invalid unicode codepoint '%x'", n) ) +end + + +local function parse_unicode_escape(s) + local n1 = tonumber( s:sub(1, 4), 16 ) + local n2 = tonumber( s:sub(7, 10), 16 ) + -- Surrogate pair? + if n2 then + return codepoint_to_utf8((n1 - 0xd800) * 0x400 + (n2 - 0xdc00) + 0x10000) + else + return codepoint_to_utf8(n1) + end +end + + +local function parse_string(str, i) + local res = "" + local j = i + 1 + local k = j + + while j <= #str do + local x = str:byte(j) + + if x < 32 then + decode_error(str, j, "control character in string") + + elseif x == 92 then -- `\`: Escape + res = res .. str:sub(k, j - 1) + j = j + 1 + local c = str:sub(j, j) + if c == "u" then + local hex = str:match("^[dD][89aAbB]%x%x\\u%x%x%x%x", j + 1) + or str:match("^%x%x%x%x", j + 1) + or decode_error(str, j - 1, "invalid unicode escape in string") + res = res .. parse_unicode_escape(hex) + j = j + #hex + else + if not escape_chars[c] then + decode_error(str, j - 1, "invalid escape char '" .. c .. "' in string") + end + res = res .. escape_char_map_inv[c] + end + k = j + 1 + + elseif x == 34 then -- `"`: End of string + res = res .. str:sub(k, j - 1) + return res, j + 1 + end + + j = j + 1 + end + + decode_error(str, i, "expected closing quote for string") +end + + +local function parse_number(str, i) + local x = next_char(str, i, delim_chars) + local s = str:sub(i, x - 1) + local n = tonumber(s) + if not n then + decode_error(str, i, "invalid number '" .. s .. "'") + end + return n, x +end + + +local function parse_literal(str, i) + local x = next_char(str, i, delim_chars) + local word = str:sub(i, x - 1) + if not literals[word] then + decode_error(str, i, "invalid literal '" .. word .. "'") + end + return literal_map[word], x +end + + +local function parse_array(str, i) + local res = {} + local n = 1 + i = i + 1 + while 1 do + local x + i = next_char(str, i, space_chars, true) + -- Empty / end of array? + if str:sub(i, i) == "]" then + i = i + 1 + break + end + -- Read token + x, i = parse(str, i) + res[n] = x + n = n + 1 + -- Next token + i = next_char(str, i, space_chars, true) + local chr = str:sub(i, i) + i = i + 1 + if chr == "]" then break end + if chr ~= "," then decode_error(str, i, "expected ']' or ','") end + end + return res, i +end + + +local function parse_object(str, i) + local res = {} + i = i + 1 + while 1 do + local key, val + i = next_char(str, i, space_chars, true) + -- Empty / end of object? + if str:sub(i, i) == "}" then + i = i + 1 + break + end + -- Read key + if str:sub(i, i) ~= '"' then + decode_error(str, i, "expected string for key") + end + key, i = parse(str, i) + -- Read ':' delimiter + i = next_char(str, i, space_chars, true) + if str:sub(i, i) ~= ":" then + decode_error(str, i, "expected ':' after key") + end + i = next_char(str, i + 1, space_chars, true) + -- Read value + val, i = parse(str, i) + -- Set + res[key] = val + -- Next token + i = next_char(str, i, space_chars, true) + local chr = str:sub(i, i) + i = i + 1 + if chr == "}" then break end + if chr ~= "," then decode_error(str, i, "expected '}' or ','") end + end + return res, i +end + + +local char_func_map = { + [ '"' ] = parse_string, + [ "0" ] = parse_number, + [ "1" ] = parse_number, + [ "2" ] = parse_number, + [ "3" ] = parse_number, + [ "4" ] = parse_number, + [ "5" ] = parse_number, + [ "6" ] = parse_number, + [ "7" ] = parse_number, + [ "8" ] = parse_number, + [ "9" ] = parse_number, + [ "-" ] = parse_number, + [ "t" ] = parse_literal, + [ "f" ] = parse_literal, + [ "n" ] = parse_literal, + [ "[" ] = parse_array, + [ "{" ] = parse_object, +} + + +parse = function(str, idx) + local chr = str:sub(idx, idx) + local f = char_func_map[chr] + if f then + return f(str, idx) + end + decode_error(str, idx, "unexpected character '" .. chr .. "'") +end + + +function json.decode(str) + if type(str) ~= "string" then + error("expected argument of type string, got " .. type(str)) + end + local res, idx = parse(str, next_char(str, 1, space_chars, true)) + idx = next_char(str, idx, space_chars, true) + if idx <= #str then + decode_error(str, idx, "trailing garbage") + end + return res +end + + +return json diff --git a/sipi/scripts/store.lua b/sipi/scripts/store.lua index 9190ad5b5f..a315f09877 100644 --- a/sipi/scripts/store.lua +++ b/sipi/scripts/store.lua @@ -154,7 +154,6 @@ if prefix ~= token_prefix then return end - -- Check that original file storage directory exists local originals_dir = config.imgroot .. "/originals/" .. prefix .. "/" success, msg = check_create_dir(config.imgroot .. "/originals/") @@ -236,6 +235,7 @@ if not success then send_error(500, msg) return end + local hashed_sidecar = get_file_basename(hashed_filename) .. ".info" local source_sidecar = config.imgroot .. "/tmp/" .. hashed_sidecar success, readable = server.fs.is_readable(source_sidecar) @@ -243,8 +243,9 @@ if not success then send_error(500, "server.fs.is_readable() failed: " .. readable) return end + if readable then - -- first we read the file into a string + -- read the sidecar file into a string local f = io.open(source_sidecar) local jsonstr = f:read("*a") f:close() @@ -262,7 +263,7 @@ if readable then return end - -- copy sidecar file to originals directory + -- move sidecar file to originals directory local destination2_sidecar = originals_dir .. hashed_sidecar success, error_msg = server.fs.moveFile(source_sidecar, destination2_sidecar) if not success then @@ -279,10 +280,17 @@ if readable then return end -end - + -- in case of a moving image, we have to extract the frames from video file; they will be used for preview stuff + if sidecar["duration"] and sidecar["fps"] then + success, error_msg = os.execute("./scripts/export-moving-image-frames.sh -i " .. storage_dir .. sidecar["internalFilename"]) + if not success then + send_error(500, "export-moving-image-frames.sh failed: " .. error_msg) + return + end + end -server.log("store.lua: moved " .. source_path .. " to " .. destination_path, server.loglevel.LOG_DEBUG) + server.log("store.lua: moved file " .. source_path .. " to " .. destination_path, server.loglevel.LOG_DEBUG) +end local result = { status = 0 diff --git a/sipi/scripts/upload.lua b/sipi/scripts/upload.lua index 05e313c465..952f62e184 100644 --- a/sipi/scripts/upload.lua +++ b/sipi/scripts/upload.lua @@ -10,6 +10,7 @@ require "send_response" require "jwt" require "clean_temp_dir" require "util" +local json = require "json" -------------------------------------------------------------------------- -- Calculate the SHA256 checksum of a file using the operating system tool @@ -22,7 +23,6 @@ function file_checksum(path) end -------------------------------------------------------------------------- - -- Buffer the response (helps with error handling). local success, error_msg success, error_msg = server.setBuffer() @@ -59,6 +59,9 @@ end -- A table of data about each file that was uploaded. local file_upload_data = {} +-- additional sidecar data in case of video or audio (e.g. duration) +local additional_sidecar_data = {} + -- Process the uploaded files. for file_index, file_params in pairs(server.uploads) do -- @@ -67,12 +70,12 @@ for file_index, file_params in pairs(server.uploads) do local mime_info success, mime_info = server.file_mimetype(file_index) if not success then - send_error(500, "server.file_mimetype() failed: " .. tostring(mime_info)) + send_error(415, "server.file_mimetype() failed: " .. tostring(mime_info)) return end local mime_type = mime_info["mimetype"] if mime_type == nil then - send_error(400, "Could not determine MIME type of uploaded file") + send_error(415, "Could not determine MIME type of uploaded file") return end @@ -81,8 +84,9 @@ for file_index, file_params in pairs(server.uploads) do -- local original_filename = file_params["origname"] local file_info = get_file_info(original_filename, mime_type) + if file_info == nil then - send_error(400, "Unsupported MIME type: " .. tostring(mime_type)) + send_error(415, "Unsupported MIME type: " .. tostring(mime_type)) return end @@ -176,8 +180,18 @@ for file_index, file_params in pairs(server.uploads) do return end server.log("upload.lua: wrote image file to " .. tmp_storage_file_path, server.loglevel.LOG_DEBUG) + + -- Is this a video file? + elseif media_type == VIDEO then + success, error_msg = server.copyTmpfile(file_index, tmp_storage_file_path) + if not success then + send_error(500, "server.copyTmpfile() failed for " .. tostring(tmp_storage_file_path) .. ": " .. tostring(error_msg)) + return + end + server.log("upload.lua: wrote video file to " .. tmp_storage_file_path, server.loglevel.LOG_DEBUG) + else - -- It's not an image file. Just move it to its temporary storage location. + -- It's neither an image nor a video file. Move it to its temporary storage location. success, error_msg = server.copyTmpfile(file_index, tmp_storage_file_path) if not success then send_error(500, "server.copyTmpfile() failed for " .. tostring(tmp_storage_file_path) .. ": " .. tostring(error_msg)) @@ -199,19 +213,77 @@ for file_index, file_params in pairs(server.uploads) do -- -- prepare and write sidecar file -- - local sidecar_data = { - originalFilename = original_filename, - checksumOriginal = checksum_original, - originalInternalFilename = hashed_tmp_storage_original, - internalFilename = tmp_storage_filename, - checksumDerivative = checksum_derivative - } + local sidecar_data = {} + + if media_type == VIDEO then + + local handle + -- get video file information with ffprobe: width, height, duration and frame rate (fps) + handle = io.popen("ffprobe -v error -select_streams v:0 -show_entries stream=width,height,bit_rate,duration,nb_frames,r_frame_rate -print_format json -i " .. tmp_storage_file_path) + local file_meta = handle:read("*a") + handle:close() + -- decode ffprobe output into json, but only first stream + local file_meta_json = json.decode( file_meta )['streams'][1] + + -- get video duration + local duration = tonumber(file_meta_json['duration']) + if not duration then + send_error(417, "upload.lua: ffprobe get duration failed: " .. duration) + end + -- get video width (dimX) + local width = tonumber(file_meta_json['width']); + if not width then + send_error(417, "upload.lua: ffprobe get width failed: " .. width) + end + -- get video height (dimY) + local height = tonumber(file_meta_json['height']) + if not height then + send_error(417, "upload.lua: ffprobe get height failed: " .. height) + end + -- get video fps + -- this is a bit tricky, because ffprobe returns something like 30/1 or 179/6; so, we have to convert into a floating point number; + -- or we can calculate fps from number of frames divided by duration + local fps + local frames = tonumber(file_meta_json['nb_frames']) + if not frames then + send_error(417, "upload.lua: ffprobe get frames failed: " .. frames) + else + fps = frames / duration + if not fps then + send_error(417, "upload.lua: ffprobe get fps failed: " .. fps) + end + end + + sidecar_data = { + originalFilename = original_filename, + checksumOriginal = checksum_original, + originalInternalFilename = hashed_tmp_storage_original, + internalFilename = tmp_storage_filename, + checksumDerivative = checksum_derivative, + width = width, + height = height, + duration = duration, + fps = fps + } + + -- TODO: similar setup for audio files; get duration with ffprobe and write extended sidecar data (DEV-770) + else + sidecar_data = { + originalFilename = original_filename, + checksumOriginal = checksum_original, + originalInternalFilename = hashed_tmp_storage_original, + internalFilename = tmp_storage_filename, + checksumDerivative = checksum_derivative + } + end + + local success, jsonstr = server.table_to_json(sidecar_data) if not success then send_error(500, "Couldn't create json string!") return end - sidecar = io.open(tmp_storage_sidecar_path, "w") + local sidecar = io.open(tmp_storage_sidecar_path, "w") sidecar:write(jsonstr) sidecar:close() @@ -225,6 +297,7 @@ for file_index, file_params in pairs(server.uploads) do checksumDerivative = checksum_derivative } file_upload_data[file_index] = this_file_upload_data + end -- Clean up old temporary files. diff --git a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl index f552ecb14e..1b61a51f44 100644 --- a/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/anythingOntologyWithValueObjects.ttl @@ -37,116 +37,104 @@ anything:hasOtherListItem salsah-gui:guiAttribute "hlist=" ; salsah-gui:guiElement salsah-gui:List . -anything:hasPictureTitle - rdf:type owl:ObjectProperty ; - rdfs:label "Title" ; - rdfs:subPropertyOf knora-api:hasValue ; - knora-api:isEditable true ; - knora-api:isResourceProperty true ; - knora-api:objectType knora-api:TextValue ; - knora-api:subjectType anything:ThingPicture ; - salsah-gui:guiAttribute "size=80" , "maxlength=255" ; - salsah-gui:guiElement salsah-gui:SimpleText . - anything:BlueThing rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein blaues Ding" ; rdfs:label "Blue thing" ; rdfs:subClassOf anything:Thing ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - salsah-gui:guiOrder 4 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:onProperty anything:isPartOfOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty anything:hasOtherListItem + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 63 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasBlueThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingDocument ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 63 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasBlueThingValue + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasRichtext ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + salsah-gui:guiOrder 9 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasInterval ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:onProperty anything:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasText ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 63 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasBlueThing + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + salsah-gui:guiOrder 11 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + owl:onProperty anything:hasInteger ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -156,94 +144,97 @@ anything:BlueThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty anything:hasUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty anything:hasListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 11 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:hasDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + owl:onProperty anything:hasThingPictureValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + owl:onProperty anything:hasThingPicture + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 63 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasBlueThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:isPartOfOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -252,24 +243,33 @@ anything:BlueThing rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . +anything:hasPictureTitle + rdf:type owl:ObjectProperty ; + rdfs:label "Title" ; + rdfs:subPropertyOf knora-api:hasValue ; + knora-api:isEditable true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:TextValue ; + knora-api:subjectType anything:ThingPicture ; + salsah-gui:guiAttribute "size=80" , "maxlength=255" ; + salsah-gui:guiElement salsah-gui:SimpleText . + anything:thingHasRegion rdf:type owl:ObjectProperty ; rdfs:label "has region" ; @@ -288,18 +288,13 @@ anything:ThingPicture rdfs:subClassOf knora-api:StillImageRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -307,24 +302,29 @@ anything:ThingPicture ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -332,53 +332,53 @@ anything:ThingPicture ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deleteDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -413,35 +413,30 @@ anything:ThingWithSeqnum rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPicture ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 4 ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:onProperty anything:hasDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasInteger ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -451,35 +446,44 @@ anything:ThingWithSeqnum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty anything:hasThingDocument ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + salsah-gui:guiOrder 9 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasInterval ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPictureValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + salsah-gui:guiOrder 1 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasListItem + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 100 ; + owl:minCardinality 0 ; + owl:onProperty knora-api:seqnum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:hasGeoname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -488,98 +492,93 @@ anything:ThingWithSeqnum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + owl:onProperty anything:isPartOfOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty anything:hasOtherListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + salsah-gui:guiOrder 15 ; + owl:minCardinality 0 ; + owl:onProperty anything:isPartOfOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue + owl:onProperty anything:hasOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 11 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 100 ; - owl:minCardinality 0 ; - owl:onProperty knora-api:seqnum + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:onProperty anything:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty anything:hasText ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -589,48 +588,49 @@ anything:ThingWithSeqnum rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 9 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty anything:hasTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 15 ; - owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty knora-api:hasStandoffLinkToValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -693,13 +693,13 @@ anything:TrivialThing rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -709,42 +709,47 @@ anything:TrivialThing rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -761,20 +766,15 @@ anything:TrivialThing owl:cardinality 1 ; owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -824,17 +824,13 @@ anything:ThingDocument rdfs:subClassOf knora-api:DocumentRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDocumentTitle + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -843,78 +839,82 @@ anything:ThingDocument ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDocumentTitle ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:hasDocumentFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasDocumentFileValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -956,23 +956,23 @@ anything:ThingWithRegion rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -981,13 +981,13 @@ anything:ThingWithRegion ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -996,41 +996,37 @@ anything:ThingWithRegion ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty anything:thingHasRegionValue + owl:onProperty anything:thingHasRegion ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty anything:thingHasRegion + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1039,13 +1035,17 @@ anything:ThingWithRegion ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty anything:thingHasRegionValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:lastModificationDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -1078,97 +1078,82 @@ anything:Thing rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 15 ; + salsah-gui:guiOrder 4 ; owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty anything:hasInteger ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + owl:onProperty anything:hasGeoname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInterval + owl:onProperty anything:hasOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument + owl:onProperty anything:hasTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty anything:hasOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; owl:onProperty anything:hasThingPictureValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPicture ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:onProperty anything:hasDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; + salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:onProperty anything:hasUri + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 15 ; @@ -1176,99 +1161,114 @@ anything:Thing rdf:type owl:Class ; owl:onProperty anything:isPartOfOtherThingValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty anything:hasText + owl:onProperty anything:hasDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:isPartOfOtherThing + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty anything:hasBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 9 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasInterval + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty anything:hasRichtext ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:onProperty anything:hasThingDocument + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:onProperty anything:hasOtherListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty anything:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty anything:hasBoolean + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasText ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -1281,53 +1281,48 @@ anything:StandoffEventTag rdfs:subClassOf knora-api:StandoffDateTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -1335,8 +1330,8 @@ anything:StandoffEventTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1346,17 +1341,17 @@ anything:StandoffEventTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasEndEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1366,17 +1361,22 @@ anything:StandoffEventTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:dateValueHasStartEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasStartYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:dateValueHasStartMonth + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; knora-api:isStandoffClass true . @@ -1417,23 +1417,23 @@ anything:hasOtherThing knora-api:attachedToProject ; knora-api:lastModificationDate "2017-12-19T15:23:42.166Z"^^xsd:dateTimeStamp . -anything:hasColor rdf:type owl:ObjectProperty ; - rdfs:label "Color" ; +anything:hasDate rdf:type owl:ObjectProperty ; + rdfs:label "Date" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; knora-api:isResourceProperty true ; - knora-api:objectType knora-api:ColorValue ; + knora-api:objectType knora-api:DateValue ; knora-api:subjectType anything:Thing ; - salsah-gui:guiElement salsah-gui:Colorpicker . + salsah-gui:guiElement salsah-gui:Date . -anything:hasDate rdf:type owl:ObjectProperty ; - rdfs:label "Date" ; +anything:hasColor rdf:type owl:ObjectProperty ; + rdfs:label "Color" ; rdfs:subPropertyOf knora-api:hasValue ; knora-api:isEditable true ; knora-api:isResourceProperty true ; - knora-api:objectType knora-api:DateValue ; + knora-api:objectType knora-api:ColorValue ; knora-api:subjectType anything:Thing ; - salsah-gui:guiElement salsah-gui:Date . + salsah-gui:guiElement salsah-gui:Colorpicker . anything:hasTimeStamp rdf:type owl:ObjectProperty ; @@ -1461,96 +1461,96 @@ anything:ThingWithRepresentation rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasRepresentationValue + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasRepresentationValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasRepresentation + owl:onProperty knora-api:isDeleted ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . diff --git a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl index ebb082604c..027660d3fe 100644 --- a/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl +++ b/test_data/ontologyR2RV2/anythingThingWithAllLanguages.ttl @@ -16,85 +16,95 @@ anything:Thing rdf:type owl:Class ; rdfs:comment "'The whole world is full of things, which means there's a real need for someone to go searching for them. And that's exactly what a thing-searcher does.' --Pippi Longstocking"@de ; rdfs:label "Chose"@fr , "Ding"@de , "Cosa"@it , "Thing"@en ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 11 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherListItem + owl:onProperty anything:hasGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasTimeStamp + owl:onProperty anything:hasThingPictureValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; + salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasUri + owl:onProperty anything:hasThingDocumentValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; owl:onProperty anything:hasText ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocument - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeoname + owl:onProperty anything:hasRichtext ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; + salsah-gui:guiOrder 15 ; owl:minCardinality 0 ; - owl:onProperty anything:hasGeometry + owl:onProperty anything:isPartOfOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty anything:hasDate + owl:onProperty anything:hasGeoname ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasDecimal + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThingValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasInteger + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingDocumentValue + owl:onProperty anything:hasTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDecimal + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 15 ; + owl:minCardinality 0 ; + owl:onProperty anything:isPartOfOtherThingValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 6 ; @@ -106,30 +116,10 @@ anything:Thing rdf:type owl:Class ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 15 ; - owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThing - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasRichtext - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:minCardinality 0 ; - owl:onProperty anything:hasColor + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -137,79 +127,89 @@ anything:Thing rdf:type owl:Class ; owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasListItem + owl:onProperty anything:hasOtherThing ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 15 ; - owl:minCardinality 0 ; - owl:onProperty anything:isPartOfOtherThingValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 9 ; owl:minCardinality 0 ; owl:onProperty anything:hasInterval ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasInteger ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 1 ; owl:minCardinality 0 ; - owl:onProperty anything:hasOtherThing + owl:onProperty anything:hasOtherThingValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasUri + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasListItem + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; + salsah-gui:guiOrder 0 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPictureValue + owl:onProperty anything:hasOtherListItem ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 13 ; owl:minCardinality 0 ; - owl:onProperty anything:hasThingPicture + owl:onProperty anything:hasThingDocument ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:minCardinality 0 ; + owl:onProperty anything:hasThingPicture + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl index 07f2cdbea7..df9b4063f1 100644 --- a/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/boxOntologyWithValueObjects.ttl @@ -12,43 +12,38 @@ example-box:Box rdf:type owl:Class ; rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -58,47 +53,52 @@ example-box:Box rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:maxCardinality 1 ; - owl:onProperty example-box:hasName + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:maxCardinality 1 ; + owl:onProperty example-box:hasName ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasPermissions ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/imagesBild.ttl b/test_data/ontologyR2RV2/imagesBild.ttl index 759cd1e764..eca813ef60 100644 --- a/test_data/ontologyR2RV2/imagesBild.ttl +++ b/test_data/ontologyR2RV2/imagesBild.ttl @@ -16,60 +16,40 @@ images:bild rdf:type owl:Class ; rdfs:comment "An image of the demo image collection" ; rdfs:label "Image" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:cardinality 1 ; + owl:onProperty images:signatur ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:maxCardinality 1 ; - owl:onProperty images:urheberValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:maxCardinality 1 ; - owl:onProperty images:urheber + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 4 ; owl:minCardinality 1 ; owl:onProperty images:jahreszeit ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; - owl:cardinality 1 ; - owl:onProperty images:mutationsdatum - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 8 ; + salsah-gui:guiOrder 6 ; owl:cardinality 1 ; - owl:onProperty images:erfassungsdatum - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:minCardinality 0 ; - owl:onProperty images:hatBildformatValue + owl:onProperty images:jahr_exakt ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:cardinality 1 ; - owl:onProperty images:bearbeiter + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -78,63 +58,73 @@ images:bild rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty images:bildnr ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 12 ; + owl:maxCardinality 1 ; + owl:onProperty images:urheberValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 3 ; owl:cardinality 1 ; - owl:onProperty images:signatur + owl:onProperty images:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasStillImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 7 ; owl:minCardinality 0 ; - owl:onProperty images:hatBildformat + owl:onProperty images:hatBildformatValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:cardinality 1 ; - owl:onProperty images:description + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:cardinality 1 ; - owl:onProperty images:jahr_exakt + salsah-gui:guiOrder 11 ; + owl:maxCardinality 1 ; + owl:onProperty images:negativnummer ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; - owl:cardinality 1 ; - owl:onProperty images:titel + salsah-gui:guiOrder 7 ; + owl:minCardinality 0 ; + owl:onProperty images:hatBildformat ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 9 ; owl:cardinality 1 ; - owl:onProperty images:bildnr + owl:onProperty images:mutationsdatum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 5 ; @@ -143,23 +133,13 @@ images:bild rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty images:negativnummer + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:maxCardinality 1 ; - owl:onProperty images:copyrightValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + salsah-gui:guiOrder 8 ; + owl:cardinality 1 ; + owl:onProperty images:erfassungsdatum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -168,28 +148,48 @@ images:bild rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 13 ; - owl:maxCardinality 1 ; - owl:onProperty images:copyright + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:maxCardinality 1 ; + owl:onProperty images:copyrightValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:cardinality 1 ; + owl:onProperty images:titel ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 13 ; + owl:maxCardinality 1 ; + owl:onProperty images:copyright + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:maxCardinality 1 ; + owl:onProperty images:urheber + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:cardinality 1 ; + owl:onProperty images:bearbeiter ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/incunabulaBook.ttl b/test_data/ontologyR2RV2/incunabulaBook.ttl index 0075819cb4..2b61763a1e 100644 --- a/test_data/ontologyR2RV2/incunabulaBook.ttl +++ b/test_data/ontologyR2RV2/incunabulaBook.ttl @@ -16,75 +16,70 @@ incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:note + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:hasAuthor + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:location + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:url + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 5 ; @@ -92,54 +87,34 @@ incunabula:book rdf:type owl:Class ; owl:onProperty incunabula:pubdate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 3 ; owl:minCardinality 0 ; - owl:onProperty incunabula:note + owl:onProperty incunabula:publisher ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 9 ; owl:maxCardinality 1 ; owl:onProperty incunabula:physical_desc ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLinkValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:location ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 1 ; @@ -147,19 +122,44 @@ incunabula:book rdf:type owl:Class ; owl:onProperty incunabula:title ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 4 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:publoc + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:url ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl b/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl index c98ca7e792..6d02d8ff0b 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl +++ b/test_data/ontologyR2RV2/incunabulaOntologySimple.ttl @@ -23,26 +23,30 @@ incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:url + owl:minCardinality 0 ; + owl:onProperty incunabula:publisher ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + owl:onProperty incunabula:location ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:note + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label @@ -53,19 +57,19 @@ incunabula:book rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:note + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:maxCardinality 1 ; + owl:onProperty incunabula:publoc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + owl:onProperty incunabula:hasAuthor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; @@ -75,21 +79,17 @@ incunabula:book rdf:type owl:Class ; owl:maxCardinality 1 ; owl:onProperty incunabula:pubdate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:location + owl:onProperty incunabula:url ] ; knora-api:resourceIcon "book.gif" . @@ -108,13 +108,13 @@ incunabula:Sideband rdf:type owl:Class ; owl:cardinality 1 ; owl:onProperty incunabula:sbTitle ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFile + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -124,13 +124,9 @@ incunabula:Sideband rdf:type owl:Class ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:sideband_comment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -138,7 +134,11 @@ incunabula:Sideband rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasStillImageFile + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty incunabula:sideband_comment ] . incunabula:pagenum rdf:type owl:DatatypeProperty ; @@ -296,9 +296,13 @@ incunabula:misc rdf:type owl:Class ; rdfs:comment "A fake resource class that only has optional properties" ; rdfs:label "Sonstiges" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:miscHasGeometry + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:miscHasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -308,25 +312,21 @@ incunabula:misc rdf:type owl:Class ; owl:minCardinality 0 ; owl:onProperty knora-api:hasIncomingLink ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasGeometry - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasColor + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] . incunabula:page rdf:type owl:Class ; @@ -335,15 +335,11 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf knora-api:StillImageRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname + owl:onProperty incunabula:hasRightSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -351,48 +347,52 @@ incunabula:page rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:pagenum ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasStillImageFile ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFile - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:partOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum + owl:onProperty incunabula:hasLeftSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty incunabula:partOf + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty incunabula:origname + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:seqnum + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty incunabula:transcription diff --git a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl index 68caba7514..c0487f1220 100644 --- a/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/incunabulaOntologyWithValueObjects.ttl @@ -6,16 +6,6 @@ @prefix salsah-gui: . @prefix xsd: . -incunabula:pubdate rdf:type owl:ObjectProperty ; - rdfs:comment "Datum der Herausgabe" ; - rdfs:label "Datum der Herausgabe" ; - rdfs:subPropertyOf , knora-api:hasValue ; - knora-api:isEditable true ; - knora-api:isResourceProperty true ; - knora-api:objectType knora-api:DateValue ; - knora-api:subjectType incunabula:book ; - salsah-gui:guiElement salsah-gui:Date . - incunabula:miscHasBookValue rdf:type owl:ObjectProperty ; rdfs:label "Verbindung mit einem Buch" ; @@ -110,6 +100,11 @@ incunabula:Sideband rdf:type owl:Class ; rdfs:comment "Randleistentyp" ; rdfs:label "Randleiste" ; rdfs:subClassOf knora-api:StillImageRepresentation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; @@ -118,7 +113,12 @@ incunabula:Sideband rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:hasStillImageFileValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -132,29 +132,29 @@ incunabula:Sideband rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:sideband_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -163,22 +163,12 @@ incunabula:Sideband rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:sideband_comment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -187,33 +177,33 @@ incunabula:Sideband rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -357,45 +347,40 @@ incunabula:misc rdf:type owl:Class ; rdfs:comment "A fake resource class that only has optional properties" ; rdfs:label "Sonstiges" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 0 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:miscHasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; @@ -404,8 +389,8 @@ incunabula:misc rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -415,7 +400,7 @@ incunabula:misc rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; @@ -424,43 +409,48 @@ incunabula:misc rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasGeometry + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 0 ; + salsah-gui:guiOrder 1 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:miscHasColor + owl:onProperty incunabula:miscHasGeometry ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -469,55 +459,50 @@ incunabula:page rdf:type owl:Class ; rdfs:comment "A page is a part of a book" ; rdfs:label "Page" ; rdfs:subClassOf knora-api:StillImageRepresentation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty incunabula:partOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 12 ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:transcription ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty incunabula:partOf + salsah-gui:guiOrder 3 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:seqnum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + salsah-gui:guiOrder 1 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pagenum ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:cardinality 1 ; + owl:onProperty incunabula:origname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; @@ -529,65 +514,65 @@ incunabula:page rdf:type owl:Class ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname + salsah-gui:guiOrder 11 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasRightSidebandValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue + salsah-gui:guiOrder 6 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:page_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 11 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasRightSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; @@ -597,32 +582,37 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:transcription + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; + salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSidebandValue + owl:onProperty incunabula:hasLeftSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + owl:onProperty incunabula:hasLeftSidebandValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFileValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -668,55 +658,50 @@ incunabula:book rdf:type owl:Class ; rdfs:comment "Diese Resource-Klasse beschreibt ein Buch" ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:url - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 4 ; owl:maxCardinality 1 ; owl:onProperty incunabula:publoc ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; + salsah-gui:guiOrder 7 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:location + owl:onProperty incunabula:url + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 10 ; owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty incunabula:note ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pubdate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -729,59 +714,59 @@ incunabula:book rdf:type owl:Class ; owl:onProperty incunabula:physical_desc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor + salsah-gui:guiOrder 1 ; + owl:minCardinality 1 ; + owl:onProperty incunabula:title ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; + salsah-gui:guiOrder 6 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate + owl:onProperty incunabula:location ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 2 ; owl:minCardinality 0 ; - owl:onProperty incunabula:note + owl:onProperty incunabula:hasAuthor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 3 ; @@ -791,28 +776,33 @@ incunabula:book rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:citation + ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; knora-api:resourceIcon "book.gif" . @@ -876,3 +866,13 @@ incunabula:transcription knora-api:objectType knora-api:TextValue ; knora-api:subjectType incunabula:page ; salsah-gui:guiElement salsah-gui:Richtext . + +incunabula:pubdate rdf:type owl:ObjectProperty ; + rdfs:comment "Datum der Herausgabe" ; + rdfs:label "Datum der Herausgabe" ; + rdfs:subPropertyOf , knora-api:hasValue ; + knora-api:isEditable true ; + knora-api:isResourceProperty true ; + knora-api:objectType knora-api:DateValue ; + knora-api:subjectType incunabula:book ; + salsah-gui:guiElement salsah-gui:Date . diff --git a/test_data/ontologyR2RV2/incunabulaPage.ttl b/test_data/ontologyR2RV2/incunabulaPage.ttl index 703b7007b7..bc534e6374 100644 --- a/test_data/ontologyR2RV2/incunabulaPage.ttl +++ b/test_data/ontologyR2RV2/incunabulaPage.ttl @@ -18,28 +18,23 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf knora-api:StillImageRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; - owl:onProperty incunabula:partOf + owl:onProperty incunabula:partOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasLeftSidebandValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 12 ; @@ -48,63 +43,68 @@ incunabula:page rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 10 ; owl:maxCardinality 1 ; owl:onProperty incunabula:hasLeftSideband ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:hasStillImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; owl:onProperty incunabula:hasRightSidebandValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:page_comment ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 3 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum + owl:onProperty incunabula:seqnum ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:cardinality 1 ; + owl:onProperty incunabula:origname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 11 ; @@ -118,58 +118,58 @@ incunabula:page rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; owl:cardinality 1 ; - owl:onProperty incunabula:partOfValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty incunabula:partOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 1 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue + owl:onProperty incunabula:pagenum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl index de5564a73b..49f63c5022 100644 --- a/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/incunabulaPageAndBookWithValueObjects.ttl @@ -12,68 +12,73 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf knora-api:StillImageRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 2 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:cardinality 1 ; + owl:onProperty incunabula:partOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:citation + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSideband + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; + salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:hasLeftSidebandValue + owl:onProperty incunabula:hasRightSideband ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty incunabula:partOf + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:transcription + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 7 ; - owl:cardinality 1 ; - owl:onProperty incunabula:origname - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSideband - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 6 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:page_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 7 ; + owl:cardinality 1 ; + owl:onProperty incunabula:origname ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -81,39 +86,44 @@ incunabula:page rdf:type owl:Class ; owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:seqnum + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; + salsah-gui:guiOrder 11 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:pagenum + owl:onProperty incunabula:hasRightSidebandValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; + salsah-gui:guiOrder 10 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasLeftSideband + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; - owl:onProperty incunabula:page_comment + owl:onProperty incunabula:citation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 11 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:hasRightSidebandValue + salsah-gui:guiOrder 2 ; + owl:cardinality 1 ; + owl:onProperty incunabula:partOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -128,42 +138,32 @@ incunabula:page rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:cardinality 1 ; - owl:onProperty incunabula:partOfValue + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 10 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:hasLeftSidebandValue ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:pagenum ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:transcription - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + salsah-gui:guiOrder 3 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:seqnum ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -174,130 +174,105 @@ incunabula:book rdf:type owl:Class ; rdfs:label "Book" ; rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 5 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:pubdate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + salsah-gui:guiOrder 3 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:publisher ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:hasAuthor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 4 ; + salsah-gui:guiOrder 10 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:note + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 2 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:publoc + owl:onProperty incunabula:description ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 1 ; - owl:minCardinality 1 ; - owl:onProperty incunabula:title + salsah-gui:guiOrder 12 ; + owl:minCardinality 0 ; + owl:onProperty incunabula:book_comment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 9 ; + salsah-gui:guiOrder 5 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:physical_desc + owl:onProperty incunabula:pubdate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 10 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:note + salsah-gui:guiOrder 6 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:location ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 3 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:publisher + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; + salsah-gui:guiOrder 9 ; owl:maxCardinality 1 ; - owl:onProperty incunabula:description + owl:onProperty incunabula:physical_desc ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 12 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:book_comment + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:creationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 6 ; - owl:maxCardinality 1 ; - owl:onProperty incunabula:location - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 7 ; owl:maxCardinality 1 ; owl:onProperty incunabula:url ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - salsah-gui:guiOrder 2 ; - owl:minCardinality 0 ; - owl:onProperty incunabula:hasAuthor - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; salsah-gui:guiOrder 5 ; owl:minCardinality 0 ; @@ -305,18 +280,43 @@ incunabula:book rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 4 ; + owl:maxCardinality 1 ; + owl:onProperty incunabula:publoc + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + salsah-gui:guiOrder 1 ; + owl:minCardinality 1 ; + owl:onProperty incunabula:title ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/knoraApiDateValue.ttl b/test_data/ontologyR2RV2/knoraApiDateValue.ttl index a17d204345..599e294aa1 100644 --- a/test_data/ontologyR2RV2/knoraApiDateValue.ttl +++ b/test_data/ontologyR2RV2/knoraApiDateValue.ttl @@ -16,13 +16,13 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf knora-api:DateBase , knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -31,97 +31,97 @@ knora-api:DateValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasEndEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasStartEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:onProperty knora-api:dateValueHasStartDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:dateValueHasStartYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deletedBy ] ; knora-api:isValueClass true . diff --git a/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl b/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl index 96729ad769..238fe7ce1c 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl +++ b/test_data/ontologyR2RV2/knoraApiOntologySimple.ttl @@ -19,27 +19,27 @@ knora-api:TextRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasTextFile ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasTextFile + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] . knora-api:hasStandoffLinkTo @@ -65,27 +65,27 @@ knora-api:StillImageRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFile + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasStillImageFile ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] . knora-api:ListNode rdf:type rdfs:Datatype ; @@ -105,19 +105,19 @@ knora-api:DDDRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasDDDFile + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasDDDFile + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -135,11 +135,11 @@ knora-api:AudioRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasAudioFile + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasAudioFile ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -185,17 +185,17 @@ knora-api:Representation rdfs:comment "A resource that can store a file" ; rdfs:label "Representation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:hasFile ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -203,11 +203,11 @@ knora-api:Representation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasFile + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] . knora-api:Geom rdf:type rdfs:Datatype ; @@ -219,13 +219,17 @@ knora-api:Region rdf:type owl:Class ; rdfs:comment "Represents a geometric region of a resource. The geometry is represented currently as JSON string." ; rdfs:label "Region" ; rdfs:subClassOf knora-api:Resource ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:isRegionOf + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -237,23 +241,19 @@ knora-api:Region rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; - owl:onProperty knora-api:hasComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:isRegionOf ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasGeometry + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:resourceIcon "region.gif" . @@ -362,6 +362,18 @@ knora-api:LinkObj rdf:type owl:Class ; rdfs:comment "Represents a generic link object" ; rdfs:label "Link Object" ; rdfs:subClassOf knora-api:Resource ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasComment + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo @@ -372,24 +384,12 @@ knora-api:LinkObj rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasComment + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; knora-api:resourceIcon "link.gif" . knora-api:XSLTransformation @@ -399,11 +399,15 @@ knora-api:XSLTransformation rdfs:subClassOf knora-api:TextRepresentation ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasTextFile + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasTextFile + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -415,11 +419,7 @@ knora-api:XSLTransformation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + owl:onProperty knora-api:arkUrl ] . knora-api:Date rdf:type rdfs:Datatype ; @@ -434,13 +434,6 @@ knora-api:Interval rdf:type rdfs:Datatype ; owl:onDatatype xsd:string ; owl:withRestrictions [ xsd:pattern "\\d+(\\.\\d+)?,\\d+(\\.\\d+)?" ] . -knora-api:hasLinkTo rdf:type owl:ObjectProperty ; - rdfs:comment "Represents a direct connection between two resources" ; - rdfs:label "has Link to" ; - rdfs:subPropertyOf knora-api:resourceProperty ; - knora-api:objectType knora-api:Resource ; - knora-api:subjectType knora-api:Resource . - knora-api:hasAudioFile rdf:type owl:DatatypeProperty ; rdfs:comment "Connects a Representation to an audio file" ; @@ -449,6 +442,13 @@ knora-api:hasAudioFile knora-api:objectType knora-api:File ; knora-api:subjectType knora-api:AudioRepresentation . +knora-api:hasLinkTo rdf:type owl:ObjectProperty ; + rdfs:comment "Represents a direct connection between two resources" ; + rdfs:label "has Link to" ; + rdfs:subPropertyOf knora-api:resourceProperty ; + knora-api:objectType knora-api:Resource ; + knora-api:subjectType knora-api:Resource . + knora-api:hasValue rdf:type owl:DatatypeProperty ; rdfs:comment "The base property of properties that point from Knora resources to Knora values." ; rdfs:label "has value" ; @@ -541,7 +541,7 @@ knora-api:Annotation rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -551,14 +551,14 @@ knora-api:Annotation rdf:type owl:Class ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLink + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; owl:onProperty knora-api:hasComment @@ -600,29 +600,29 @@ knora-api:MovingImageRepresentation rdfs:comment "A resource containing moving image data" ; rdfs:label "Representation (Movie)" ; rdfs:subClassOf knora-api:Representation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLink - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty rdfs:label + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:hasMovingImageFile ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:hasIncomingLink ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:arkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] . knora-api:DeletedResource diff --git a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld index bbdba9e7fb..87d1a4c63f 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld +++ b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.jsonld @@ -3498,34 +3498,6 @@ "owl:maxCardinality": 1, "knora-api:isInherited": true }, - { - "@type": "owl:Restriction", - "owl:onProperty": { - "@id": "knora-api:movingImageFileValueHasDimX" - }, - "owl:cardinality": 1 - }, - { - "@type": "owl:Restriction", - "owl:onProperty": { - "@id": "knora-api:movingImageFileValueHasDimY" - }, - "owl:cardinality": 1 - }, - { - "@type": "owl:Restriction", - "owl:onProperty": { - "@id": "knora-api:movingImageFileValueHasDuration" - }, - "owl:cardinality": 1 - }, - { - "@type": "owl:Restriction", - "owl:onProperty": { - "@id": "knora-api:movingImageFileValueHasFps" - }, - "owl:cardinality": 1 - }, { "@type": "owl:Restriction", "owl:onProperty": { @@ -7889,66 +7861,6 @@ }, "@id": "knora-api:mayHaveMoreResults" }, - { - "rdfs:label": "Moving image file value has X dimension", - "rdfs:subPropertyOf": { - "@id": "knora-api:valueHas" - }, - "@type": "owl:DatatypeProperty", - "knora-api:objectType": { - "@id": "xsd:integer" - }, - "@id": "knora-api:movingImageFileValueHasDimX", - "knora-api:subjectType": { - "@id": "knora-api:MovingImageFileValue" - }, - "rdfs:comment": "The horizontal dimension of a moving image file value." - }, - { - "rdfs:label": "Moving image file value has Y dimension", - "rdfs:subPropertyOf": { - "@id": "knora-api:valueHas" - }, - "@type": "owl:DatatypeProperty", - "knora-api:objectType": { - "@id": "xsd:integer" - }, - "@id": "knora-api:movingImageFileValueHasDimY", - "knora-api:subjectType": { - "@id": "knora-api:MovingImageFileValue" - }, - "rdfs:comment": "The vertical dimension of a moving image file value." - }, - { - "rdfs:label": "Moving image file value has duration", - "rdfs:subPropertyOf": { - "@id": "knora-api:valueHas" - }, - "@type": "owl:DatatypeProperty", - "knora-api:objectType": { - "@id": "xsd:decimal" - }, - "@id": "knora-api:movingImageFileValueHasDuration", - "knora-api:subjectType": { - "@id": "knora-api:MovingImageFileValue" - }, - "rdfs:comment": "The duration of a moving image file value." - }, - { - "rdfs:label": "Moving image file value has frames per second", - "rdfs:subPropertyOf": { - "@id": "knora-api:valueHas" - }, - "@type": "owl:DatatypeProperty", - "knora-api:objectType": { - "@id": "xsd:integer" - }, - "@id": "knora-api:movingImageFileValueHasFps", - "knora-api:subjectType": { - "@id": "knora-api:MovingImageFileValue" - }, - "rdfs:comment": "The number of frames per second in a moving image file value." - }, { "rdfs:label": "new modification date", "rdfs:comment": "Specifies the new modification date of a resource", diff --git a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.rdf b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.rdf index ab2ffb92e1..96ef99ab0e 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.rdf +++ b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.rdf @@ -16,13 +16,14 @@ true - 1 + 1 - + + A text file such as plain Unicode text, LaTeX, TEI/XML, etc. 1 - + @@ -41,19 +42,7 @@ 1 - - - - - A text file such as plain Unicode text, LaTeX, TEI/XML, etc. - - - true - 1 - - + @@ -66,7 +55,7 @@ 1 - + @@ -77,7 +66,7 @@ 1 - + @@ -88,7 +77,7 @@ 1 - + @@ -96,16 +85,13 @@ true - 1 + 1 - + - - - 1 - + - - true - 1 - - - - + @@ -135,7 +113,7 @@ 1 - + @@ -146,7 +124,7 @@ 1 - + @@ -168,7 +146,7 @@ 1 - + @@ -176,15 +154,13 @@ true - 1 + 1 - + - - 1 - + @@ -200,13 +176,15 @@ true - 1 + 1 - + + + 1 - + @@ -222,10 +200,10 @@ true - 1 + 1 - + @@ -236,12 +214,10 @@ 1 - + - true 1 - + @@ -262,6 +238,8 @@ + true 1 - + + Represents a reference to a Knora resource in a TextValue 1 - + - Represents a reference to a Knora resource in a TextValue @@ -292,10 +270,10 @@ true - 1 + 1 - + @@ -306,20 +284,18 @@ 1 - + - - true - 1 + 1 - + @@ -330,12 +306,12 @@ 1 - + - true + + 1 - + - - - - 1 + true + 1 - + @@ -363,13 +338,18 @@ true - 1 + 1 - + + true + + + 1 - + @@ -388,7 +368,7 @@ 1 - + @@ -399,7 +379,7 @@ 1 - + @@ -410,7 +390,7 @@ 1 - + @@ -421,7 +401,7 @@ 1 - + @@ -429,10 +409,10 @@ true - 1 + 1 - + @@ -440,10 +420,10 @@ true - 1 + 1 - + @@ -454,7 +434,7 @@ 1 - + @@ -465,12 +445,10 @@ 1 - + - - 1 - + - true - 0 + 1 - + + + true - 1 + 1 - + @@ -511,7 +489,7 @@ 0 - + @@ -519,10 +497,10 @@ true - 1 + 1 - + @@ -530,10 +508,10 @@ true - 1 + 1 - + @@ -541,14 +519,24 @@ true - 0 + 1 - + + + + + + + true + 1 + + - A resource containing moving image data 1 - + + A resource containing moving image data @@ -570,7 +559,7 @@ 1 - + @@ -581,17 +570,19 @@ 1 - + Representation (Movie) - 1 + true + 1 - + @@ -602,7 +593,7 @@ 1 - + @@ -610,10 +601,10 @@ true - 1 + 1 - + @@ -624,7 +615,7 @@ 1 - + @@ -635,7 +626,7 @@ 1 - + @@ -646,7 +637,7 @@ 1 - + @@ -654,10 +645,10 @@ true - 1 + 0 - + @@ -665,28 +656,26 @@ >true - true 1 - + - - true - 1 + 0 - + + + 1 - + @@ -705,27 +694,21 @@ 1 - + - - - true - 1 + 1 - + - - - 1 - + + + + 1 - + + + + 1 - + + + + + Represents a date in a TextValue + true + + + true + 1 + + @@ -766,19 +769,18 @@ 1 - + - Represents a date in a TextValue true - 1 + 1 - + @@ -789,7 +791,7 @@ 1 - + @@ -804,8 +806,6 @@ - true 1 - + @@ -824,7 +824,7 @@ 1 - + @@ -832,10 +832,10 @@ true - 1 + 1 - + @@ -846,7 +846,7 @@ 1 - + @@ -854,10 +854,10 @@ true - 1 + 1 - + @@ -865,10 +865,10 @@ true - 1 + 1 - + @@ -879,7 +879,7 @@ 1 - + @@ -902,10 +902,10 @@ true - 1 + 1 - + @@ -916,30 +916,30 @@ 1 - + + Represents an arbitrary URI in a TextValue true - 1 + 1 - + - Represents an arbitrary URI in a TextValue true - 1 + 1 - + @@ -947,27 +947,24 @@ true - 1 + 1 - + - - - true - 1 + 1 - + @@ -982,6 +979,9 @@ + + + 1 - + @@ -997,10 +997,10 @@ true - 1 + 1 - + @@ -1011,7 +1011,7 @@ 1 - + @@ -1022,7 +1022,7 @@ 1 - + @@ -1037,7 +1037,7 @@ 1 - + @@ -1045,10 +1045,10 @@ true - 1 + 1 - + @@ -1059,7 +1059,7 @@ 1 - + @@ -1070,7 +1070,7 @@ 1 - + @@ -1078,10 +1078,10 @@ true - 1 + 1 - + @@ -1092,7 +1092,7 @@ 1 - + @@ -1103,7 +1103,7 @@ 1 - + @@ -1111,10 +1111,10 @@ true - 1 + 1 - + @@ -1125,7 +1125,7 @@ 1 - + @@ -1133,10 +1133,10 @@ true - 1 + 1 - + @@ -1147,7 +1147,7 @@ 1 - + @@ -1158,7 +1158,7 @@ 1 - + @@ -1166,32 +1166,24 @@ true - 1 + 1 - + - - true - 1 - - - - + true - 1 + 1 - + @@ -1202,7 +1194,7 @@ 1 - + @@ -1210,16 +1202,13 @@ true - 1 + 1 - + - - - 1 - + + Represents a Knora date value 1 - + @@ -1260,7 +1250,7 @@ 1 - + @@ -1268,17 +1258,27 @@ true - 1 + 1 - + - Represents a Knora date value + + + true + 1 + + + + + @@ -1289,7 +1289,7 @@ 1 - + @@ -1300,28 +1300,34 @@ 1 - + + Representation (3D) true - 0 + 1 - + - + Represents a file containg 3D data + true + true 1 - + + + @@ -1331,12 +1337,10 @@ 1 - + - Representation (3D) - Represents a file containg 3D data 0 - + - true true - 1 + 1 - + @@ -1365,20 +1367,20 @@ true - 1 + 1 - + + true 1 - - - + @@ -1388,7 +1390,7 @@ 1 - + @@ -1396,10 +1398,10 @@ true - 1 + 1 - + @@ -1418,10 +1420,10 @@ true - 1 + 1 - + @@ -1432,18 +1434,16 @@ 1 - + - true - 1 + 1 - + @@ -1451,13 +1451,16 @@ true - 1 + 0 - + + + + 1 - + @@ -1476,13 +1479,10 @@ 1 - + - - - 1 - + @@ -1502,10 +1502,10 @@ true - 0 + 1 - + @@ -1513,19 +1513,10 @@ true - 1 - - - - - - - - 1 + 1 - + @@ -1536,11 +1527,10 @@ 1 - + - Representation (Audio) - true 1 - - - - - - true - 1 - + - - - true - 1 + 0 - + + Representation (Audio) 1 - - - - - - - true - 1 - - + @@ -1623,13 +1589,16 @@ true - 0 + 1 - + + + + 1 - + @@ -1659,11 +1628,10 @@ 1 - + - Represents a file containing audio data 1 - + @@ -1679,15 +1647,13 @@ true - 1 + 1 - + - - 1 - + + Represents a file containing audio data true - 1 + 0 - + @@ -1714,10 +1681,21 @@ true - 1 + 1 + + + + + + + + true + 1 - + @@ -1750,7 +1728,7 @@ 1 - + @@ -1758,10 +1736,10 @@ true - 1 + 1 - + @@ -1772,10 +1750,17 @@ 1 - + + + + + + + + Represents a color in a TextValue 1 - + @@ -1794,34 +1779,38 @@ 1 - + - - - - + + true + 1 + + + + - Represents a color in a TextValue true - 1 + 1 - + true - - + true 1 @@ -1829,23 +1818,25 @@ - true + + 1 - + + true - 1 + 1 - + @@ -1854,7 +1845,7 @@ 1 - + @@ -1863,7 +1854,7 @@ 1 - + @@ -1872,16 +1863,25 @@ 1 - + - 1 + 1 - + + + + + + + 1 + + @@ -1897,10 +1897,10 @@ - 1 + 1 - + @@ -1909,7 +1909,7 @@ 1 - + @@ -1922,7 +1922,7 @@ 1 - + @@ -1933,7 +1933,7 @@ 1 - + @@ -1941,10 +1941,10 @@ true - 1 + 1 - + @@ -1952,22 +1952,34 @@ true - 1 - + 1 + + + + + + + + true + 0 + + + + Representation (Zip) - true 1 - + @@ -1978,28 +1990,29 @@ 1 - + - Representation (Zip) true - 1 + 0 - + - 1 + true + 1 - + @@ -2007,10 +2020,10 @@ true - 1 + 1 - + @@ -2021,7 +2034,7 @@ 0 - + @@ -2032,12 +2045,10 @@ 1 - + - true + true true - 0 - - - + 1 + true - 1 + 1 - + @@ -2078,7 +2089,7 @@ 1 - + @@ -2086,10 +2097,10 @@ true - 0 + 1 - + @@ -2097,26 +2108,26 @@ true - 1 + 1 - + + + true - 1 + 1 - + - - 1 - + @@ -2135,7 +2146,7 @@ 1 - + @@ -2158,10 +2169,10 @@ true - 1 + 1 - + @@ -2172,18 +2183,7 @@ 1 - - - - - - - true - 1 - - + @@ -2193,10 +2193,10 @@ true - 1 + 1 - + @@ -2207,7 +2207,7 @@ 1 - + @@ -2218,7 +2218,7 @@ 1 - + @@ -2229,7 +2229,7 @@ 1 - + @@ -2243,7 +2243,7 @@ 1 - + @@ -2251,10 +2251,10 @@ true - 1 + 1 - + @@ -2263,6 +2263,17 @@ + + + true + 1 + + + + + 1 - + @@ -2278,10 +2289,10 @@ true - 1 + 1 - + @@ -2296,14 +2307,15 @@ + Represents a time interval, e.g. in an audio recording true - 1 + 1 - + @@ -2314,7 +2326,7 @@ 1 - + @@ -2322,22 +2334,21 @@ true - 1 + 1 - + - Represents a time interval, e.g. in an audio recording true - 1 + 1 - + @@ -2351,7 +2362,18 @@ 1 - + + + + + + + true + 1 + + @@ -2362,7 +2384,7 @@ 1 - + @@ -2377,6 +2399,8 @@ + true 1 - + - true 1 - + @@ -2408,10 +2430,15 @@ 1 - + + + + + + 1 - + - - true - 1 + 1 - + - - - 1 - + @@ -2468,7 +2490,7 @@ 1 - + @@ -2479,18 +2501,7 @@ 1 - - - - - - - true - 1 - - + @@ -2501,7 +2512,7 @@ 1 - + @@ -2509,10 +2520,10 @@ true - 1 + 1 - + @@ -2545,24 +2556,13 @@ 1 - + - - - true - 1 - - - - - 1 - + @@ -2582,7 +2582,7 @@ 1 - + @@ -2595,7 +2595,7 @@ 1 - + @@ -2605,10 +2605,10 @@ true - 1 + 1 - + @@ -2619,27 +2619,23 @@ 1 - + - true true - 1 + 1 - + - - - - Represents a timestamp in a TextValue + true 1 - + @@ -2655,13 +2651,17 @@ true - 1 + 1 - + + + + + Represents a timestamp in a TextValue true - 1 + 1 - + - - - 1 - + @@ -2702,10 +2699,10 @@ true - 1 + 1 - + @@ -2720,14 +2717,17 @@ + + + true - 1 + 1 - + @@ -2737,10 +2737,10 @@ true - 1 + 1 - + @@ -2751,7 +2751,7 @@ 1 - + @@ -2762,18 +2762,7 @@ 1 - - - - - - - true - 1 - - + @@ -2788,6 +2777,9 @@ + + + 1 - + - - - @@ -2809,10 +2798,10 @@ true - 1 + 1 - + @@ -2823,18 +2812,7 @@ 1 - - - - - - - true - 1 - - + @@ -2845,10 +2823,11 @@ 1 - + + Represents a decimal (floating point) value in a TextValue 1 - + - Represents a decimal (floating point) value in a TextValue - true - - 1 - + + true 1 - + + + 1 - + @@ -2909,14 +2887,19 @@ + true + + + true - 1 + 1 - + @@ -2927,15 +2910,10 @@ 1 - + - true - - - 1 - + @@ -2951,10 +2929,10 @@ true - 1 + 1 - + @@ -2973,10 +2951,10 @@ true - 1 + 1 - + @@ -2987,10 +2965,11 @@ 1 - + + Represents a URI 1 - + + + + + + + true + 1 + + @@ -3009,11 +2999,10 @@ 1 - + - Represents a URI 1 - + + + + true + 1 + + + + + @@ -3049,33 +3049,33 @@ 1 - + + Deleted Value + + + true - 1 + 1 - + - Deleted Value - - - true - 1 + 1 - + @@ -3084,10 +3084,10 @@ true - 1 + 1 - + @@ -3098,7 +3098,18 @@ 1 - + + + + + + + true + 1 + + @@ -3108,10 +3119,10 @@ true - 1 + 1 - + @@ -3119,10 +3130,10 @@ true - 1 + 1 - + @@ -3130,10 +3141,10 @@ true - 1 + 1 - + @@ -3155,7 +3166,7 @@ 1 - + @@ -3163,10 +3174,10 @@ true - 1 + 1 - + @@ -3174,13 +3185,15 @@ true - 1 + 1 - + + + 1 - + - - true - 1 + 0 - + @@ -3225,7 +3236,7 @@ 1 - + @@ -3236,18 +3247,16 @@ 1 - + - true - 1 + 1 - + @@ -3258,7 +3267,7 @@ 1 - + @@ -3269,7 +3278,7 @@ 1 - + @@ -3280,7 +3289,7 @@ 1 - + @@ -3288,10 +3297,10 @@ true - 0 + 1 - + @@ -3302,7 +3311,7 @@ 1 - + @@ -3312,15 +3321,19 @@ >true 1 - + + + - 1 + true + 0 - + @@ -3331,22 +3344,20 @@ 1 - + - A resource that can contain a two-dimensional still image file true 1 - - - + + A resource that can contain a two-dimensional still image file 0 - + @@ -3366,10 +3377,10 @@ true - 0 + 1 - + @@ -3384,27 +3395,16 @@ - - - true - 1 - - - - - true - 1 + 1 - + @@ -3415,22 +3415,20 @@ 0 - + - Representation (Document) true 1 - - - + + Representation (Document) 0 - + @@ -3449,7 +3447,7 @@ 1 - + @@ -3457,10 +3455,10 @@ true - 0 + 1 - + @@ -3471,16 +3469,7 @@ 1 - - - - - - - 1 - - + @@ -3491,7 +3480,7 @@ 1 - + @@ -3499,10 +3488,10 @@ true - 1 + 0 - + @@ -3510,25 +3499,16 @@ true - 1 - + 1 + + + - - - true - 1 - - - - - - true 1 - + @@ -3558,12 +3536,10 @@ 1 - + - true 1 - + @@ -3597,32 +3573,38 @@ - - + true - 1 + true + 1 - + - 1 + true + 1 - + + + 1 - + @@ -3631,7 +3613,7 @@ 1 - + @@ -3640,16 +3622,16 @@ 1 - + - 1 + 1 - + @@ -3658,36 +3640,34 @@ 1 - + - 1 + 1 - + - true 1 - + - 1 + 1 - + @@ -3696,27 +3676,47 @@ 1 - + + true 1 - + - The base class of classes representing Knora values - 1 - + + + + + The base class of classes representing Knora values + + + + 1 + + + + + + + + 1 + + @@ -3733,15 +3733,14 @@ - Represents a knora-base value type in a TextValue true - 1 + 1 - + @@ -3752,10 +3751,11 @@ 1 - + + Represents a knora-base value type in a TextValue 1 - + @@ -3782,10 +3782,10 @@ true - 1 + 1 - + @@ -3793,10 +3793,10 @@ true - 1 + 1 - + @@ -3817,14 +3817,13 @@ true - 1 + 1 - + - 1 - + + @@ -3868,20 +3868,20 @@ true - 1 + 0 - + - true - 1 - + 0 + + + @@ -3891,7 +3891,7 @@ 1 - + @@ -3902,16 +3902,18 @@ 1 - + - 1 + true + 1 - + @@ -3919,10 +3921,10 @@ true - 1 + 1 - + @@ -3930,10 +3932,10 @@ true - 0 + 1 - + @@ -3944,16 +3946,18 @@ 1 - + - 0 + true + 1 - + @@ -3972,12 +3976,10 @@ >true - true - 1 + 1 - + @@ -3988,22 +3990,21 @@ true - 0 + 1 - + - Represents a generic link object true - 1 + 1 - + @@ -4018,6 +4019,7 @@ + Represents a generic link object link.gif @@ -4025,9 +4027,7 @@ >true 1 - - - + Link Object @@ -4046,10 +4046,10 @@ true - 1 + 0 - + @@ -4060,7 +4060,7 @@ 1 - + @@ -4096,7 +4096,7 @@ 1 - + @@ -4107,7 +4107,7 @@ 1 - + @@ -4115,10 +4115,10 @@ true - 1 + 1 - + @@ -4129,7 +4129,7 @@ 1 - + @@ -4140,22 +4140,11 @@ 1 - + - - - true - 1 - - - - - 1 - + - true 1 - + + true 1 - + @@ -4198,7 +4187,7 @@ 1 - + @@ -4209,7 +4198,7 @@ 1 - + @@ -4220,7 +4209,7 @@ 1 - + @@ -4231,76 +4220,60 @@ 1 - + - Represents an arbitrary-precision decimal value true - 1 - - - - - - - - true - - 1 - + - 1 - + true + 1 + + + - Represents something in the world, or an abstract thing + Represents an arbitrary-precision decimal value + + 0 - + + true + Represents something in the world, or an abstract thing 1 - - - - - - - - 0 - - - + - 1 + 1 - + @@ -4318,7 +4291,7 @@ 1 - + @@ -4327,7 +4300,7 @@ 1 - + @@ -4342,10 +4315,10 @@ - 1 + 1 - + @@ -4354,7 +4327,7 @@ 1 - + @@ -4363,20 +4336,20 @@ 1 - + - Resource 1 - + + Resource 1 - + - - 1 - + + + + + + + 1 + + + + + + + + 0 + + - - + - true 1 - + + + + + + 1 - + @@ -4442,23 +4433,24 @@ true - 0 + 1 - + - 1 + true + 1 - + - A resource that can store a file 1 - + @@ -4477,10 +4469,11 @@ 0 - + + A resource that can store a file true + 1 + + + + + + + 1 - + @@ -4510,7 +4512,7 @@ 1 - + @@ -4519,10 +4521,10 @@ true - 1 + 1 - + @@ -4531,10 +4533,10 @@ true - 1 + 0 - + @@ -4553,10 +4555,10 @@ true - 1 + 0 - + @@ -4566,9 +4568,7 @@ >true 1 - - - + @@ -4586,10 +4586,10 @@ true - 1 + 1 - + @@ -4600,60 +4600,56 @@ 1 - + + true true - 0 + 1 - + - true Region - true - 1 + 1 - + - region.gif true - 1 + 1 - + - true + region.gif true - 0 + 1 - + @@ -4664,7 +4660,7 @@ 1 - + @@ -4675,38 +4671,18 @@ 1 - - - - - - - true - 0 - - + + true - true - 1 - - - - - - true 1 - + @@ -4717,16 +4693,18 @@ 1 - + + true 1 + >0 - + @@ -4741,14 +4719,14 @@ - true - 1 + true + 0 - + @@ -4759,7 +4737,7 @@ 1 - + @@ -4774,15 +4752,25 @@ - Represents a geometric region of a resource. The geometry is represented currently as JSON string. true - 1 + 1 - + + + + + + + true + 0 + + @@ -4792,19 +4780,29 @@ >true 1 + + + + true + + + 1 - + + Represents a geometric region of a resource. The geometry is represented currently as JSON string. true - 0 + 1 - + @@ -4813,7 +4811,7 @@ 1 - + @@ -4833,16 +4831,7 @@ 1 - - - - - - - 1 - - + @@ -4850,15 +4839,13 @@ true - 1 + 1 - + - - 1 - + + + + 1 - + - - true 1 - + @@ -4900,7 +4887,7 @@ 1 - + @@ -4911,7 +4898,7 @@ 1 - + @@ -4922,7 +4909,7 @@ 1 - + @@ -4930,19 +4917,21 @@ true - 1 + 1 - + - 1 + true + 1 - + @@ -4950,13 +4939,14 @@ true - 1 + 1 - + + Represents a geometrical objects as JSON string 1 - + @@ -4972,10 +4962,10 @@ true - 1 + 1 - + @@ -4986,7 +4976,7 @@ 1 - + @@ -4997,11 +4987,10 @@ 1 - + - Represents a geometrical objects as JSON string true @@ -5011,31 +5000,32 @@ 1 - + - - true - 1 + 1 - + + + + Represents a timestamp true - 1 + 1 - + @@ -5046,7 +5036,7 @@ 1 - + @@ -5054,13 +5044,16 @@ true - 1 + 1 - + + + true 1 - + @@ -5079,7 +5072,7 @@ 1 - + @@ -5087,10 +5080,10 @@ true - 1 + 1 - + @@ -5098,27 +5091,24 @@ true - 1 + 1 - + - true - 1 + 1 - + - true 1 - + @@ -5137,7 +5127,7 @@ 1 - + @@ -5148,7 +5138,7 @@ 1 - + @@ -5157,10 +5147,10 @@ true - 1 + 1 - + @@ -5175,21 +5165,20 @@ - Represents a timestamp - - - Represents an integer value true - 1 + 1 - + + + + Represents an integer value 1 - + - 1 - + + 1 - + @@ -5231,7 +5220,7 @@ 1 - + @@ -5239,14 +5228,13 @@ true - 1 + 1 - + - 1 - + + true @@ -5267,7 +5256,7 @@ 1 - + @@ -5275,10 +5264,10 @@ true - 1 + 1 - + @@ -5289,7 +5278,7 @@ 1 - + @@ -5300,7 +5289,7 @@ 1 - + @@ -5311,7 +5300,7 @@ 1 - + @@ -5333,12 +5322,10 @@ 1 - + - - 1 - + + + - true - 1 + 1 - + @@ -5368,7 +5355,7 @@ 1 - + @@ -5379,7 +5366,16 @@ 1 - + + + + + + + 1 + + @@ -5390,7 +5386,7 @@ 1 - + @@ -5401,16 +5397,18 @@ 1 - + + true 1 - + @@ -5423,22 +5421,17 @@ - - - true - 1 + 1 - + - true 1 - + @@ -5457,16 +5450,18 @@ 1 - + - 1 + true + 1 - + @@ -5477,18 +5472,23 @@ 1 - + + + + + true true - 1 + 1 - + @@ -5507,10 +5507,10 @@ true - 1 + 1 - + @@ -5521,7 +5521,7 @@ 1 - + @@ -5529,10 +5529,10 @@ true - 1 + 1 - + @@ -5552,21 +5552,21 @@ - true 1 - + + true 1 - + @@ -5581,15 +5581,6 @@ - - - 1 - - - - - 1 - + - true - 1 + 1 - + - 1 + true + 1 - + + + true 1 - + @@ -5638,30 +5633,27 @@ 1 - + - true 1 - + - A reification node that describes direct links between resources true - 1 + 1 - + @@ -5669,13 +5661,14 @@ true - 1 + 1 - + + A reification node that describes direct links between resources 1 - + @@ -5694,18 +5687,16 @@ 1 - + - true 1 - + @@ -5716,7 +5707,16 @@ 1 - + + + + + + + 1 + + @@ -5727,7 +5727,7 @@ 1 - + @@ -5743,19 +5743,18 @@ 1 - + - A file containing a two-dimensional still image true - 1 + 1 - + @@ -5766,7 +5765,7 @@ 1 - + @@ -5781,41 +5780,33 @@ - - - true - 1 - - - - - 1 - + + A file containing a two-dimensional still image 1 - + - 1 + true + 1 - + @@ -5826,7 +5817,7 @@ 1 - + @@ -5837,7 +5828,7 @@ 1 - + @@ -5848,7 +5839,7 @@ 1 - + @@ -5859,7 +5850,7 @@ 1 - + @@ -5870,12 +5861,10 @@ 1 - + - true 1 - + @@ -5894,21 +5883,18 @@ 1 - + - - - + true - true - 1 + 1 - + @@ -5919,23 +5905,24 @@ 1 - + + + + true - 1 + 1 - + - - 1 - + + + 1 - + @@ -5962,10 +5951,10 @@ true - 1 + 1 - + @@ -5976,10 +5965,11 @@ 1 - + + This represents some 3D-object with mesh data, point cloud, etc. 1 - + - This represents some 3D-object with mesh data, point cloud, etc. true true - 1 + 1 - + @@ -6009,10 +5998,10 @@ true - 1 + 1 - + @@ -6023,7 +6012,7 @@ 1 - + @@ -6034,7 +6023,7 @@ 1 - + @@ -6042,10 +6031,10 @@ true - 1 + 1 - + @@ -6056,7 +6045,7 @@ 1 - + @@ -6064,10 +6053,10 @@ true - 1 + 1 - + @@ -6078,7 +6067,7 @@ 1 - + @@ -6086,10 +6075,10 @@ true - 1 + 1 - + @@ -6100,13 +6089,24 @@ 1 - + + + + true + 1 + + + + + @@ -6116,7 +6116,7 @@ 1 - + @@ -6127,7 +6127,7 @@ 1 - + @@ -6146,10 +6146,10 @@ true - 1 + 1 - + @@ -6157,10 +6157,10 @@ true - 1 + 1 - + @@ -6168,13 +6168,15 @@ true - 1 + 1 - + + true - true + + true - 1 + 1 - + - - + Represents an integer value in a TextValue 1 - + @@ -6230,11 +6231,10 @@ 1 - + - Represents an integer value in a TextValue Represents a flat or hierarchical list @@ -6258,12 +6258,10 @@ - true 1 - + @@ -6271,10 +6269,10 @@ true - 1 + 1 - + @@ -6282,10 +6280,10 @@ true - 1 + 1 - + @@ -6296,11 +6294,10 @@ 1 - + - Represents an audio file 1 - + @@ -6319,19 +6316,11 @@ 1 - - - - - - - 1 - - + + Represents an audio file true - 1 + 1 - + @@ -6358,10 +6347,10 @@ true - 1 + 1 - + @@ -6372,7 +6361,7 @@ 1 - + @@ -6380,29 +6369,24 @@ true - 1 + 1 - + - true true - 1 + 1 - + - - - 1 - + @@ -6418,13 +6402,15 @@ true - 1 + 1 - + + true 1 - + - - 1 - + + + + + + true - 1 + 1 - + @@ -6464,10 +6453,10 @@ true - 1 + 1 - + @@ -6477,9 +6466,7 @@ >true 1 - - - + true 1 - + + + true - 1 + 1 - + - Generic representation of a deleted resource that can therefore not be displayed true - 1 + 0 - + - 1 - + @@ -6550,6 +6537,7 @@ + Generic representation of a deleted resource that can therefore not be displayed 1 - + - Deleted Resource + + Deleted Resource 1 - + @@ -6588,10 +6577,10 @@ true - 0 + 1 - + @@ -6602,7 +6591,7 @@ 0 - + @@ -6613,7 +6602,7 @@ 0 - + @@ -6621,21 +6610,10 @@ true - 1 - - - - - - - - - 1 - + @@ -6646,18 +6624,22 @@ 1 - + + + + true true - 0 + 1 - + @@ -6665,26 +6647,24 @@ true - 1 + 1 - + + Representation (Text) + A resource containing a text file true - 1 - - - + 1 + - true 1 - + - Representation (Text) + true - 1 + 1 - + @@ -6712,10 +6692,10 @@ true - 1 + 0 - + @@ -6726,12 +6706,10 @@ 1 - + - A resource containing a text file - 1 - + @@ -6747,10 +6725,10 @@ true - 1 + 1 - + @@ -6761,18 +6739,16 @@ 0 - + - true - 0 + 1 - + @@ -6783,7 +6759,7 @@ 1 - + @@ -6793,7 +6769,20 @@ >true 1 - + + + + + + + + true + 0 + + + @@ -6814,7 +6803,7 @@ 1 - + @@ -6822,46 +6811,47 @@ true - 1 + 1 - + - - true - 1 + 1 - + + + + Represents a boolean value + true - 1 + 1 - + - true - 1 + 1 - + @@ -6872,7 +6862,7 @@ 1 - + @@ -6894,7 +6884,7 @@ 1 - + @@ -6905,7 +6895,7 @@ 1 - + @@ -6913,10 +6903,10 @@ true - 1 + 1 - + @@ -6924,10 +6914,10 @@ true - 1 + 1 - + @@ -6949,10 +6939,10 @@ true - 1 + 1 - + @@ -6963,7 +6953,7 @@ 1 - + @@ -6974,7 +6964,7 @@ 1 - + @@ -6985,15 +6975,12 @@ 1 - + true - Represents a boolean value - - 1 - + + + true - 1 + 1 - + @@ -7023,7 +7012,7 @@ 1 - + @@ -7031,23 +7020,19 @@ true - 1 + 1 - + - Represents an internal reference in a TextValue - - true 1 - + @@ -7058,24 +7043,23 @@ 1 - + - - true + Represents an internal reference in a TextValue true - 1 + 1 - + + 1 - + + + true 1 - + + true 1 - + - - + + + Represents a boolean in a TextValue - Represents a boolean in a TextValue @@ -7153,7 +7142,7 @@ 1 - + @@ -7164,7 +7153,7 @@ 1 - + @@ -7174,10 +7163,10 @@ true - 1 + 1 - + @@ -7188,7 +7177,18 @@ 1 - + + + + + + + true + 1 + + @@ -7200,7 +7200,7 @@ 1 - + @@ -7208,10 +7208,10 @@ true - 1 + 1 - + @@ -7222,7 +7222,7 @@ 1 - + @@ -7230,10 +7230,10 @@ true - 1 + 1 - + @@ -7244,7 +7244,7 @@ 1 - + @@ -7253,10 +7253,12 @@ Represents a moving image file + true 1 - + @@ -7267,7 +7269,7 @@ 1 - + @@ -7278,7 +7280,7 @@ 1 - + @@ -7289,7 +7291,7 @@ 1 - + @@ -7300,7 +7302,7 @@ 1 - + @@ -7311,7 +7313,7 @@ 1 - + @@ -7319,32 +7321,23 @@ true - 1 - - - - - - true - - 1 - + + true true - 1 + 1 - + @@ -7355,7 +7348,7 @@ 1 - + @@ -7366,21 +7359,18 @@ 1 - + - - - true - 1 + 1 - + @@ -7402,47 +7392,21 @@ 1 - + - - true - 1 - - - - + true - 1 - - - - - - - - 1 - - - - - - - 1 - + @@ -7453,7 +7417,7 @@ 1 - + @@ -7463,10 +7427,10 @@ true - 1 + 1 - + @@ -7474,13 +7438,15 @@ true - 1 + 1 - + + true 1 - + - true 1 - + @@ -7509,10 +7473,10 @@ true - 1 + 1 - + @@ -7523,7 +7487,7 @@ 1 - + @@ -7534,13 +7498,10 @@ 1 - + - - - 1 - + @@ -7559,7 +7520,7 @@ 1 - + @@ -7570,10 +7531,13 @@ 1 - + + + + 1 - + @@ -7589,10 +7553,10 @@ true - 1 + 1 - + @@ -7600,10 +7564,10 @@ true - 1 + 1 - + @@ -7611,10 +7575,10 @@ true - 1 + 1 - + @@ -7625,7 +7589,7 @@ 1 - + @@ -7636,25 +7600,25 @@ 1 - + - 1 + 1 - + - 1 + 1 - + @@ -7663,16 +7627,16 @@ 1 - + - 1 + 1 - + @@ -7681,7 +7645,7 @@ 1 - + @@ -7690,16 +7654,16 @@ 1 - + - 1 + 1 - + @@ -7719,14 +7683,23 @@ true - 1 + 1 + + + + + + + true + 1 - + - + true 1 - + @@ -7751,10 +7726,10 @@ true - 0 + 1 - + @@ -7762,10 +7737,10 @@ true - 1 + 1 - + @@ -7773,10 +7748,10 @@ true - 1 + 1 - + @@ -7787,7 +7762,7 @@ 1 - + @@ -7795,10 +7770,10 @@ true - 1 + 0 - + @@ -7806,10 +7781,10 @@ true - 1 + 1 - + @@ -7817,10 +7792,10 @@ true - 1 + 0 - + @@ -7832,18 +7807,16 @@ 0 - + - true - 0 + 1 - + @@ -7854,13 +7827,10 @@ 1 - + - true - a TextRepresentation representing an XSL transformation that can be applied to an XML created from standoff. The transformation's result is ecptected to be HTML. + true + a TextRepresentation representing an XSL transformation that can be applied to an XML created from standoff. The transformation's result is ecptected to be HTML. 1 - + @@ -7890,19 +7863,10 @@ 1 - + - - - true - 1 - - - 1 - + @@ -7918,12 +7882,10 @@ - true 1 - + @@ -7931,10 +7893,10 @@ true - 1 + 1 - + @@ -7945,12 +7907,10 @@ 1 - + - true 1 - + @@ -7969,10 +7929,12 @@ 1 - + + true 1 - + @@ -8002,7 +7964,7 @@ 1 - + @@ -8013,7 +7975,7 @@ 1 - + @@ -8024,11 +7986,10 @@ 1 - + - 1 - + @@ -8047,7 +8008,7 @@ 1 - + @@ -8055,19 +8016,22 @@ true - 1 + 1 - + + + true 1 - + @@ -8077,10 +8041,10 @@ true - 1 + 1 - + @@ -8088,28 +8052,32 @@ true - 1 + 1 - + - 1 + true + 1 - + + true 1 - + @@ -8117,10 +8085,10 @@ true - 1 + 1 - + @@ -8128,10 +8096,10 @@ true - 1 + 1 - + @@ -8148,12 +8116,10 @@ - true 1 - + @@ -8168,6 +8134,8 @@ + true 1 - + - true 1 - + @@ -8199,7 +8165,7 @@ 1 - + @@ -8207,10 +8173,10 @@ true - 1 + 1 - + @@ -8221,47 +8187,36 @@ 1 - + - true 1 - + A generic class for representing annotations - true true - 1 - - - - - - - - 1 + 1 - + + true + + + 1 + + + + + 1 - + - 1 + true + 1 - + - true - 1 + 0 - + + true 1 - - - + - true true - 1 - + 0 + + + @@ -8357,18 +8321,16 @@ 1 - + - true - 1 + 1 - + @@ -8376,10 +8338,10 @@ true - 0 + 1 - + @@ -8390,7 +8352,7 @@ 0 - + @@ -8401,7 +8363,7 @@ 1 - + @@ -8412,16 +8374,18 @@ 1 - + + true 1 - + @@ -8429,10 +8393,10 @@ true - 1 + 1 - + @@ -8443,7 +8407,7 @@ 1 - + @@ -8451,10 +8415,10 @@ true - 0 + 1 - + @@ -8493,57 +8457,33 @@ - true - - - - true - 1 - - - - - - - - 0 - - - - - - true 1 - + + true + 1 - + - true 1 - + @@ -8554,7 +8494,7 @@ 1 - + @@ -8565,25 +8505,29 @@ 1 - + + true 1 - + - 1 + true + 1 - + @@ -8605,7 +8549,7 @@ 1 - + @@ -8613,19 +8557,21 @@ true - 1 + 1 - + + true 1 - + @@ -8636,16 +8582,18 @@ 1 - + - 1 + true + 1 - + @@ -8656,7 +8604,7 @@ 1 - + @@ -8667,7 +8615,7 @@ 1 - + @@ -8678,7 +8626,16 @@ 1 - + + + + + + + 0 + + @@ -8687,18 +8644,25 @@ 1 - + - true 1 - + + + + + + + 1 + + @@ -9226,13 +9190,6 @@ - - The vertical dimension of a moving image file value. - - - - Moving image file value has Y dimension - Represents the start era of a date value. @@ -9433,13 +9390,6 @@ text value has max standoff start index - - The number of frames per second in a moving image file value. - - - - Moving image file value has frames per second - The URL at which the file can be accessed. @@ -9487,13 +9437,6 @@ Document file value has X dimension - - The duration of a moving image file value. - - - - Moving image file value has duration - @@ -9546,13 +9489,6 @@ URI value as URI - - The horizontal dimension of a moving image file value. - - - - Moving image file value has X dimension - Represents the literal boolean value of a BooleanValue. diff --git a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl index 9a6fa8f551..4c17d08686 100644 --- a/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/knoraApiOntologyWithValueObjects.ttl @@ -22,37 +22,42 @@ knora-api:DDDFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueAsString + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -62,32 +67,27 @@ knora-api:DDDFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:deleteDate ] ; knora-api:isValueClass true . @@ -102,19 +102,11 @@ knora-api:StandoffTag rdfs:comment "Represents a standoff markup tag" ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -122,19 +114,27 @@ knora-api:StandoffTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -150,27 +150,22 @@ knora-api:DDDRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -179,62 +174,67 @@ knora-api:DDDRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty rdfs:label + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; knora-api:isResourceClass true . @@ -246,27 +246,22 @@ knora-api:DeletedValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -275,38 +270,43 @@ knora-api:DeletedValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:versionArkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; knora-api:isValueClass true . @@ -346,22 +346,31 @@ knora-api:TextValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueHasUUID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:textValueHasMarkup ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueAsXml + owl:onProperty knora-api:textValueAsHtml + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -370,8 +379,8 @@ knora-api:TextValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -384,17 +393,13 @@ knora-api:TextValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasMarkup + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -403,16 +408,11 @@ knora-api:TextValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueAsHtml - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:textValueHasLanguage ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -421,21 +421,21 @@ knora-api:TextValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; owl:onProperty knora-api:textValueHasMapping ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:textValueAsXml + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:textValueHasLanguage + owl:onProperty knora-api:valueAsString ] ; knora-api:isValueClass true . @@ -473,15 +473,9 @@ knora-api:Annotation rdf:type owl:Class ; rdfs:comment "A generic class for representing annotations" ; rdfs:label "Annotation" ; rdfs:subClassOf knora-api:Resource ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -495,65 +489,71 @@ knora-api:Annotation rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; - owl:onProperty knora-api:isAnnotationOf + owl:onProperty knora-api:isAnnotationOfValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty rdfs:label + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:isAnnotationOfValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 1 ; - owl:onProperty knora-api:hasComment + owl:onProperty knora-api:isAnnotationOf ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -563,12 +563,12 @@ knora-api:Annotation rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true . @@ -594,15 +594,28 @@ knora-api:hasStandoffLinkToValue knora-api:LinkValue rdf:type owl:Class ; rdfs:comment "A reification node that describes direct links between resources" ; rdfs:subClassOf knora-api:Value , rdf:Statement ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:linkValueHasSource + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueCreationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:linkValueHasTarget ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -611,69 +624,56 @@ knora-api:LinkValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasTargetIri + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasSource + owl:onProperty knora-api:linkValueHasSourceIri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasTarget - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:linkValueHasTargetIri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:linkValueHasSourceIri - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; knora-api:isValueClass true . @@ -692,43 +692,43 @@ knora-api:Representation rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -737,8 +737,8 @@ knora-api:Representation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -747,37 +747,37 @@ knora-api:Representation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasFileValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; knora-api:isResourceClass true . @@ -788,17 +788,12 @@ knora-api:StandoffDataTypeTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -812,28 +807,33 @@ knora-api:StandoffDataTypeTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . @@ -849,80 +849,80 @@ knora-api:TextFileValue rdf:type owl:Class ; rdfs:comment "A text file such as plain Unicode text, LaTeX, TEI/XML, etc." ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; knora-api:isValueClass true . @@ -954,28 +954,23 @@ knora-api:ArchiveRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -984,12 +979,17 @@ knora-api:ArchiveRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -998,13 +998,13 @@ knora-api:ArchiveRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1014,32 +1014,32 @@ knora-api:ArchiveRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; knora-api:isResourceClass true . @@ -1050,62 +1050,62 @@ knora-api:StandoffIntervalTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:intervalValueHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:intervalValueHasStart ] ; knora-api:isStandoffClass true . @@ -1120,48 +1120,44 @@ knora-api:DecimalBase knora-api:DocumentFileValue rdf:type owl:Class ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:documentFileValueHasPageCount - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:documentFileValueHasDimY + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:documentFileValueHasDimX ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1170,42 +1166,46 @@ knora-api:DocumentFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:documentFileValueHasDimX - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:documentFileValueHasPageCount ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:documentFileValueHasDimY ] ; knora-api:isValueClass true . @@ -1227,10 +1227,15 @@ knora-api:DocumentRepresentation rdf:type owl:Class ; rdfs:label "Representation (Document)" ; rdfs:subClassOf knora-api:Representation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1239,28 +1244,33 @@ knora-api:DocumentRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -1269,52 +1279,42 @@ knora-api:DocumentRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; knora-api:isResourceClass true . @@ -1335,72 +1335,72 @@ knora-api:IntValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intValueAsInt + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:intValueAsInt ] ; knora-api:isValueClass true . @@ -1408,30 +1408,25 @@ knora-api:StandoffDecimalTag rdf:type owl:Class ; rdfs:comment "Represents a decimal (floating point) value in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:DecimalBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:decimalValueAsDecimal + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:decimalValueAsDecimal ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1441,27 +1436,32 @@ knora-api:StandoffDecimalTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . @@ -1525,25 +1525,20 @@ knora-api:resourceIcon knora-api:ArchiveFileValue rdf:type owl:Class ; rdfs:subClassOf knora-api:FileValue ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1553,37 +1548,42 @@ knora-api:ArchiveFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:fileValueAsUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1592,22 +1592,26 @@ knora-api:ArchiveFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:fileValueHasFilename ] ; knora-api:isValueClass true . knora-api:ListValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:listValueAsListNode + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1617,61 +1621,57 @@ knora-api:ListValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:listValueAsListNode + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; knora-api:isValueClass true . @@ -1681,58 +1681,58 @@ knora-api:StandoffIntegerTag rdfs:subClassOf knora-api:IntBase , knora-api:StandoffDataTypeTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:intValueAsInt + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:intValueAsInt ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -1765,14 +1765,6 @@ knora-api:textValueHasStandoff knora-api:objectType knora-api:StandoffTag ; knora-api:subjectType knora-api:TextValue . -knora-api:movingImageFileValueHasDimY - rdf:type owl:DatatypeProperty ; - rdfs:comment "The vertical dimension of a moving image file value." ; - rdfs:label "Moving image file value has Y dimension" ; - rdfs:subPropertyOf knora-api:valueHas ; - knora-api:objectType xsd:integer ; - knora-api:subjectType knora-api:MovingImageFileValue . - knora-api:canDo rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates whether an operation can be performed" ; rdfs:label "can do" ; @@ -1782,15 +1774,25 @@ knora-api:StandoffDateTag rdf:type owl:Class ; rdfs:comment "Represents a date in a TextValue" ; rdfs:subClassOf knora-api:DateBase , knora-api:StandoffDataTypeTag ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasStartYear + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1799,8 +1801,8 @@ knora-api:StandoffDateTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1810,72 +1812,62 @@ knora-api:StandoffDateTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:dateValueHasEndMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndMonth + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:dateValueHasStartMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:dateValueHasStartEra ] ; knora-api:isStandoffClass true . @@ -1887,37 +1879,36 @@ knora-api:StillImageRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToProject ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasStillImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1926,13 +1917,18 @@ knora-api:StillImageRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1942,36 +1938,32 @@ knora-api:StillImageRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasStillImageFileValue + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; knora-api:isResourceClass true . @@ -2003,59 +1995,59 @@ knora-api:StandoffInternalReferenceTag rdf:type owl:Class ; rdfs:comment "Represents an internal reference in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:ValueBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasInternalReference ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -2072,12 +2064,7 @@ knora-api:ColorValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2087,48 +2074,53 @@ knora-api:ColorValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:colorValueAsColor + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:valueHasUUID ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -2137,7 +2129,7 @@ knora-api:ColorValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:colorValueAsColor ] ; knora-api:isValueClass true . @@ -2167,12 +2159,17 @@ knora-api:StillImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2182,12 +2179,12 @@ knora-api:StillImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -2196,60 +2193,55 @@ knora-api:StillImageFileValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:stillImageFileValueHasIIIFBaseUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:stillImageFileValueHasDimX + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:fileValueHasFilename + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:stillImageFileValueHasDimX ] ; knora-api:isValueClass true . @@ -2328,18 +2320,10 @@ knora-api:MovingImageFileValue owl:cardinality 1 ; owl:onProperty knora-api:fileValueHasFilename ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:movingImageFileValueHasDimY - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:movingImageFileValueHasFps + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2348,71 +2332,63 @@ knora-api:MovingImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:movingImageFileValueHasDimX + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:movingImageFileValueHasDuration + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; knora-api:isValueClass true . @@ -2446,8 +2422,8 @@ knora-api:StandoffBooleanTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2457,42 +2433,42 @@ knora-api:StandoffBooleanTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:booleanValueAsBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:booleanValueAsBoolean + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; knora-api:isStandoffClass true . @@ -2503,33 +2479,42 @@ knora-api:AudioRepresentation rdfs:subClassOf knora-api:Representation ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:hasPermissions + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasAudioFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2538,23 +2523,23 @@ knora-api:AudioRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2563,35 +2548,33 @@ knora-api:AudioRepresentation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasAudioFileValue + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; knora-api:isResourceClass true . +knora-api:valueHasUUID + rdf:type owl:DatatypeProperty ; + rdfs:comment "The UUID of a value" ; + rdfs:subPropertyOf knora-api:valueHas ; + knora-api:objectType xsd:string ; + knora-api:subjectType knora-api:Value . + knora-api:MovingImageRepresentation rdf:type owl:Class ; rdfs:comment "A resource containing moving image data" ; @@ -2600,109 +2583,94 @@ knora-api:MovingImageRepresentation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:onProperty knora-api:lastModificationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasMovingImageFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:versionArkUrl ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasMovingImageFileValue + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; knora-api:isResourceClass true . -knora-api:valueHasUUID - rdf:type owl:DatatypeProperty ; - rdfs:comment "The UUID of a value" ; - rdfs:subPropertyOf knora-api:valueHas ; - knora-api:objectType xsd:string ; - knora-api:subjectType knora-api:Value . - -knora-api:movingImageFileValueHasFps - rdf:type owl:DatatypeProperty ; - rdfs:comment "The number of frames per second in a moving image file value." ; - rdfs:label "Moving image file value has frames per second" ; - rdfs:subPropertyOf knora-api:valueHas ; - knora-api:objectType xsd:integer ; - knora-api:subjectType knora-api:MovingImageFileValue . - knora-api:standoffTagHasStart rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:integer ; @@ -2717,15 +2685,20 @@ knora-api:DeletedResource rdfs:comment "Generic representation of a deleted resource that can therefore not be displayed" ; rdfs:label "Deleted Resource" ; rdfs:subClassOf knora-api:Resource ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2734,33 +2707,33 @@ knora-api:DeletedResource ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2769,38 +2742,33 @@ knora-api:DeletedResource ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToProject ] ; knora-api:isResourceClass true . @@ -2825,48 +2793,47 @@ knora-api:AudioFileValue rdfs:subClassOf knora-api:FileValue ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueAsUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:audioFileValueHasDuration ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -2875,32 +2842,33 @@ knora-api:AudioFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:fileValueHasFilename ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueAsUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:userHasPermission ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:audioFileValueHasDuration + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . @@ -2941,6 +2909,11 @@ knora-api:hasRepresentationValue knora-api:objectType knora-api:LinkValue ; knora-api:subjectType knora-api:Resource . +knora-api:standoffTagHasUUID + rdf:type owl:DatatypeProperty ; + knora-api:objectType xsd:string ; + knora-api:subjectType knora-api:StandoffTag . + knora-api:linkValueHasSourceIri rdf:type owl:DatatypeProperty ; rdfs:comment "Represents the IRI of the source resource of a link value." ; @@ -2949,11 +2922,6 @@ knora-api:linkValueHasSourceIri knora-api:objectType xsd:anyURI ; knora-api:subjectType knora-api:LinkValue . -knora-api:standoffTagHasUUID - rdf:type owl:DatatypeProperty ; - knora-api:objectType xsd:string ; - knora-api:subjectType knora-api:StandoffTag . - rdfs:label rdf:type owl:DatatypeProperty . knora-api:linkValueHasTarget @@ -2981,50 +2949,50 @@ knora-api:StandoffTimeTag rdf:type owl:Class ; rdfs:comment "Represents a timestamp in a TextValue" ; rdfs:subClassOf knora-api:StandoffDataTypeTag , knora-api:TimeBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:timeValueAsTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:timeValueAsTimeStamp + owl:onProperty knora-api:standoffTagHasStartIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3033,11 +3001,16 @@ knora-api:StandoffTimeTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; knora-api:isStandoffClass true . +knora-api:arkUrl rdf:type owl:DatatypeProperty ; + rdfs:comment "Provides the ARK URL of a resource or value." ; + rdfs:label "ARK URL" ; + knora-api:objectType xsd:anyURI . + knora-api:TimeBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; @@ -3045,25 +3018,12 @@ knora-api:TimeBase rdf:type owl:Class ; owl:onProperty knora-api:timeValueAsTimeStamp ] . -knora-api:arkUrl rdf:type owl:DatatypeProperty ; - rdfs:comment "Provides the ARK URL of a resource or value." ; - rdfs:label "ARK URL" ; - knora-api:objectType xsd:anyURI . - knora-api:Value rdf:type owl:Class ; rdfs:comment "The base class of classes representing Knora values" ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -3071,15 +3031,11 @@ knora-api:Value rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -3091,20 +3047,32 @@ knora-api:Value rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueCreationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; knora-api:isValueClass true . knora-api:StandoffUriTag @@ -3113,24 +3081,29 @@ knora-api:StandoffUriTag rdfs:subClassOf knora-api:UriBase , knora-api:StandoffDataTypeTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -3139,32 +3112,27 @@ knora-api:StandoffUriTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEnd ] ; knora-api:isStandoffClass true . @@ -3247,15 +3215,10 @@ knora-api:BooleanValue rdf:type owl:Class ; rdfs:comment "Represents a boolean value" ; rdfs:subClassOf knora-api:Value , knora-api:BooleanBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:booleanValueAsBoolean + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3265,57 +3228,62 @@ knora-api:BooleanValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:booleanValueAsBoolean ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; knora-api:isValueClass true . @@ -3324,15 +3292,10 @@ knora-api:XSLTransformation rdfs:comment "a TextRepresentation representing an XSL transformation that can be applied to an XML created from standoff. The transformation's result is ecptected to be HTML." ; rdfs:label "a TextRepresentation representing an XSL transformation that can be applied to an XML created from standoff. The transformation's result is ecptected to be HTML." ; rdfs:subClassOf knora-api:TextRepresentation ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3341,37 +3304,32 @@ knora-api:XSLTransformation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:onProperty knora-api:deleteDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasTextFileValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deletedBy ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasTextFileValue - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3381,17 +3339,17 @@ knora-api:XSLTransformation rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3400,19 +3358,29 @@ knora-api:XSLTransformation ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:versionArkUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; knora-api:isResourceClass true . knora-api:BooleanBase @@ -3437,17 +3405,17 @@ knora-api:StandoffColorTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:colorValueAsColor + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3457,17 +3425,17 @@ knora-api:StandoffColorTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:colorValueAsColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3477,17 +3445,17 @@ knora-api:StandoffColorTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; knora-api:isStandoffClass true . @@ -3498,14 +3466,6 @@ knora-api:valueHasComment knora-api:objectType xsd:string ; knora-api:subjectType knora-api:Value . -knora-api:movingImageFileValueHasDimX - rdf:type owl:DatatypeProperty ; - rdfs:comment "The horizontal dimension of a moving image file value." ; - rdfs:label "Moving image file value has X dimension" ; - rdfs:subPropertyOf knora-api:valueHas ; - knora-api:objectType xsd:integer ; - knora-api:subjectType knora-api:MovingImageFileValue . - knora-api:ListNode rdf:type owl:Class ; rdfs:comment "Represents a flat or hierarchical list" ; rdfs:subClassOf [ rdf:type owl:Restriction ; @@ -3581,27 +3541,32 @@ knora-api:GeomValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:geometryValueAsGeometry ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:valueCreationDate ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:geometryValueAsGeometry + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3616,27 +3581,22 @@ knora-api:GeomValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3645,45 +3605,29 @@ knora-api:GeomValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . knora-api:Resource rdf:type owl:Class ; rdfs:comment "Represents something in the world, or an abstract thing" ; rdfs:label "Resource" ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -3691,36 +3635,52 @@ knora-api:Resource rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; owl:onProperty knora-api:hasStandoffLinkTo ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy + ] ; knora-api:isResourceClass true . knora-api:valueAsString @@ -3764,94 +3724,94 @@ knora-api:TextRepresentation rdfs:comment "A resource containing a text file" ; rdfs:label "Representation (Text)" ; rdfs:subClassOf knora-api:Representation ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasTextFileValue + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty rdfs:label ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasTextFileValue + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:lastModificationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:onProperty knora-api:hasStandoffLinkToValue ] ; knora-api:isResourceClass true . @@ -3909,6 +3869,16 @@ knora-api:StandoffLinkTag rdf:type owl:Class ; rdfs:comment "Represents a reference to a Knora resource in a TextValue" ; rdfs:subClassOf knora-api:StandoffTag ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasLink @@ -3921,27 +3891,22 @@ knora-api:StandoffLinkTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -3951,17 +3916,12 @@ knora-api:StandoffLinkTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -3969,49 +3929,50 @@ knora-api:lastModificationDate rdf:type owl:DatatypeProperty ; knora-api:objectType xsd:dateTimeStamp . -knora-api:movingImageFileValueHasDuration - rdf:type owl:DatatypeProperty ; - rdfs:comment "The duration of a moving image file value." ; - rdfs:label "Moving image file value has duration" ; - rdfs:subPropertyOf knora-api:valueHas ; - knora-api:objectType xsd:decimal ; - knora-api:subjectType knora-api:MovingImageFileValue . - knora-api:FileValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:fileValueAsUrl ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:fileValueHasFilename + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4020,8 +3981,8 @@ knora-api:FileValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4031,26 +3992,17 @@ knora-api:FileValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:fileValueHasFilename + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:valueHasUUID ] ; knora-api:isValueClass true . @@ -4080,7 +4032,7 @@ knora-api:UriValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4089,48 +4041,48 @@ knora-api:UriValue rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:uriValueAsUri + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:uriValueAsUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4140,12 +4092,12 @@ knora-api:UriValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; knora-api:isValueClass true . @@ -4169,12 +4121,12 @@ knora-api:DecimalValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:decimalValueAsDecimal + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4184,12 +4136,12 @@ knora-api:DecimalValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4199,12 +4151,12 @@ knora-api:DecimalValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4213,13 +4165,13 @@ knora-api:DecimalValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4228,8 +4180,8 @@ knora-api:DecimalValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:decimalValueAsDecimal ] ; knora-api:isValueClass true . @@ -4283,82 +4235,82 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deletedBy + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasStartEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartDay + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:dateValueHasEndDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:onProperty knora-api:dateValueHasEndEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasCalendar - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:onProperty knora-api:dateValueHasStartYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:dateValueHasStartDay ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:dateValueHasCalendar ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4368,22 +4320,22 @@ knora-api:DateValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasEndDay + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:arkUrl ] ; knora-api:isValueClass true . @@ -4409,42 +4361,32 @@ knora-api:IntervalValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:intervalValueHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasEnd - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:intervalValueHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4454,28 +4396,38 @@ knora-api:IntervalValue rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:intervalValueHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -4496,17 +4448,17 @@ knora-api:standoffTagHasLink knora-api:objectType knora-api:Resource ; knora-api:subjectType knora-api:StandoffLinkTag . -knora-api:deleteComment - rdf:type owl:DatatypeProperty ; - rdfs:comment "A comment explaining why a resource or value was marked as deleted" ; - knora-api:objectType xsd:string . - knora-api:creationDate rdf:type owl:DatatypeProperty ; rdfs:comment "Indicates when a resource was created" ; knora-api:objectType xsd:dateTimeStamp ; knora-api:subjectType knora-api:Resource . +knora-api:deleteComment + rdf:type owl:DatatypeProperty ; + rdfs:comment "A comment explaining why a resource or value was marked as deleted" ; + knora-api:objectType xsd:string . + knora-api:standoffTagHasEndParent rdf:type owl:ObjectProperty ; knora-api:objectType knora-api:StandoffTag ; @@ -4552,23 +4504,28 @@ knora-api:TimeValue rdf:type owl:Class ; rdfs:subClassOf knora-api:Value , knora-api:TimeBase ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueAsString ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueCreationDate + owl:onProperty knora-api:arkUrl + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4578,47 +4535,42 @@ knora-api:TimeValue rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:cardinality 1 ; + owl:onProperty knora-api:timeValueAsTimeStamp ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueAsString + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:timeValueAsTimeStamp - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:onProperty knora-api:valueCreationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:onProperty knora-api:deletedBy ] ; knora-api:isValueClass true . @@ -4648,37 +4600,38 @@ knora-api:LinkObj rdf:type owl:Class ; rdfs:subClassOf knora-api:Resource ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate + owl:cardinality 1 ; + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:isDeleted + owl:cardinality 1 ; + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasLinkTo + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue + owl:cardinality 1 ; + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:creationDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4687,13 +4640,8 @@ knora-api:LinkObj rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4702,8 +4650,12 @@ knora-api:LinkObj rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkToValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:minCardinality 0 ; @@ -4712,36 +4664,36 @@ knora-api:LinkObj rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasLinkToValue + owl:onProperty knora-api:hasStandoffLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:creationDate + owl:onProperty knora-api:attachedToUser + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasLinkTo ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:isDeleted ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; @@ -4773,26 +4725,16 @@ knora-api:GeonameValue owl:cardinality 1 ; owl:onProperty knora-api:geonameValueAsGeonameCode ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:valueHasComment - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty knora-api:valueHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:deleteComment ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:hasPermissions - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -4805,54 +4747,60 @@ knora-api:GeonameValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:cardinality 1 ; + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:attachedToUser ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToUser + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:valueHasUUID + owl:onProperty knora-api:hasPermissions ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:maxCardinality 1 ; + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:valueHasComment + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteDate + ] ; knora-api:isValueClass true . knora-api:DateBase rdf:type owl:Class ; rdfs:subClassOf knora-api:ValueBase ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:dateValueHasStartMonth - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartEra + owl:onProperty knora-api:dateValueHasEndEra ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasStartYear + owl:onProperty knora-api:dateValueHasEndYear ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -4860,11 +4808,11 @@ knora-api:DateBase rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndYear + owl:onProperty knora-api:dateValueHasStartYear ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:dateValueHasEndEra + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:dateValueHasStartMonth ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:maxCardinality 1 ; @@ -4877,12 +4825,21 @@ knora-api:DateBase rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; owl:onProperty knora-api:dateValueHasCalendar + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:dateValueHasStartEra ] . knora-api:Region rdf:type owl:Class ; rdfs:comment "Represents a geometric region of a resource. The geometry is represented currently as JSON string." ; rdfs:label "Region" ; rdfs:subClassOf knora-api:Resource ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:minCardinality 0 ; + owl:onProperty knora-api:hasStandoffLinkTo + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -4895,36 +4852,23 @@ knora-api:Region rdf:type owl:Class ; ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteDate + owl:cardinality 1 ; + owl:onProperty knora-api:userHasPermission ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:versionDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:cardinality 1 ; - owl:onProperty knora-api:isRegionOf + owl:onProperty knora-api:deletedBy ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:lastModificationDate - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkTo + owl:onProperty knora-api:versionDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:minCardinality 0 ; - owl:onProperty knora-api:hasIncomingLinkValue - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasGeometry + owl:onProperty knora-api:hasStandoffLinkToValue ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; @@ -4933,41 +4877,50 @@ knora-api:Region rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deleteComment + owl:onProperty knora-api:deleteDate ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:userHasPermission + owl:onProperty rdfs:label ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:minCardinality 1 ; - owl:onProperty knora-api:hasComment + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:cardinality 1 ; + owl:onProperty knora-api:hasColor ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty rdfs:label + owl:minCardinality 0 ; + owl:onProperty knora-api:hasIncomingLinkValue + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:deleteComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:attachedToProject + owl:onProperty knora-api:arkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:minCardinality 0 ; - owl:onProperty knora-api:hasStandoffLinkToValue + owl:cardinality 1 ; + owl:onProperty knora-api:versionArkUrl ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:isDeleted ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasGeometry + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:arkUrl + owl:onProperty knora-api:attachedToProject ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -4977,16 +4930,15 @@ knora-api:Region rdf:type owl:Class ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:deletedBy + owl:onProperty knora-api:lastModificationDate + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:minCardinality 1 ; + owl:onProperty knora-api:hasComment ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; owl:cardinality 1 ; - owl:onProperty knora-api:hasColor - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:versionArkUrl + owl:onProperty knora-api:isRegionOf ] ; knora-api:canBeInstantiated true ; knora-api:isResourceClass true ; diff --git a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl index 8ab9329e45..4433e2a1b4 100644 --- a/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl +++ b/test_data/ontologyR2RV2/standoffOntologyWithValueObjects.ttl @@ -13,22 +13,27 @@ standoff:StandoffParagraphTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -38,17 +43,12 @@ standoff:StandoffParagraphTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -58,7 +58,7 @@ standoff:StandoffParagraphTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -68,23 +68,23 @@ standoff:StandoffTableCellTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -93,28 +93,28 @@ standoff:StandoffTableCellTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -122,15 +122,10 @@ standoff:StandoffBlockquoteTag rdf:type owl:Class ; rdfs:comment "Represents a section that is quoted from another source in a text" ; rdfs:subClassOf standoff:StandoffStructuralTag ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -139,98 +134,103 @@ standoff:StandoffBlockquoteTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent + ] ; knora-api:isStandoffClass true . standoff:StandoffRootTag rdf:type owl:Class ; rdfs:comment "Represents the root node if the TextValue has been created from XML" ; rdfs:subClassOf knora-api:StandoffTag ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasStartParent ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty standoff:standoffRootTagHasDocumentType + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty standoff:standoffRootTagHasDocumentType + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; knora-api:isStandoffClass true . @@ -241,37 +241,32 @@ standoff:StandoffCiteTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -281,12 +276,17 @@ standoff:StandoffCiteTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; knora-api:isStandoffClass true . @@ -296,18 +296,18 @@ standoff:StandoffHeader4Tag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -317,32 +317,32 @@ standoff:StandoffHeader4Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; knora-api:isStandoffClass true . @@ -358,8 +358,8 @@ standoff:StandoffVisualTag rdfs:subClassOf knora-api:StandoffTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -368,13 +368,13 @@ standoff:StandoffVisualTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -384,27 +384,27 @@ standoff:StandoffVisualTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -417,20 +417,15 @@ standoff:StandoffSubscriptTag owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -439,14 +434,19 @@ standoff:StandoffSubscriptTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -455,12 +455,12 @@ standoff:StandoffSubscriptTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; knora-api:isStandoffClass true . @@ -468,64 +468,64 @@ standoff:StandoffHyperlinkTag rdf:type owl:Class ; rdfs:comment "Represents a hyperlink in a text" ; rdfs:subClassOf knora-api:StandoffUriTag ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - owl:maxCardinality 1 ; - owl:onProperty standoff:standoffHyperlinkTagHasTarget + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:uriValueAsUri + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStart ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + owl:maxCardinality 1 ; + owl:onProperty standoff:standoffHyperlinkTagHasTarget + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:uriValueAsUri ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; knora-api:isStandoffClass true . @@ -535,48 +535,48 @@ standoff:StandoffTableRowTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -594,35 +594,30 @@ standoff:StandoffHeader3Tag owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasStartIndex ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -632,24 +627,24 @@ standoff:StandoffHeader3Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasUUID ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex + ] ; knora-api:isStandoffClass true . standoff:StandoffBoldTag rdf:type owl:Class ; rdfs:comment "Represents bold text in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -658,32 +653,32 @@ standoff:StandoffBoldTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -695,6 +690,11 @@ standoff:StandoffBoldTag owl:cardinality 1 ; owl:onProperty knora-api:standoffTagHasEnd ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart + ] ; knora-api:isStandoffClass true . standoff:StandoffLineTag @@ -703,33 +703,33 @@ standoff:StandoffLineTag rdfs:subClassOf standoff:StandoffVisualTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -744,7 +744,7 @@ standoff:StandoffLineTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -759,18 +759,18 @@ standoff:StandoffBrTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -780,7 +780,7 @@ standoff:StandoffBrTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -794,18 +794,18 @@ standoff:StandoffBrTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; knora-api:isStandoffClass true . @@ -813,11 +813,6 @@ standoff:StandoffPreTag rdf:type owl:Class ; rdfs:comment "Represents a preformatted content in a TextValue" ; rdfs:subClassOf standoff:StandoffVisualTag ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -826,32 +821,32 @@ standoff:StandoffPreTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -861,7 +856,12 @@ standoff:StandoffPreTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParent + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . @@ -872,32 +872,32 @@ standoff:StandoffTableTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -906,18 +906,18 @@ standoff:StandoffTableTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -933,23 +933,18 @@ standoff:StandoffHeader2Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -957,8 +952,8 @@ standoff:StandoffHeader2Tag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -968,12 +963,17 @@ standoff:StandoffHeader2Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; knora-api:isStandoffClass true . @@ -984,17 +984,17 @@ standoff:StandoffSuperscriptTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1003,33 +1003,33 @@ standoff:StandoffSuperscriptTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; knora-api:isStandoffClass true . @@ -1040,52 +1040,52 @@ standoff:StandoffItalicTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasUUID ] ; knora-api:isStandoffClass true . @@ -1096,27 +1096,27 @@ standoff:StandoffTableBodyTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1125,8 +1125,8 @@ standoff:StandoffTableBodyTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1135,13 +1135,13 @@ standoff:StandoffTableBodyTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; knora-api:isStandoffClass true . @@ -1151,23 +1151,23 @@ standoff:StandoffHeader1Tag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1176,28 +1176,28 @@ standoff:StandoffHeader1Tag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -1208,37 +1208,37 @@ standoff:StandoffStructuralTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1247,13 +1247,13 @@ standoff:StandoffStructuralTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasEndIndex ] ; knora-api:isStandoffClass true . @@ -1264,12 +1264,12 @@ standoff:StandoffListElementTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1278,13 +1278,13 @@ standoff:StandoffListElementTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1294,7 +1294,7 @@ standoff:StandoffListElementTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1304,12 +1304,12 @@ standoff:StandoffListElementTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -1327,6 +1327,11 @@ standoff:StandoffStrikethroughTag owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID + ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; @@ -1334,13 +1339,13 @@ standoff:StandoffStrikethroughTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1354,19 +1359,14 @@ standoff:StandoffStrikethroughTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasEndIndex ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex - ] ; knora-api:isStandoffClass true . standoff:StandoffUnorderedListTag @@ -1375,43 +1375,43 @@ standoff:StandoffUnorderedListTag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1420,8 +1420,8 @@ standoff:StandoffUnorderedListTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; knora-api:isStandoffClass true . @@ -1431,8 +1431,8 @@ standoff:StandoffHeader6Tag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1441,18 +1441,18 @@ standoff:StandoffHeader6Tag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1462,17 +1462,17 @@ standoff:StandoffHeader6Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1488,12 +1488,12 @@ standoff:StandoffUnderlineTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1502,38 +1502,38 @@ standoff:StandoffUnderlineTag ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndIndex ] ; knora-api:isStandoffClass true . @@ -1544,7 +1544,12 @@ standoff:StandoffCodeTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:onProperty knora-api:standoffTagHasStart + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1559,17 +1564,17 @@ standoff:StandoffCodeTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1581,11 +1586,6 @@ standoff:StandoffCodeTag owl:maxCardinality 1 ; owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; @@ -1600,52 +1600,52 @@ standoff:StandoffOrderedListTag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:onProperty knora-api:standoffTagHasEnd ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasEnd + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParent ] ; knora-api:isStandoffClass true . @@ -1661,23 +1661,18 @@ standoff:StandoffHeader5Tag rdfs:subClassOf standoff:StandoffStructuralTag ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParentIndex - ] ; - rdfs:subClassOf [ rdf:type owl:Restriction ; - knora-api:isInherited true ; - owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndIndex + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasUUID ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParent + owl:onProperty knora-api:standoffTagHasEndParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasUUID + owl:onProperty knora-api:standoffTagHasStartIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; @@ -1687,27 +1682,32 @@ standoff:StandoffHeader5Tag rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartParentIndex + owl:onProperty knora-api:standoffTagHasEndIndex + ] ; + rdfs:subClassOf [ rdf:type owl:Restriction ; + knora-api:isInherited true ; + owl:cardinality 1 ; + owl:onProperty knora-api:standoffTagHasStart ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasOriginalXMLID + owl:onProperty knora-api:standoffTagHasStartParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStartIndex + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasEndParent ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; - owl:cardinality 1 ; - owl:onProperty knora-api:standoffTagHasStart + owl:maxCardinality 1 ; + owl:onProperty knora-api:standoffTagHasStartParentIndex ] ; rdfs:subClassOf [ rdf:type owl:Restriction ; knora-api:isInherited true ; owl:maxCardinality 1 ; - owl:onProperty knora-api:standoffTagHasEndParent + owl:onProperty knora-api:standoffTagHasOriginalXMLID ] ; knora-api:isStandoffClass true . diff --git a/webapi/src/main/scala/org/knora/webapi/messages/OntologyConstants.scala b/webapi/src/main/scala/org/knora/webapi/messages/OntologyConstants.scala index 3fd84eb179..759f18641c 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/OntologyConstants.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/OntologyConstants.scala @@ -940,11 +940,6 @@ object OntologyConstants { val DocumentFileValueHasDimX: IRI = KnoraApiV2PrefixExpansion + "documentFileValueHasDimX" val DocumentFileValueHasDimY: IRI = KnoraApiV2PrefixExpansion + "documentFileValueHasDimY" - val MovingImageFileValueHasDimX: IRI = KnoraApiV2PrefixExpansion + "movingImageFileValueHasDimX" - val MovingImageFileValueHasDimY: IRI = KnoraApiV2PrefixExpansion + "movingImageFileValueHasDimY" - val MovingImageFileValueHasFps: IRI = KnoraApiV2PrefixExpansion + "movingImageFileValueHasFps" - val MovingImageFileValueHasDuration: IRI = KnoraApiV2PrefixExpansion + "movingImageFileValueHasDuration" - val AudioFileValueHasDuration: IRI = KnoraApiV2PrefixExpansion + "audioFileValueHasDuration" val IntervalValueHasStart: IRI = KnoraApiV2PrefixExpansion + "intervalValueHasStart" diff --git a/webapi/src/main/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2.scala b/webapi/src/main/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2.scala index 6784bd205b..418d7d2681 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/util/ConstructResponseUtilV2.scala @@ -1085,14 +1085,6 @@ object ConstructResponseUtilV2 { MovingImageFileValueContentV2( ontologySchema = InternalSchema, fileValue = fileValue, - dimX = valueObject.requireIntObject(OntologyConstants.KnoraBase.DimX.toSmartIri), - dimY = valueObject.requireIntObject(OntologyConstants.KnoraBase.DimY.toSmartIri), - fps = valueObject - .maybeStringObject(OntologyConstants.KnoraBase.Fps.toSmartIri) - .map(definedFps => BigDecimal(definedFps)), - duration = valueObject - .maybeStringObject(OntologyConstants.KnoraBase.Duration.toSmartIri) - .map(definedDuration => BigDecimal(definedDuration)), comment = valueCommentOption ) ) diff --git a/webapi/src/main/scala/org/knora/webapi/messages/v1/responder/valuemessages/ValueMessagesV1.scala b/webapi/src/main/scala/org/knora/webapi/messages/v1/responder/valuemessages/ValueMessagesV1.scala index ac1fa87683..e9ee1a3199 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/v1/responder/valuemessages/ValueMessagesV1.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/v1/responder/valuemessages/ValueMessagesV1.scala @@ -1775,11 +1775,7 @@ case class MovingImageFileValueV1( internalMimeType = internalMimeType, originalFilename = originalFilename, originalMimeType = Some(internalMimeType) - ), - dimX = dimX, - dimY = dimY, - fps = fps, - duration = duration + ) ) } diff --git a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/ontologymessages/KnoraBaseToApiV2ComplexTransformationRules.scala b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/ontologymessages/KnoraBaseToApiV2ComplexTransformationRules.scala index 15c0994eac..fd738e2e2e 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/ontologymessages/KnoraBaseToApiV2ComplexTransformationRules.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/ontologymessages/KnoraBaseToApiV2ComplexTransformationRules.scala @@ -1433,94 +1433,6 @@ object KnoraBaseToApiV2ComplexTransformationRules extends OntologyTransformation ) ) - private val MovingImageFileValueHasDimX: ReadPropertyInfoV2 = makeProperty( - propertyIri = OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimX, - propertyType = OntologyConstants.Owl.DatatypeProperty, - subPropertyOf = Set(OntologyConstants.KnoraApiV2Complex.ValueHas), - subjectType = Some(OntologyConstants.KnoraApiV2Complex.MovingImageFileValue), - objectType = Some(OntologyConstants.Xsd.Integer), - predicates = Seq( - makePredicate( - predicateIri = OntologyConstants.Rdfs.Label, - objectsWithLang = Map( - LanguageCodes.EN -> "Moving image file value has X dimension" - ) - ), - makePredicate( - predicateIri = OntologyConstants.Rdfs.Comment, - objectsWithLang = Map( - LanguageCodes.EN -> "The horizontal dimension of a moving image file value." - ) - ) - ) - ) - - private val MovingImageFileValueHasDimY: ReadPropertyInfoV2 = makeProperty( - propertyIri = OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimY, - propertyType = OntologyConstants.Owl.DatatypeProperty, - subPropertyOf = Set(OntologyConstants.KnoraApiV2Complex.ValueHas), - subjectType = Some(OntologyConstants.KnoraApiV2Complex.MovingImageFileValue), - objectType = Some(OntologyConstants.Xsd.Integer), - predicates = Seq( - makePredicate( - predicateIri = OntologyConstants.Rdfs.Label, - objectsWithLang = Map( - LanguageCodes.EN -> "Moving image file value has Y dimension" - ) - ), - makePredicate( - predicateIri = OntologyConstants.Rdfs.Comment, - objectsWithLang = Map( - LanguageCodes.EN -> "The vertical dimension of a moving image file value." - ) - ) - ) - ) - - private val MovingImageFileValueHasFps: ReadPropertyInfoV2 = makeProperty( - propertyIri = OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasFps, - propertyType = OntologyConstants.Owl.DatatypeProperty, - subPropertyOf = Set(OntologyConstants.KnoraApiV2Complex.ValueHas), - subjectType = Some(OntologyConstants.KnoraApiV2Complex.MovingImageFileValue), - objectType = Some(OntologyConstants.Xsd.Integer), - predicates = Seq( - makePredicate( - predicateIri = OntologyConstants.Rdfs.Label, - objectsWithLang = Map( - LanguageCodes.EN -> "Moving image file value has frames per second" - ) - ), - makePredicate( - predicateIri = OntologyConstants.Rdfs.Comment, - objectsWithLang = Map( - LanguageCodes.EN -> "The number of frames per second in a moving image file value." - ) - ) - ) - ) - - private val MovingImageFileValueHasDuration: ReadPropertyInfoV2 = makeProperty( - propertyIri = OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDuration, - propertyType = OntologyConstants.Owl.DatatypeProperty, - subPropertyOf = Set(OntologyConstants.KnoraApiV2Complex.ValueHas), - subjectType = Some(OntologyConstants.KnoraApiV2Complex.MovingImageFileValue), - objectType = Some(OntologyConstants.Xsd.Decimal), - predicates = Seq( - makePredicate( - predicateIri = OntologyConstants.Rdfs.Label, - objectsWithLang = Map( - LanguageCodes.EN -> "Moving image file value has duration" - ) - ), - makePredicate( - predicateIri = OntologyConstants.Rdfs.Comment, - objectsWithLang = Map( - LanguageCodes.EN -> "The duration of a moving image file value." - ) - ) - ) - ) - private val AudioFileValueHasDuration: ReadPropertyInfoV2 = makeProperty( propertyIri = OntologyConstants.KnoraApiV2Complex.AudioFileValueHasDuration, propertyType = OntologyConstants.Owl.DatatypeProperty, @@ -1650,13 +1562,6 @@ object KnoraBaseToApiV2ComplexTransformationRules extends OntologyTransformation OntologyConstants.KnoraApiV2Complex.DocumentFileValueHasDimY -> Cardinality.MayHaveOne ) - private val MovingImageFileValueCardinalities = Map( - OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimX -> Cardinality.MustHaveOne, - OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimY -> Cardinality.MustHaveOne, - OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasFps -> Cardinality.MustHaveOne, - OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDuration -> Cardinality.MustHaveOne - ) - private val AudioFileValueCardinalities = Map( OntologyConstants.KnoraApiV2Complex.AudioFileValueHasDuration -> Cardinality.MustHaveOne ) @@ -1767,7 +1672,6 @@ object KnoraBaseToApiV2ComplexTransformationRules extends OntologyTransformation OntologyConstants.KnoraApiV2Complex.FileValue -> FileValueCardinalities, OntologyConstants.KnoraApiV2Complex.StillImageFileValue -> StillImageFileValueCardinalities, OntologyConstants.KnoraApiV2Complex.DocumentFileValue -> DocumentFileValueCardinalities, - OntologyConstants.KnoraApiV2Complex.MovingImageFileValue -> MovingImageFileValueCardinalities, OntologyConstants.KnoraApiV2Complex.AudioFileValue -> AudioFileValueCardinalities ).map { case (classIri, cardinalities) => classIri.toSmartIri -> cardinalities.map { case (propertyIri, cardinality) => @@ -1852,10 +1756,6 @@ object KnoraBaseToApiV2ComplexTransformationRules extends OntologyTransformation DocumentFileValueHasDimX, DocumentFileValueHasDimY, DocumentFileValueHasPageCount, - MovingImageFileValueHasDimX, - MovingImageFileValueHasDimY, - MovingImageFileValueHasFps, - MovingImageFileValueHasDuration, AudioFileValueHasDuration ).map { propertyInfo => propertyInfo.entityInfoContent.propertyIri -> propertyInfo diff --git a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala index d5ce233911..ffbcd2868e 100644 --- a/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala +++ b/webapi/src/main/scala/org/knora/webapi/messages/v2/responder/valuemessages/ValueMessagesV2.scala @@ -3768,10 +3768,6 @@ object AudioFileValueContentV2 extends ValueContentReaderV2[AudioFileValueConten case class MovingImageFileValueContentV2( ontologySchema: OntologySchema, fileValue: FileValueV2, - dimX: Int, - dimY: Int, - fps: Option[BigDecimal] = None, - duration: Option[BigDecimal] = None, comment: Option[String] = None ) extends FileValueContentV2 { override def valueType: SmartIri = { @@ -3797,10 +3793,7 @@ case class MovingImageFileValueContentV2( case ApiV2Complex => JsonLDObject( - toJsonLDObjectMapInComplexSchema(fileUrl) ++ Map( - OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimX -> JsonLDInt(dimX), - OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimY -> JsonLDInt(dimY) - ) + toJsonLDObjectMapInComplexSchema(fileUrl) ) } } @@ -3859,12 +3852,6 @@ object MovingImageFileValueContentV2 extends ValueContentReaderV2[MovingImageFil } yield MovingImageFileValueContentV2( ontologySchema = ApiV2Complex, fileValue = fileValueWithSipiMetadata.fileValue, - duration = fileValueWithSipiMetadata.sipiFileMetadata.duration, - dimX = fileValueWithSipiMetadata.sipiFileMetadata.width - .getOrElse(throw SipiException(s"Sipi did not return the video width")), - dimY = fileValueWithSipiMetadata.sipiFileMetadata.height - .getOrElse(throw SipiException(s"Sipi did not return the video height")), - fps = fileValueWithSipiMetadata.sipiFileMetadata.fps, comment = getComment(jsonLDObject) ) } diff --git a/webapi/src/main/scala/org/knora/webapi/store/iiif/SipiConnector.scala b/webapi/src/main/scala/org/knora/webapi/store/iiif/SipiConnector.scala index 26ec305bec..031ed14476 100644 --- a/webapi/src/main/scala/org/knora/webapi/store/iiif/SipiConnector.scala +++ b/webapi/src/main/scala/org/knora/webapi/store/iiif/SipiConnector.scala @@ -107,6 +107,7 @@ class SipiConnector extends Actor with ActorLogging { * @param height the file's height in pixels, if applicable. * @param numpages the number of pages in the file, if applicable. * @param duration the duration of the file in seconds, if applicable. + * @param fps the frame rate of the file, if applicable. */ case class SipiKnoraJsonResponse( originalFilename: Option[String], diff --git a/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/generateInsertStatementsForValueContent.scala.txt b/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/generateInsertStatementsForValueContent.scala.txt index 9417aa7895..5d555ba506 100644 --- a/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/generateInsertStatementsForValueContent.scala.txt +++ b/webapi/src/main/twirl/org/knora/webapi/messages/twirl/queries/sparql/v2/generateInsertStatementsForValueContent.scala.txt @@ -202,25 +202,6 @@ } - case videoFileValue: MovingImageFileValueContentV2 => { - <@newValueIri> knora-base:dimX @videoFileValue.dimX ; - knora-base:dimY @videoFileValue.dimY . - @videoFileValue.duration match { - case Some(definedDuration) => { - <@newValueIri> knora-base:duration @definedDuration . - } - - case None => {} - } - @videoFileValue.fps match { - case Some(definedFps) => { - <@newValueIri> knora-base:fps @definedFps . - } - - case None => {} - } - } - case _ => {} } } diff --git a/webapi/src/test/resources/logback-test.xml b/webapi/src/test/resources/logback-test.xml index decde01e8b..f0b810d34d 100644 --- a/webapi/src/test/resources/logback-test.xml +++ b/webapi/src/test/resources/logback-test.xml @@ -99,11 +99,15 @@ + + + + diff --git a/webapi/src/test/scala/org/knora/webapi/ITKnoraLiveSpec.scala b/webapi/src/test/scala/org/knora/webapi/ITKnoraLiveSpec.scala index 2b73a23e57..f58293fbfa 100644 --- a/webapi/src/test/scala/org/knora/webapi/ITKnoraLiveSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/ITKnoraLiveSpec.scala @@ -113,9 +113,12 @@ class ITKnoraLiveSpec(_system: ActorSystem) loadTestData(rdfDataObjects) } - override def afterAll(): Unit = + override def afterAll(): Unit = { + // turn on/off in logback-test.xml + log.debug(TestContainersAll.SipiContainer.getLogs()) /* Stop the server when everything else has finished */ TestKit.shutdownActorSystem(system) + } protected def checkIfSipiIsRunning(): Unit = { // This requires that (1) fileserver.docroot is set in Sipi's config file and (2) it contains a file test.html. diff --git a/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala b/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala index b130250ee9..d730c3253c 100644 --- a/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/e2e/v2/OntologyV2R2RSpec.scala @@ -131,7 +131,6 @@ class OntologyV2R2RSpec extends R2RSpec { if (!disableWrite) { val fileSuffix = mediaType.fileExtensions.head val newOutputFile = Paths.get("..", "test_data", "ontologyR2RV2", s"$fileBasename.$fileSuffix") - Files.createDirectories(newOutputFile.getParent) FileUtil.writeTextFile(newOutputFile, responseStr) diff --git a/webapi/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala b/webapi/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala index 191e28a865..41fd551949 100644 --- a/webapi/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala +++ b/webapi/src/test/scala/org/knora/webapi/it/v2/KnoraSipiIntegrationV2ITSpec.scala @@ -117,7 +117,7 @@ class KnoraSipiIntegrationV2ITSpec private val testVideoOriginalFilename = "testVideo.mp4" private val pathToTestVideo = Paths.get("..", s"test_data/test_route/files/$testVideoOriginalFilename") - private val testVideo2OriginalFilename = "test.wav" + private val testVideo2OriginalFilename = "testVideo2.mp4" private val pathToTestVideo2 = Paths.get("..", s"test_data/test_route/files/$testVideo2OriginalFilename") private val thingDocumentIRI = "http://0.0.0.0:3333/ontology/0001/anything/v2#ThingDocument" @@ -178,11 +178,7 @@ class KnoraSipiIntegrationV2ITSpec */ case class SavedVideoFile( internalFilename: String, - url: String, - dimX: Int, - dimY: Int, - duration: Option[BigDecimal], - fps: Option[BigDecimal] + url: String ) /** @@ -356,28 +352,15 @@ class KnoraSipiIntegrationV2ITSpec validationFun = stringFormatter.toSparqlEncodedString ) - val dimY = savedValue.requireInt(OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimY) - val dimX = savedValue.requireInt(OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasDimX) - val duration: Option[BigDecimal] = savedValue.maybeDatatypeValueInObject( key = OntologyConstants.KnoraApiV2Complex.AudioFileValueHasDuration, expectedDatatype = OntologyConstants.Xsd.Decimal.toSmartIri, validationFun = stringFormatter.validateBigDecimal ) - val fps: Option[BigDecimal] = savedValue.maybeDatatypeValueInObject( - key = OntologyConstants.KnoraApiV2Complex.MovingImageFileValueHasFps, - expectedDatatype = OntologyConstants.Xsd.Decimal.toSmartIri, - validationFun = stringFormatter.validateBigDecimal - ) - SavedVideoFile( internalFilename = internalFilename, - url = url, - dimX = dimX, - dimY = dimY, - duration = duration, - fps = fps + url = url ) } @@ -1277,8 +1260,7 @@ class KnoraSipiIntegrationV2ITSpec checkResponseOK(sipiGetFileRequest) } - //TODO: activate the following two tests after support of video files is added to sipi - "create a resource with a video file" ignore { + "create a resource with a video file" in { // Upload the file to Sipi. val sipiUploadResponse: SipiUploadResponse = uploadToSipi( loginToken = loginToken, @@ -1335,7 +1317,7 @@ class KnoraSipiIntegrationV2ITSpec checkResponseOK(sipiGetFileRequest) } - "change a video file value" ignore { + "change a video file value" in { // Upload the file to Sipi. val sipiUploadResponse: SipiUploadResponse = uploadToSipi( loginToken = loginToken, diff --git a/webapi/src/test/scala/org/knora/webapi/models/filemodels/FileModelUtil.scala b/webapi/src/test/scala/org/knora/webapi/models/filemodels/FileModelUtil.scala index 0a27da8d7d..63b6e7dbd5 100644 --- a/webapi/src/test/scala/org/knora/webapi/models/filemodels/FileModelUtil.scala +++ b/webapi/src/test/scala/org/knora/webapi/models/filemodels/FileModelUtil.scala @@ -129,9 +129,7 @@ object FileModelUtil { internalMimeType = internalMimeType.get, originalFilename = originalFilename, originalMimeType = internalMimeType - ), - dimX = dimX, - dimY = dimY + ) ) case FileType.TextFile => TextFileValueContentV2(