
views.fcr-fixity.vsl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fcrepo-http-api Show documentation
Show all versions of fcrepo-http-api Show documentation
The Fedora Commons repository HTTP API: Provides a RESTful HTTP API to interact with the Fedora Commons repository.
#* @vtlvariable name="triple" type="com.hp.hpl.jena.sparql.core.Quad" *#
#* @vtlvariable name="rdf" type="com.hp.hpl.jena.graph.Graph" *#
#* @vtlvariable name="model" type="com.hp.hpl.jena.rdf.model.Model" *#
#set( $title = $helpers.getObjectTitle($rdf, $topic) )
#parse("views/common.vsl")
$title
#parse("views/common-head.vsl")
#parse("views/common-node-header.vsl")
#parse("views/common-breadcrumb.vsl")
## output triples for the topic node
Properties
#triples($topic)
## output triples for fixity
#set($hasFixity = $nodeany.createURI("http://www.loc.gov/premis/rdf/v1#hasFixity"))
#set($fixities = $rdf.find($topic, $hasFixity, $nodeany))
#if ($fixities.hasNext())
#set($triple = $fixities.next())
#set($sub = $nodeany.createURI($triple.getObject().getURI()))
Fixity Properties
$esc.html($helpers.getObjectTitle($rdf, $sub))
#triples($sub)
#end
© 2015 - 2025 Weber Informatics LLC | Privacy Policy