Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
digibib
ls.ext
Commits
9cca7c02
Commit
9cca7c02
authored
Nov 01, 2018
by
Petter Goksøyr Åsen
Browse files
add contentAdaptation and formatAdaptation nodes to graph
parent
327194bf
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
redef/services/src/main/java/no/deichman/services/entity/repository/SPARQLQueryBuilder.java
View file @
9cca7c02
...
...
@@ -59,7 +59,7 @@ public final class SPARQLQueryBuilder {
+
"DESCRIBE <__WORKURI__> ?publication ?workContributor ?compType ?format ?mediaType ?subject\n"
+
" ?genre ?instrument ?litform ?workType ?serial ?nation ?language \n"
+
" ?pubContrib ?publicationContributor ?place ?publishedBy ?publicationPartValues \n"
+
" ?bio ?country ?contentAdaptation ?relatedWork ?workSeries ?workAsSubjectAgent ?subPlace ?relworkMainEntry\n"
+
" ?bio ?country ?contentAdaptation
?formatAdaptation
?relatedWork ?workSeries ?workAsSubjectAgent ?subPlace ?relworkMainEntry\n"
+
"WHERE {\n"
+
" { <__WORKURI__> a deichman:Work }\n"
+
" UNION { <__WORKURI__> deichman:isRelatedTo ?related . \n"
...
...
@@ -75,6 +75,7 @@ public final class SPARQLQueryBuilder {
+
" }\n"
+
" UNION { ?publication deichman:publicationOf <__WORKURI__> ; \n"
+
" a deichman:Publication . \n"
+
" OPTIONAL { ?publication deichman:hasFormatAdaptation ?formatAdaptation }\n"
+
" OPTIONAL { ?publication deichman:format ?format }\n"
+
" OPTIONAL { ?publication deichman:hasMediaType ?mediaType }\n"
+
" OPTIONAL { ?publication deichman:contributor ?pubContrib. \n"
...
...
@@ -107,7 +108,7 @@ public final class SPARQLQueryBuilder {
+
" UNION { <__WORKURI__> deichman:language ?language }\n"
+
" UNION { <__WORKURI__> deichman:nationality ?country }\n"
+
" UNION { <__WORKURI__> deichman:fictionNonfiction ?fictionNonfiction }\n"
+
" UNION { <__WORKURI__> deichman:
c
ontentAdaptation ?contentAdaptation }\n"
+
" UNION { <__WORKURI__> deichman:
hasC
ontentAdaptation ?contentAdaptation }\n"
+
" UNION { <__WORKURI__> deichman:isPartOfWorkSeries ?workSeriesPart . \n"
+
" ?workSeriesPart a deichman:WorkSeriesPart ;\n"
+
" deichman:workSeries ?workSeries .\n"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment