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
3f46e0be
Commit
3f46e0be
authored
Oct 01, 2018
by
Petter Goksøyr Åsen
Browse files
services: fix sparql query (variable ?label bound to both mediatype and format)
parent
0d13985b
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
redef/services/src/main/java/no/deichman/services/entity/repository/SPARQLQueryBuilder.java
View file @
3f46e0be
...
...
@@ -76,10 +76,8 @@ public final class SPARQLQueryBuilder {
+
" }\n"
+
" UNION { ?publication deichman:publicationOf <__WORKURI__> ; \n"
+
" a deichman:Publication . \n"
+
" OPTIONAL { ?publication deichman:format ?format .\n"
+
" ?format rdfs:label ?label . }\n"
+
" OPTIONAL { ?publication deichman:hasMediaType ?mediaType .\n"
+
" ?mediaType rdfs:label ?label . }\n"
+
" OPTIONAL { ?publication deichman:format ?format }\n"
+
" OPTIONAL { ?publication deichman:hasMediaType ?mediaType }\n"
+
" OPTIONAL { ?publication deichman:contributor ?pubContrib. \n"
+
" ?pubContrib a deichman:Contribution ;\n"
+
" deichman:agent ?publicationContributor . }\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