Jena with JSON-LD (was: My current work)

On 18/03/14 00:54, Joakim Soderberg wrote:
> Hi,
> I am using the Jena 2.11.1 in my project. When adding the
> jsonld-java-jena dependencies I get a runtime error. I was thinking if
> the problem could be jsonls-java-jena depend on Jena 2..11.0?

Maybe - whatever it is, you have an incompatible mix of versions somewhere.

You can use JSON-LD integrated into Jena toavoid version confusion - see 
http://s.apache.org/tPG

	Andy

>
> Servlet execution threw an exception] with root cause
> java.lang.NoSuchFieldError: optFilterPlacementBGP
> at com.hp.hpl.jena.tdb.TDB.wireIntoExecution(TDB.java:214)
> at com.hp.hpl.jena.tdb.TDB.initialization1(TDB.java:206)
> at com.hp.hpl.jena.tdb.TDB.<clinit>(TDB.java:184)
> at
> com.hp.hpl.jena.tdb.setup.DatasetBuilderStd.<clinit>(DatasetBuilderStd.java:51)
> at com.hp.hpl.jena.tdb.StoreConnection.make(StoreConnection.java:216)
> at
> com.hp.hpl.jena.tdb.transaction.DatasetGraphTransaction.<init>(DatasetGraphTransaction.java:75)
> at com.hp.hpl.jena.tdb.sys.TDBMaker._create(TDBMaker.java:57)
> at
> com.hp.hpl.jena.tdb.sys.TDBMaker.createDatasetGraphTransaction(TDBMaker.java:45)
> at com.hp.hpl.jena.tdb.TDBFactory._createDatasetGraph(TDBFactory.java:104)
> at com.hp.hpl.jena.tdb.TDBFactory.createDatasetGraph(TDBFactory.java:73)
> at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:52)
> at com.hp.hpl.jena.tdb.TDBFactory.createDataset(TDBFactory.java:48)
>
>
> On Thu, Mar 13, 2014 at 7:15 AM, Jean-Claude Moissinac
> <jean-claude.moissinac@telecom-paristech.fr
> <mailto:jean-claude.moissinac@telecom-paristech.fr>> wrote:
>
>     I have a compacted graph like this one:
>
>        "@graph": [
>          {
>            "@id": "baseScholar:Competency3_2",
>            "@type": "baseScholar:Competency",
>            "bloom": "baseBloom:Bloom_Taxonomy1",
>            "topic": "baseBloom:Topic37"
>          },
>          {
>            "@id": "baseScholar:Competency3_3",
>            "@type": "baseScholar:Competency",
>            "bloom": "baseBloom:Bloom_Taxonomy1",
>            "topic": "baseBloom:Topic32"
>          },
>     ...
>     with a lot of data structure like this one, but also others nodes
>     interleaved in the middle (like some defining Bloom_TaxonomyXXX).
>
>     I imagine a useful campacted version with something like
>        "@graph": [
>             "competencies": [
>                  { "bloom": "baseBloom:Bloom_Taxonomy1",      "topic":
>     "baseBloom:Topic37"},
>                  { "bloom": "baseBloom:Bloom_Taxonomy1",      "topic":
>     "baseBloom:Topic32"},
>                  ...
>              ],
>     And I can't figure if I'm completely dumb to try to do that with a
>     context or if I need to create an ad-hoc code to get my result
>
>     --
>     Jean-Claude Moissinac
>
>

Received on Tuesday, 18 March 2014 15:16:00 UTC