-
Notifications
You must be signed in to change notification settings - Fork 16
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
Manage @list #58
Comments
The same identifier problem comes from using |
I've nearly filed a "switch to UUID's v4" issue multiple times in the last few months. Maybe now's the time? |
Actually. It seems like it's loosing data altogether in some situations. Here's an example annotation that uses a list (from my page-notes webextension thing): {
"@context": "https://www.w3.org/ns/anno.jsonld",
"type": "Annotation",
"created": "2017-02-02T19:37:13.131Z",
"body": {
"type": "Choice",
"items": [
{
"type": "TextualBody",
"value": "This is where I keep all the things!",
"language": "en",
"format": "text/plain",
"creator": {
"type": "Person"
}
}
]
},
"target": "chrome-extension://ghmdfebmgdeohmcpjlalclccgjapiild/list/index.html",
"id": "urn:page-notes:chrome-extension://ghmdfebmgdeohmcpjlalclccgjapiild/list/index.html:2017-02-02T19:37:13.131Z"
} Using the levelgraph-playground:
db.jsonld.get(
'urn:page-notes:chrome-extension://ghmdfebmgdeohmcpjlalclccgjapiild/list/index.html:2017-02-02T19:37:13.131Z',
{"@context":"http://www.w3.org/ns/anno.jsonld"},
console.log.bind(console));
{
"@context": "http://www.w3.org/ns/anno.jsonld",
"id": "urn:page-notes:chrome-extension://ghmdfebmgdeohmcpjlalclccgjapiild/list/index.html:2017-02-02T19:37:13.131Z",
"type": "Annotation",
"created": "2017-02-02T19:37:13.131Z",
"body": {
"type": "Choice",
"as:items": []
},
"target": "chrome-extension://ghmdfebmgdeohmcpjlalclccgjapiild/list/index.html"
} The
So. Seems |
So @jmatsushita those aren't actually matching UUID's. They're each one character different...on both sides (subject/object) of the graphs...so nothing matches. Meaning any Looking for a fix...as I use lots of |
You're right, i pulled on that thread a little and realised that @list
simply weren't implemented. i gave it a shot but it needs more work. Would
you like to give it a try? I don't have a lot of time these days
unfortunately.
…On 15 Mar 2017 20:47, "BigBlueHat" ***@***.***> wrote:
So @jmatsushita <https://github.com/jmatsushita> those aren't actually
matching UUID's. They're each one character different...on both sides
(subject/object) of the graphs...so *nothing* matches. Meaning any @list
base information is stored, but completely irretrievable--as they're now
detached graphs. 😢
Looking for a fix...as I use lots of @lists.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#58 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAVvAQnAIAIV57WuhIag2e-CiQtJEJKnks5rmEBVgaJpZM4L64cY>
.
|
Yeah. I've begun digging into it...but nothing to report yet. Any findings from your earlier digging? I'm pretty sure the trouble is in |
So. Here's what I heard back from the friendly folks in #jsonld on irc.freenode.net:
Given that, I'm working to get my head around all the stuff happening in |
Similar to what I've heard here json-ld/json-ld.org#465 You're right it is |
@jmatsushita yeah... One crazy idea I've been pondering is actually turning the returned triples into Any thoughts on that hair brained scheme? 😸 |
The biggest problem there is that you need framing to get the output into a shape you'd want to use as JSON, rather than as LD. fromRDF's output is very generic, and not centered on any particular root node. |
Currently the
@list
keyword is not dealt with properly.For instance when using the levelgraph playground
Reuses the same identifier for blank nodes:
And using
.get()
returns an empty list.The text was updated successfully, but these errors were encountered: