Commit 9cca7c02 authored by Petter Goksøyr Åsen's avatar Petter Goksøyr Åsen
Browse files

add contentAdaptation and formatAdaptation nodes to graph

parent 327194bf
......@@ -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:contentAdaptation ?contentAdaptation }\n"
+ " UNION { <__WORKURI__> deichman:hasContentAdaptation ?contentAdaptation }\n"
+ " UNION { <__WORKURI__> deichman:isPartOfWorkSeries ?workSeriesPart . \n"
+ " ?workSeriesPart a deichman:WorkSeriesPart ;\n"
+ " deichman:workSeries ?workSeries .\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment