You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This might be overly complicated, but my subgraph thought was something along the lines of (this example is the totally non-existent DC-as-relationships):

/graph/

Unknown macro: {pid}

/DC is a subgraph defined as:

GRAPH ?g {
<info:fedora/$pid> ?p ?o .
?p <rdfs:isDefinedBy> <http://purl.org/dc/elements/1.1/>
}

and the REST API works along the lines of:

GET /graph/

/DC STMT:=SELECT

PUT /graph/

Unknown macro: {pid}

/DC STMT:=INSERT body
POST /graph/

/DC?predicate=

Unknown macro: {p}

&object=

Unknown macro: {o}

&type=

Unknown macro: {t}

STMT:=INSERT
DELETE /graph/

Unknown macro: {pid}

/DC?predicate=

&object=

Unknown macro: {o}

&type=

Unknown macro: {t}

STMT:=DELETE
$STMT
WHERE

Unknown macro: { ?g }

in which Fedora loads the <rdfs:isDefinedBy> statements for the DC core properties,  or the Fedora system properties, etc.

  • No labels