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

I noticed that sketch ignores the weird node<> #35

Closed
BenjaminHofstetter opened this issue Dec 3, 2024 · 0 comments · Fixed by #37
Closed

I noticed that sketch ignores the weird node<> #35

BenjaminHofstetter opened this issue Dec 3, 2024 · 0 comments · Fixed by #37
Assignees

Comments

@BenjaminHofstetter
Copy link
Contributor

BenjaminHofstetter commented Dec 3, 2024

Giacomo Citi (Zazuko): I noticed that sketch ignores the weird node<>. the following is not rendered:

@prefix schema: <http://schema.org/> .
<> a </api/schema/Plaque> ;
    schema:identifier "newton-s-apple-tree-monash-university" ;
    schema:name "Newton's Apple Tree Monash University" .

Tomasz Pluskiewicz (Zazuko): why do you call it weird? 😄

Tomasz Pluskiewicz (Zazuko): probably if (!ptr.value) somewhere and empty string is falsy

Tomasz Pluskiewicz (Zazuko): quick fix: add BASE

Benjamin Hofstetter (Zazuko): I must investigate that. I believe it leads to a VueFlow Node with an of id=''. This is undesirable. Is there a better name for this <> named node without name?

Benjamin Hofstetter (Zazuko): The empty named node represented by <> in your RDF Turtle example is known as the base URI or document node. It refers to the URI of the current document or resource being described.

Explanation:
The <> syntax is shorthand for the base URI defined in the RDF document, typically set by a @base declaration or derived from the location of the RDF file.
If no explicit @base is provided, <> typically resolves to the URL where the RDF file is located.

Benjamin Hofstetter (Zazuko): That means I can put https://sketch.zazuko.com/ there if no base is set ?

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

Successfully merging a pull request may close this issue.

1 participant