Top Level Namespace

Defined Under Namespace

Modules: ODRL

Constant Summary collapse

CPOLICY =
ODRLV.Policy.to_s
PPROFILE =
ODRLV.profile.to_s
CSET =
ODRLV.Set.to_s
COFFER =
ODRLV.Offer.to_s
CREQUEST =
ODRLV.Request.to_s
CAGREEMENT =
ODRLV.Agreement.to_s
CPRIVACY =
ODRLV.Privacy.to_s
PASSET =
ODRLV.target.to_s
CASSET =
ODRLV.Asset.to_s
CASSETCOLLECTION =
ODRLV.Asset.to_s
CRULE =
ODRLV.Rule.to_s
CPERMISSION =
ODRLV.Permission.to_s
PPERMISSION =
ODRLV.permission.to_s
CPROHIBITION =
ODRLV.Prohibition.to_s
PPROHIBITION =
ODRLV.prohibition.to_s
PDUTY =
ODRLV.obligation.to_s
CDUTY =
ODRLV.Duty.to_s
PRULE =
ODRLV.Rule.to_s
PACTION =
ODRLV.action.to_s
VUSE =

this is goofy ODRL stuff…

ODRLV.use.to_s
VTRANSFER =

this is goofy ODRL stuff…

ODRLV.transfer.to_s
CACTION =
ODRLV.Action.to_s
PREFINEMENT =
ODRLV.refinement.to_s
PASSIGNER =

now in PARTYFUNCTIONS

ODRLV.assigner.to_s
PASSIGNEE =
ODRLV.assignee.to_s
CPARTY =
ODRLV.Party.to_s
CPARTYCOLLECTION =
ODRLV.Party.to_s
PCONSTRAINT =
ODRLV.constraint.to_s
CCONSTRAINT =
ODRLV.Constraint.to_s
PLEFT =
ODRLV.leftOperand.to_s
PRIGHT =
ODRLV.rightOperand.to_s
POPERATOR =
ODRLV.operator.to_s
POPERANDREFERENCE =
ODRLV.rightOperandReference.to_s
PDATATYPE =
ODRLV.dataType.to_s
PUNIT =
ODRLV.unit.to_s
PSTATUS =
ODRLV.status.to_s
PPARTOF =
ODRLV.partOf.to_s
PROPERTIES =
{
  title: DCT.title,
  creator: DCT.creator,
  description: DCT.description,
  id: DCT.identifier,
  type: RDF.type,
  subject: DCT.subject,
  uid: ODRLV.uid,
  label: RDFS.label,
  issued: DCT.issued
}
OPERATORS =
%w[eq gt gteq hasPart isA isAllOf isAnyOf isNoneOf isPartOf lt lteq neq]
LEFTOPERANDS =
%w[absolutePosition absoluteSize absoluteSpatialPosition absoluteTemporalPosition
count dateTime delayPeriod deliveryChannel device elapsedTime event
fileFormat industry language media meteredTime payAmount percentage
product purpose recipient relativePosition relativeSize relativeSpatialPosition
relativeTemporalPosition resolution spatial spatialCoordinates system
systemDevice timeInterval unitOfCount version virtualLocation]
PARTYFUNCTIONS =
%w[assignee assigner attributedParty attributingParty compensatedParty
compensatingParty consentedParty consentingParty contractedParty contractingParty informedParty
informingParty trackedParty trackingParty]
RDFS =

RDF = RDF::Vocabulary.new(“www.w3.org/1999/02/22-rdf-syntax-ns#”)

RDF::Vocabulary.new("http://www.w3.org/2000/01/rdf-schema#")
DCAT =
RDF::Vocabulary.new("http://www.w3.org/ns/dcat#")
DC =
RDF::Vocabulary.new("http://purl.org/dc/elements/1.1/")
DCT =
RDF::Vocabulary.new("http://purl.org/dc/terms/")
FUND =
RDF::Vocabulary.new("http://vocab.ox.ac.uk/projectfunding#")
SKOS =
RDF::Vocabulary.new("http://www.w3.org/2004/02/skos/core#")
ODRLV =
RDF::Vocabulary.new("http://www.w3.org/ns/odrl/2/")
OBO =
RDF::Vocabulary.new("http://purl.obolibrary.org/obo/")
XSD =
RDF::Vocabulary.new("http://www.w3.org/2001/XMLSchema#")
SCHEMA =
RDF::Vocabulary.new("https://schema.org/")
OWL =
RDF::Vocabulary.new("http://www.w3.org/2002/07/owl#")
PROFILE =
RDF::Vocabulary.new("http://www.w3.org/ns/dx/prof/")