-
Notifications
You must be signed in to change notification settings - Fork 7
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
allow "@type": "@triple"
or something similar?
#28
Comments
Could you spell out either how this would expand, and/or the equivalent Turtle-star? Presuming that blank nodes are used for the subject of the referenced triple, how does this work with compaction? |
In the value compaction algorithm, between 6.1 and 6.2, insert:
It seems to me that it should do the trick? |
@gkellogg Turtle-star is from https://lists.w3.org/Archives/Public/public-rdf-star/2021Dec/0063.html [a schema:Event;
ex:realizationOf <<ex:bowls_club ex:captain ex:bob>>;
schema:startDate "01-01-2019";
endDate "31-12-2019"] |
That is, in fact, the same as what my distiller generates: @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix schema: <http://schema.org/> .
[
a schema:Event;
<http://example.com/realizationOf> <<<http://example.com/bowls_club> <http://example.com/captain> <http://example.com/bob>>>;
schema:endDate "31-12-2019"^^schema:Date;
schema:startDate "01-01-2019"^^schema:Date
] . |
The rationale is the following (adapted from this message):
Since
ex:realizationOf
is always expecting a triple, we might want to be able to spare the intermediate"@id"
.Of course, declaring
ex:realizationOf
as"@type": "@id"
does not work, because this only affect values of the property that are strings."@type": "@triple"
seems like a natural way to do this, but it has the disadvantage or introducing a new keyword...The text was updated successfully, but these errors were encountered: