Re: GSOC idea: json api for plone

Christian Ledermann <[email protected]>
Newsgroups gmane.comp.web.zope.plone.devel
Message-ID <CABCjzWpKryEGNwaeiu0dBhvXu-JXsjpgzDOM7u0g5j9LBUXy5g@mail.gmail.com>
as I understand it json-ld is a kind of rdf over json
http://en.wikipedia.org/wiki/JSON-LD

look at http://www.ohloh.net/p/eea-rdfmarshaller to get an idea what this
can achieve
or live at http://iwlearn.net/iw-projects/970/@@rdf


I think in connection with https://stanbol.apache.org/ and
https://github.com/fusepool/fusepool-ecs
this could be a story to get plone into the semantic linked data space



On Sun, Feb 23, 2014 at 3:49 AM, Laurence Rowe <[email protected]> wrote:

> I think the complexities you mention apply more to the task of extracting
> semantic likes from unstructured content (e.g. from within a Plone rich
> text field.) JSON-LD is about semantically annotating structured json,
> where everything is already split into fields. You just need to say what
> those fields mean and which are links to other resources (reference fields
> in Plone). Basic support should be trivial to implement as you could just
> generate a json-ld context from an existing dexterity schema definition.
>
> You need to expend a significant amount of effort if you want to fully
> connect your metadata into the semantic web as you need to use terms and
> predicates that are also used by others. Plone already has partial support
> for dublin core metadata through the default templates rendering html link
> elements. You'd want a way to specify the predicate url on a dexterity
> schema field.
>
> It's a read-only standard, so it's not going to help with writes,
> JSON-Shema seems to be the relevant standard there. But even basic support
> gives your users the ability to pull down your metadata and load it into a
> SPARQL store for arbitrary querying, without writing custom code to parse
> and load your json.
>
> Laurence
>
> On 22 February 2014 16:01, Jens W. Klein <jens-/[email protected]> wrote:
>
>> Hi,
>>
>> I agree to have a json api for plone. This is essential these days.
>>
>> Ad json.ld:
>>
>> json.ld is - as the name says - a linked data format, thus it predicts
>> semantic links between the content - in order to make it semantic
>> searchable. So the main purpose of json-ld is (more comprehensive, but
>> like RDF) to provide triples (subject, predicate, object) about the
>> content, probably including all its information prepared in this way.
>>
>> I fear in most cases this is difficult. To link data in a sematic
>> approach we need to inspect this data (manually or automatic) in order
>> to enrich the links between the data. The Apache Stanbol Project helps
>> here to make this automatic, but I fear this is a  bit heavyweight for
>> the average Plone "user".
>>
>> So imo json-ld is not the right format for the purpose of a simple json
>> api. IMO a simple TTW crud API is what we want in 95% of cases.
>>
>> I really would like to see Plone supporting json-ld anyway. But its out
>> of scope of a generic json-api which solves the major daily use-cases of
>> the Plone integrators there out in the wild.
>>
>> just my 0.02 Euro
>>
>> Jens
>>
>> On 2014-02-14 22:25, Johannes Raggam wrote:
>> > After discussing this topic with other sprinters at the cathedralsprint,
>> > I think a JSON API for Plone would make a nice project.
>> >
>> > Some of us feel a strong need for a generic JSON API. That can help us
>> > to build modern user interfaces, decoupled from the backend and for data
>> > exchange with other web services. Best would be to implement some
>> > standard, like JSON-LD ( http://json-ld.org/ ,
>> > http://www.w3.org/TR/json-ld/ ), which'd give us semantic data
>> exchange,
>> > which is awesome (more and more web services are agnostic about their
>> > data-backend and implement real mashup services). Or Hydra:
>> > Hypermedia-Driven Web APIs http://www.markus-lanthaler.com/hydra/
>> >
>> > I agree with Martin, that designing an API needs much experience. But I
>> > don't see here a blocker for a GSOC project:
>> >
>> > - There are open standards, which can be implemented (as mentioned
>> > above),
>> > - The mentor can guide, review and optimize the API,
>> > - The framework can do this via reviews also.
>> >
>> > So, what about that?
>> >
>> > Best,
>> > Johannes
>>
>> --
>> Klein & Partner KG, member of BlueDynamics Alliance
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Managing the Performance of Cloud-Based Applications
>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>> Read the Whitepaper.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Plone-developers mailing list
>> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/plone-developers
>>
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> _______________________________________________
> Plone-developers mailing list
> Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/plone-developers
>
>


-- 
Best Regards,

Christian Ledermann

Nairobi - Kenya
Mobile : +254 702978914

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

------------------------------------------------------------------------------
Flow-based real-time traffic analytics software. Cisco certified tool.
Monitor traffic, SLAs, QoS, Medianet, WAAS etc. with NetFlow Analyzer
Customize your own dashboards, set traffic alerts and generate reports.
Network behavioral analysis & security monitoring. All-in-one tool.
http://pubads.g.doubleclick.net/gampad/clk?id=126839071&iu=/4140/ostg.clktrk

_______________________________________________
Plone-developers mailing list
Plone-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/plone-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.