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

RDF-star support #1486

Open
mielvds opened this issue Feb 22, 2022 · 0 comments
Open

RDF-star support #1486

mielvds opened this issue Feb 22, 2022 · 0 comments
Labels
enhancement New feature request

Comments

@mielvds
Copy link

mielvds commented Feb 22, 2022

Search terms you've used

RDF-star, embedded triple, RDF*

Feature suggestion

Being able to write statement-level annotations as RDF-star to the datapod

Expected functionality/enhancement

There are a few ways to abstract this, but something along the lines of:

let newBookThing2 = createThing({ name: "book2" });

// Const addStringNoLocale<T>(thing, property, value, annotation): T
newBookThing2 = addStringNoLocale(newBookThing2, SCHEMA.name, "ZYX987 of Example Poetry", [
[SCHEMA.creator, "Miel"]
]);
// Alternative, less-invasive Const addAnnotation<T>(property, value): T (picks last added triple)
newBookThing2 = addStringNoLocale(newBookThing2, SCHEMA.name, "ZYX987 of Example Poetry");
newBookThing2 = addAnnotation(SCHEMA.creator,  "Miel"]
]);

// Writes: <> schema:name "ZYX987 of Example Poetry" {| schema:creator "Miel" |}

Actual functionality/enhancement

/

Use Cases

Adding general provenance info to pod data

@mielvds mielvds added the enhancement New feature request label Feb 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature request
Projects
None yet
Development

No branches or pull requests

1 participant