Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use, but don't store, foaf:primaryTopic on RDF Create #163

Closed
catch-point opened this issue Sep 29, 2014 · 0 comments
Closed

Use, but don't store, foaf:primaryTopic on RDF Create #163

catch-point opened this issue Sep 29, 2014 · 0 comments
Milestone

Comments

@catch-point
Copy link
Contributor

If the POST'd RDF document for creation includes a primaryTopic use that as the created URI (not the first subject).

If request includes Slug header, use that as base-uri, otherwise parse with a generated base-uri. If document include a foaf:primaryTopic relationship from the base-uri, use the first target URI as the created URI. Don't realize foaf:primaryTopic relationships with the base-uri as the subject.

In the created response, include a describedby response Link header to the created URI's describe URL.

Some examples might include:

use generated base-uri, which will determine the file URI

POST /folder/?describe
<> rdfs:label "file".

use slug as base-uri for created URI

POST /folder/?describe
Slug: file
<> rdfs:label "file".

use generated base-uri, whose local value doesn't matter

POST /folder/?describe
<file> rdfs:label "file".

use generated base-uri, whose local value doesn't matter

POST /folder/?describe
<> foaf:primaryTopic <file> .
<file> rdfs:label "file".

use slug as base-uri, whose value doesn't matter

POST /folder/?describe
Slug: whatever
<> foaf:primaryTopic <file> .
<file> rdfs:label "file".

As per 4.2.1.5, 5.2.3.7, 5.2.3.10, and 5.2.3.12 http://www.w3.org/TR/ldp/ to use these client hints.

@catch-point catch-point added this to the v1.4.0 milestone Sep 29, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant