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

Consider using Turtle for editing gist #223

Closed
uscholdm opened this issue Apr 6, 2020 · 15 comments
Closed

Consider using Turtle for editing gist #223

uscholdm opened this issue Apr 6, 2020 · 15 comments
Assignees
Labels
effort: small Requires less than one day to complete impact: patch No new functionality or changes in human-readable semantics (e.g,. fixing a typo in an annotation) status: implementation specified Implementation has been specified. A developer should be assigned.

Comments

@uscholdm
Copy link
Contributor

uscholdm commented Apr 6, 2020

Turtle designers met their goal of making a much friendlier syntax than rdf/xml. I often make changes in the raw files, and rdf/xml slows me down quite a lot. Can we conver to using Turtle instead, and then include both in releases?

Related to Issue #129

@JonathonGist
Copy link

As a newcomer to ontologies and the Semantic web and semantic disciplines, with a few decades of database design, development and data tier architecture, I have found Turtle easy, intuitive and wonderfully concise. I far prefer Turtle to rdf/xml. I would find it much easier to work with gist in Turtle natively, than continue with rdf/xml. My two cents.

@rjyounes rjyounes changed the title Consider using Turtle for developing gist Consider using Turtle for gist Jun 16, 2020
@rjyounes rjyounes changed the title Consider using Turtle for gist Consider using Turtle for serializing gist Jun 16, 2020
@rjyounes rjyounes changed the title Consider using Turtle for serializing gist Consider using Turtle for editing gist Jun 16, 2020
@rjyounes
Copy link
Collaborator

Do we need to include both in the release package? Can we just make ttl our official serialization and let users convert to RDF/XML or another serialization they prefer? Even if both are included in the package, the URIs have to point to one of them when a request header is not explicitly included.

@JonathonGist
Copy link

From my perspective, having only ttl as the official serialization is fine. I like that idea; users who need RDF/XML can convert it. My two cents.

@Jamie-SA
Copy link
Contributor

There may be some issues with returning a ttl file when the URL has no file extension as many parsers use the file extension to determine the file type. It wouldn't surprise me if many pieces of software will assume that a Ontology without an extension is RDF/XML.

@uscholdm
Copy link
Contributor Author

I think we should include any/all formats that people are likelyi to want. I disagree with the suggestion that it is easy to go into/out of Protege. It a big fiddle, especially if you want to look at the text files.

@JonathonGist
Copy link

Protoge isn't an easy tool to learn, from my perspective as a newbie to the semantic technology stack. I love the idea of the easy-to-access ttl being available. But I see there are complicating factors to providing both. I'm not equipped to provide much useful feedback on this topic.

@rjyounes
Copy link
Collaborator

@uscholdm What comment about Protégé are you referring to?

@uscholdm
Copy link
Contributor Author

@rjyounes Somewhere, (maybe in a separate chat on Teams) someone said not to bother with multiple formats because it is easy enough to import into Protege and export whatever format you like.

@rjyounes
Copy link
Collaborator

I see. Better to just run rdf-toolkit.jar.

@uscholdm
Copy link
Contributor Author

For someone who wants to have a look at ontology files and is not a developer, having all the formats available is the answer.

@Jamie-SA
Copy link
Contributor

I agree that it is not hard for us to provide a few different formats and it might make it more convenient for existing and potential users.

@uscholdm
Copy link
Contributor Author

This has digressed away from the main question of what format we author in. I'd like to move to Turtle.

@rjyounes
Copy link
Collaborator

rjyounes commented Jun 24, 2020

@uscholdm You are suggesting we distinguish the issue of authoring in turtle from the publishing serialization(s)? The bundler will be affected if we edit in Turtle but publish in a different format(s), so @sa-bpelakh should weigh in on that. Let's leave it for a meeting discussion. I can push it up on the list.

@rjyounes rjyounes added the effort: small Requires less than one day to complete label Jun 25, 2020
@rjyounes
Copy link
Collaborator

Everyone wants to edit in Turtle.

@rjyounes rjyounes added impact: patch No new functionality or changes in human-readable semantics (e.g,. fixing a typo in an annotation) status: triaged labels Jun 25, 2020
@Jamie-SA
Copy link
Contributor

The document referenced by @marksem here confirms what I expected. Admittedly, it is a bit old but is still probably appropriate...

Without proper content negotiation (our current configuration) then returning RDF/XML from our server for the Ontology URIs is the only supported "recipe" (best practice). So the switch to editing in Turtle needs to be combined with a solution for this problem before a release is made.

Two obvious solutions... The simple solution is to provide the standard files in RDF/XML and provide Turtle as an extra file, just generate the RDF/XML from the official Turtle content. The better solution would be to properly support content negotiation (issue #318).

@rjyounes rjyounes added the status: implementation specified Implementation has been specified. A developer should be assigned. label Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: small Requires less than one day to complete impact: patch No new functionality or changes in human-readable semantics (e.g,. fixing a typo in an annotation) status: implementation specified Implementation has been specified. A developer should be assigned.
Projects
None yet
Development

No branches or pull requests

5 participants