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

Add a RDF OWL file as a linked data alternative to JSON Schema #190

Closed
jpmckinney opened this issue Dec 17, 2014 · 33 comments
Closed

Add a RDF OWL file as a linked data alternative to JSON Schema #190

jpmckinney opened this issue Dec 17, 2014 · 33 comments

Comments

@jpmckinney
Copy link
Member

jpmckinney commented Dec 17, 2014

Requested by Paraguay.

If an OWL file is available, adopters would be able to use JSON-LD to swap local language terms for OCDS' English terms, solving #77.
#76 is maybe related.

@akuckartz
Copy link

👍

@practicalparticipation
Copy link
Contributor

It would be great to get a more worked up proposal or worked example around this.

As far as I understand, this would mean:

A. We need to maintain an full ontology for OCDS;

B. To get a JSON file using the canonical english language terms from a local language JSON-LD file, we would need to:

  1. Convert the JSON-LD file to RDF
  2. Convert from RDF to JSON

Step (1) is fairly easy with JSON-LD tooling. Step (2) would require custom maintained frames or just sets of queries and code, updated whenever the standard is updated.

Anyone working in RDF would be able to ignore step (2), but that's going to be a relatively small set of people.

Realistically, I suspect JSON-LD support is not likely to make it onto the official roadmap before March 2015 earliest, but community efforts to prototype how it could work would certainly be welcome.

@akuckartz
Copy link

No need to convert JSON-LD To RDF. JSON-LD is a serialization of RDF. And it is JSON at the same time.

@practicalparticipation
Copy link
Contributor

Ok - to rephrase, we would still need to load the JSON-LD into some tool or
triple store from which it can be queried, and thus rendered into other
formats.

On Tue, Dec 23, 2014 at 3:01 PM, Andreas Kuckartz notifications@github.com
wrote:

No need to convert JSON-LD To RDF. JSON-LD is a serialization of RDF.
And it is JSON at the same time.


Reply to this email directly or view it on GitHub
#190 (comment)
.

@jpmckinney
Copy link
Member Author

Yes, I think starting with community-led prototypes may be the best strategy to move this forward. Once OCDS is stable, the RDF version may be more practical to create and maintain.

@akuckartz
Copy link

I will attempt to create a prototype early next year (but work for the W3C Open Government CG has a higher priority). This hopefully will then inform OCDS before it becomes stable. I think that there should not be a separate RDF-version but just one version of the specification.

@elf-pavlik
Copy link

Hi, I try to help friends from http://openoil.net to express their data in RDF, currently working with @jmatsushita on the data they use in this prototype https://data.openoil.net | https://github.com/iilab/openoil
Happy to join efforts 😃

@practicalparticipation
Copy link
Contributor

Thanks Elf. What's your timeline for the Open Oil project? I know the Open Oil team have been looking at OCDS a bit - so would be great to explore how RDF model of their data could generate learning for a JSON-LD rendering of OCDS.

@elf-pavlik
Copy link

Hi @practicalparticipation 👋 I stay pretty busy lately and only can help a bit on that now and then, still currently most of my work gravitates around Linked Data with quite some emphasis on JSON-LD serialization of RDF. Today I hope to get equivalent of what you find on https://data.openoil.net but modeled with RDF and for now using custom, temporary vocab (just to get it going). Will post a link here once I have it ready!

Today I've heard about OCDS for the first time so I still need to take some time to read up on your work. Anyways, since it looks like you would like to provide linked data vocabulary for Contracts, I happily reuse terms it includes and offer feedback based on my understanding of Open Oil data (which I still slowly explore).

BTW I also just joined W3C Open Government CG @akuckartz @jpmckinney 😄

@akuckartz
Copy link

😄

@timgdavies timgdavies mentioned this issue Jul 13, 2015
@juanpane
Copy link

juanpane commented Nov 5, 2015

has there been any advances on this?
We are in conversations with some Engineering students that could take on this task as the thesis

@timgdavies
Copy link
Contributor

I don't believe there has been any progress around this - so if you had willing volunteers that would be absolutely fantastic.

@juanpane
Copy link

we are starting to evaluate a engineering thesis that would take a look at this and compare it with LOTED2

The final aim would be that of simplifying as much as possible the transformation of a json file for release packages and record packages into json-ld, by "only" adding the @context property to the original json

More details when we define the scope of the work :)

@timgdavies
Copy link
Contributor

@juanpane Many thanks for this. Sounds fantastic.

There might be some interesting relationships as well to the work we're just starting on mapping between OCDS and the European TED schemas.

Happy to provide input as useful as the project develops.

@ColinMaudry
Copy link
Member

ColinMaudry commented Apr 27, 2016

@juanpane May I be in the loop of the work you plan to undertake to create this JSON-LD context? I was planning to do it myself, but I could give a hand to an existing initiative. I do it in the frame of a pre-study to open public contracting data in France.

From a 5-minute study I did of the existing JSON Schema, I really think using OWL is overkill and that RDFS would do the job just fine, without the all the complex (though powerful) logic features carried by OWL and its flavours.

@patxiworks
Copy link

Based on work we're doing on Budeshi and similar projects, there are suggestions to deploy RDFS/OWL (JSON-LD is also a possibility) to link datasets more coherently. I've gone through the discussions here and it doesn't look that there's been a lot of traction so far. I'll be happy to join forces with anyone interested in this – or have someone join me on it.

I only just started exploring the above specifications so I have a bit of catching up to do. Nevertheless, I found these existing ontologies using the Falcons search tool. For creating a sample ontology, I'll be experimenting with Protege or some other, preferably, online tools.

Ideas are welcome!

@timgdavies
Copy link
Contributor

Just spotted @ColinMaudry's repository at https://github.com/ColinMaudry/open-contracting-ld as an initial workspace on this.

@ColinMaudry How is progress? Still something you are actively working on? Perhaps we can help by hosting a community call in June/July around this?

@ColinMaudry
Copy link
Member

ColinMaudry commented Jun 10, 2016

It is something I definitely want to do, but I ideally would like to develop a tool that creates a JSON-LD context from a JSON Schema. This way, that would work with any JSON SChema.

OCDS JSON Schema is quite big, and I consequently think it's smarter to spend time making a tool.

I also may get funded for it. I will know more on Monday.

@timgdavies
Copy link
Contributor

@ColinMaudry Thanks for the update. Generating this programatically from the schema sounds like a really good approach.

I believe (though we might need to check carefully) that where OCDS re-uses terms with the same name as e.g. schema.org or dcterms our semantics are similar, which might mean a tool could look for matches of term names against well known vocabularies and suggest re-use of these where relevant.

OCDS also re-uses common building blocks throughout, so there might be ways a tool could be guided in mapping by some defaults.

@ColinMaudry
Copy link
Member

@timgdavies Also, I don't expect this tool to make a 100% JSON-LD context. As you say, one has to set his preferred ontologies, etc. However, that would save a lot of time.

I've set up a repo and added you as a collaborator, so that you can create issues and stuff (feel free to reject if irrelevant).

https://github.com/ColinMaudry/schema2context

@ColinMaudry
Copy link
Member

@patxiworks I just read your comment more carefully, and I think there is some confusion in the concepts, opposing JSON-LD and OWL/RDFS:

  • RDF is the standard data model, with triples, properties, etc.
  • OWL and RDFS are two possible schemas to base an RDF ontology, OWL being anchored on more powerful (and more complex) logic rules
  • JSON-LD is just a possible serialization for any RDF data (be it based on an OWL or RDFS ontology), so are Turtle, RDF/XML, N-Triples, etc.

@patxiworks
Copy link

@ColinMaudry thanks a lot for the clarification. I think I'm getting to understand the concepts better, thanks also in part to my playing around with different tools.

I'm trying to put together an OWL ontology that matches the OCDS schema (including field descriptions as comments). It's mostly manual work at the moment but that's probably what I need to get my hands dirty with this stuff.

Per your proposed work on JSON-LD, I'm really keen on following up closely with it.

@yank07
Copy link

yank07 commented Jun 28, 2016

Hello @timgdavies . We are Software Engeeniering students(with @camilobaezcamba ) of @juanpane. We are working in an ontology for OCDS based in the PPROC Ontology, and other experiences like PC, LOTED and LOTED2. We have already made a research of the state of art, and now we are working with the conceptualization of the domain of OC.

We will be glad if you can give us a hand with the work. Our plan is to finish at least the core of the work before the end of the year.

@timgdavies
Copy link
Contributor

@yank07 @camilobaezcamba Great to hear about this. How can we best help? We're happy to take a look at any work in progress, or if you think useful, to convene a community conversation around this.

@ColinMaudry
Copy link
Member

@yank07 @timgdavies @camilobaezcamba Same here, I would be happy to give a hand.

@timgdavies
Copy link
Contributor

With the growing interest in developing a Linked Data representation of OCDS we thought it would be useful to have a community call when all of those working on linked-data related OCDS topics can get together to share their work, and discuss possible ways forward.

We propose to hold this in late July/early August. There is a poll to find at time for that here:

https://doodle.com/poll/t8xz6uvfcpbtb2nu

If you are interested in taking part, please register there. Once times are confirmed, call details will be circulated on the standard-discuss@open-contracting.org list and in this thread.

@jalbertbowden
Copy link

is it too late to sign up and lurk? poll is closed, so i don't see anywhere that i can add my name/edit the content...

@duncandewhurst
Copy link
Contributor

@jalbertbowden not at all, the call is scheduled for July 29th 10am EST / 3pm BST, please join the standard-discuss@open-contracting.org mailing list and we'll circulate the agenda and WebEx details nearer the time, you can also leave a comment on the doodle poll if you wish.

@ColinMaudry
Copy link
Member

ColinMaudry commented Jul 25, 2016

Hi all,

I made a productive use of my free time and translated the OCDS JSON Schema into an RDF ontology.

It's all here:
https://github.com/ColinMaudry/open-contracting-ld

I have written down a bunch of thoughts and general comments at the top of the Turtle file, so that you get a feeling of the choices I had to make, what could be improved, what I didn't understand, etc..

If you have suggestions and comments, PR and issues are welcome.

Next step is to make a JSON-LD context out of it, so that a simple line added in a compliant JSON turn it into RDF.

See you in the call on Friday!

@timgdavies
Copy link
Contributor

You can find a recording of Friday's call here: https://drive.google.com/file/d/0BwlGJL2-b9HBUjJSRmV2Ry1fV0k/view?usp=sharing

@jpmckinney
Copy link
Member Author

I can't tell that there's been any specific follow-up from the call or the other proposals in this thread, so I am closing it as inactive. It seems the most progress has been made on https://github.com/ColinMaudry/open-contracting-ld which is where further work can be pursued.

@akuckartz
Copy link

👎 on closing this issue.

@ColinMaudry
Copy link
Member

For the record, @jindrichmynarz made a phD thesis entitled Matchmaking of bidders and public contracts using linked open data, which I think partly connects the dots between open contracting and linked data. It's on my reading list.

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

No branches or pull requests