Re: Cannot get Fuseki 5 to run...

2024-05-02 Thread Phillip Rhodes
Thanks Andy. Once that patch is in place, I can do a build and test in my
environment. I'm following the issue on GitHub to keep track.


Phil

On Thu, May 2, 2024, 5:05 AM Andy Seaborne  wrote:

> Hi Phil,
>
> It's a bug.
>
> Fuseki uses the CORS filter from Eclipse Jetty by code-copy so as not to
> depend on Jetty. But at the last update, some Jetty code usage didn't
> get replaced and there are class references.
>
> Issue created:
> https://github.com/apache/jena/issues/2443
>
>  Andy
>
> On 02/05/2024 04:02, Phillip Rhodes wrote:
> > Gang:
> >
> > I'm having NO luck at all getting Fuseki 5 to run. I'm using Java 17
> > and the latest Tomcat 10 release that I see (apache-tomcat-10.1.23)
> > and Fuseki "jena-fuseki-war-5.0.0.war". From what I could find of docs
> > I thought this combination was sufficient, but apparently not. When I
> > try to launch the server I get this:
> >
> > 02-May-2024 02:56:46.903 SEVERE [main]
> > org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
> > application archive
> > [/extradata/downloads/tomcat/apache-tomcat-10.1.23/webapps/fuseki.war]
> > java.lang.IllegalStateException: Error starting child
> > at
> >
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:690)
> > at
> > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:659)
> > at
> > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:712)
> > at
> > org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:969)
> > at
> >
> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
> > at
> >
> java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
> > at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > at
> >
> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> > at
> >
> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
> > at
> > org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:771)
> > at
> > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:423)
> > at
> > org.apache.catalina.startup.HostConfig.start(HostConfig.java:1629)
> > at
> >
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
> > at
> >
> org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114)
> > at
> >
> org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
> > at
> > org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345)
> > at
> >
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:903)
> > at
> >
> org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:845)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
> > at
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1345)
> > at
> >
> org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1335)
> > at
> > java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
> > at
> >
> org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
> > at
> >
> java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
> > at
> >
> org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:876)
> > at
> >
> org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:240)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
> > at
> >
> org.apache.catalina.core.StandardService.startInternal(StandardService.java:470)
> > at
> > org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
> > at
> >
> org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:947)
> > at
> > org.apache.catalina.util.LifecycleBase.start(Lifecyc

Cannot get Fuseki 5 to run...

2024-05-01 Thread Phillip Rhodes
Gang:

I'm having NO luck at all getting Fuseki 5 to run. I'm using Java 17
and the latest Tomcat 10 release that I see (apache-tomcat-10.1.23)
and Fuseki "jena-fuseki-war-5.0.0.war". From what I could find of docs
I thought this combination was sufficient, but apparently not. When I
try to launch the server I get this:

02-May-2024 02:56:46.903 SEVERE [main]
org.apache.catalina.startup.HostConfig.deployWAR Error deploying web
application archive
[/extradata/downloads/tomcat/apache-tomcat-10.1.23/webapps/fuseki.war]
   java.lang.IllegalStateException: Error starting child
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:690)
   at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:659)
   at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:712)
   at
org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:969)
   at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1911)
   at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
   at
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:123)
   at
org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:771)
   at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:423)
   at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1629)
   at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
   at
org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:114)
   at
org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
   at
org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:345)
   at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:903)
   at
org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:845)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1345)
   at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1335)
   at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   at
org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
   at
java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:145)
   at
org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:876)
   at
org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:240)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at
org.apache.catalina.core.StandardService.startInternal(StandardService.java:470)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at
org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:947)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:171)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:757)
   at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
   at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
   at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.base/java.lang.reflect.Method.invoke(Method.java:568)
   at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:473)
   Caused by: org.apache.catalina.LifecycleException: Failed to
start component
[StandardEngine[Catalina].StandardHost[localhost].StandardContext[/fuseki]]
   at
org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:419)
   at
org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:186)
   at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:687)
   ... 37 more
   Caused by: java.lang.NoClassDefFoundError:
org/eclipse/jetty/http/HttpField
   at java.base/java.lang.Class.getDeclaredFields0(Native Method)
   at
java.base/java.lang.Class.privateGetDeclaredFields(Class.java:3297)
   at java.base/java.lang.Class.getDeclaredFields(Class.java:2371)
   at

Fuseki java client?

2017-07-08 Thread Phillip Rhodes
Hi all, I've been using Jena for some time now, working with the Java
API directly, and only recently began looking at Fuseki.  Now, looking
at the Fuseki docs page, I see a section listed as "Use from Java"
that points to
.
But that URL doesn't lead to anything.

I'm curious as to what, if anything, that ought to point to.  I'm not
even sure what it means to say "use Fuseki from Java" other than just
using something like HTTPClient to interface with the Fuseki HTTP
services.  Is there more I should know about, or is that pretty much
it?


Thanks,


Phil


Re: Web 3 vs Web 2

2017-06-07 Thread Phillip Rhodes
Tina:

You may also find some useful information in this talk that I gave a
while back, on using SemWeb technologies - specifically including
Apache Jena and Apache Stanbol - in an enterprise setting.

This page links to both the video recording and the slides from the talk.

https://allthingsopen.org/talk/semantic-integration-with-apache-jena-and-stanbol/


Phil

This message optimized for indexing by NSA PRISM


On Wed, Jun 7, 2017 at 10:13 AM, Phillip Rhodes
<motley.crue@gmail.com> wrote:
> I would recommend reading the book "The Explorer's Guide to the Semantic Web".
>
> <https://www.amazon.com/Explorers-Guide-Semantic-Thomas-Passin/dp/1932394206>
>
>
> Phil
>
>
> This message optimized for indexing by NSA PRISM
>
>
> On Wed, Jun 7, 2017 at 8:52 AM, tina sani <tinamadri...@gmail.com> wrote:
>> Thank you Colin and David for your detailed answer.
>>
>> On Wed, Jun 7, 2017 at 3:28 PM, Colin Maudry <co...@maudry.com> wrote:
>>
>>> Hello Tina,
>>>
>>> Thank you very much for your interest for the Semantic Web. This mailling
>>> list is specifically dedicated to a tool, Apache Jena. It's like asking
>>> about astronomy on a list dedicated to a brand of telescopes : it's
>>> off-topic.
>>>
>>> The Wikipedia article about the Semantic Web is a very good start :
>>> https://en.wikipedia.org/wiki/Semantic_Web
>>>
>>> If you're fond off asking humans, I suggest you ask your question to the
>>> following list, you will certainly get more answers :
>>> http://lists.w3.org/Archives/Public/semantic-web/
>>>
>>> Have a nice trip on the paths of the Web of data :)
>>>
>>> Colin
>>>
>>>  Original Message 
>>> Subject: Re: Web 3 vs Web 2
>>> Local Time: June 7, 2017 1:25 PM
>>> UTC Time: June 7, 2017 11:25 AM
>>> From: admo...@gmail.com
>>> To: users@jena.apache.org
>>>
>>> To see the metadata you have to consider the prefix statements that must
>>> be made before you can use the triples in your example/
>>>
>>> @prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
>>>
>>> click on the hyperlink to follow it.
>>>
>>> Using this prefix statement adds metadata essential to understanding the
>>> triple:
>>> Student rdf:type Person
>>>
>>> rdf:type means:
>>> rdf:type a rdf:Property ;
>>> rdfs:isDefinedBy <http://www.w3.org/1999/02/22-rdf-syntax-ns#> ;
>>> rdfs:label "type" ;
>>> rdfs:comment "The subject is an instance of a class." ;
>>> rdfs:range rdfs:Class ;
>>> rdfs:domain rdfs:Resource .
>>>
>>> The object “Person” in the triple may also have metadata associated with
>>> it.
>>> If the prefix:
>>>
>>> @prefix foaf: http://xmlns.com/foaf/0.1/
>>>
>>> is used the metadata associated with foaf:Person is
>>>
>>> http://xmlns.com/foaf/0.1/Person;
>>> rdfs:label="Person" rdfs:comment="A person." 
>>> vs:term_status="stable">>> rdf:resource="http://www.w3.org/2002/07/owl#Class"/>>> rdf:resource="http://schema.org/Person"/>>> rdf:resource="http://www.w3.org/2000/10/swap/pim/contact#Person"/>http://xmlns.com/foaf/0.1/Agent
>>> "/>http://www.w3.org/
>>> 2003/01/geo/wgs84_pos#SpatialThing" rdfs:label="Spatial
>>> Thing"/>http://xmlns.com/foaf/0.1/"/>http://xmlns.com/foaf/0.1/Organization
>>> "/>http://xmlns.com/foaf/0.1/Project
>>> "/>
>>>
>>> So you can see even a simple statement like
>>>
>>> Student rdf:type foaf:Person
>>>
>>> contains a huge amount of metadata that can be located and used by a
>>> machine!
>>>
>>> On 7/6/17, 1:07 am, "tina sani" <tinamadri...@gmail.com> wrote:
>>>
>>> For example, there is an rdf document about a student.
>>>
>>> Student rdf:type Person. Student hasName name. Student hasAdress adress
>>>
>>> Student study Course.
>>>
>>> Where is the meta data here. How machines understand this data.
>>>


Re: Web 3 vs Web 2

2017-06-07 Thread Phillip Rhodes
I would recommend reading the book "The Explorer's Guide to the Semantic Web".




Phil


This message optimized for indexing by NSA PRISM


On Wed, Jun 7, 2017 at 8:52 AM, tina sani  wrote:
> Thank you Colin and David for your detailed answer.
>
> On Wed, Jun 7, 2017 at 3:28 PM, Colin Maudry  wrote:
>
>> Hello Tina,
>>
>> Thank you very much for your interest for the Semantic Web. This mailling
>> list is specifically dedicated to a tool, Apache Jena. It's like asking
>> about astronomy on a list dedicated to a brand of telescopes : it's
>> off-topic.
>>
>> The Wikipedia article about the Semantic Web is a very good start :
>> https://en.wikipedia.org/wiki/Semantic_Web
>>
>> If you're fond off asking humans, I suggest you ask your question to the
>> following list, you will certainly get more answers :
>> http://lists.w3.org/Archives/Public/semantic-web/
>>
>> Have a nice trip on the paths of the Web of data :)
>>
>> Colin
>>
>>  Original Message 
>> Subject: Re: Web 3 vs Web 2
>> Local Time: June 7, 2017 1:25 PM
>> UTC Time: June 7, 2017 11:25 AM
>> From: admo...@gmail.com
>> To: users@jena.apache.org
>>
>> To see the metadata you have to consider the prefix statements that must
>> be made before you can use the triples in your example/
>>
>> @prefix rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
>>
>> click on the hyperlink to follow it.
>>
>> Using this prefix statement adds metadata essential to understanding the
>> triple:
>> Student rdf:type Person
>>
>> rdf:type means:
>> rdf:type a rdf:Property ;
>> rdfs:isDefinedBy  ;
>> rdfs:label "type" ;
>> rdfs:comment "The subject is an instance of a class." ;
>> rdfs:range rdfs:Class ;
>> rdfs:domain rdfs:Resource .
>>
>> The object “Person” in the triple may also have metadata associated with
>> it.
>> If the prefix:
>>
>> @prefix foaf: http://xmlns.com/foaf/0.1/
>>
>> is used the metadata associated with foaf:Person is
>>
>> http://xmlns.com/foaf/0.1/Person;
>> rdfs:label="Person" rdfs:comment="A person." 
>> vs:term_status="stable">> rdf:resource="http://www.w3.org/2002/07/owl#Class"/>> rdf:resource="http://schema.org/Person"/>> rdf:resource="http://www.w3.org/2000/10/swap/pim/contact#Person"/>http://xmlns.com/foaf/0.1/Agent
>> "/>http://www.w3.org/
>> 2003/01/geo/wgs84_pos#SpatialThing" rdfs:label="Spatial
>> Thing"/>http://xmlns.com/foaf/0.1/"/>http://xmlns.com/foaf/0.1/Organization
>> "/>http://xmlns.com/foaf/0.1/Project
>> "/>
>>
>> So you can see even a simple statement like
>>
>> Student rdf:type foaf:Person
>>
>> contains a huge amount of metadata that can be located and used by a
>> machine!
>>
>> On 7/6/17, 1:07 am, "tina sani"  wrote:
>>
>> For example, there is an rdf document about a student.
>>
>> Student rdf:type Person. Student hasName name. Student hasAdress adress
>>
>> Student study Course.
>>
>> Where is the meta data here. How machines understand this data.
>>


Re: Relationship between similar columns from multiple databases

2016-09-07 Thread Phillip Rhodes
You could certainly use Jena to keep a repository of those kinds of
metadata mappings and use it to help drive queries into either of the
source databases (or to merge that data into a new database, which might or
might not be RDF based).   But what Jena doesn't give you is any specific
tooling for doing the discovery process, as far as saying "EMP in DB1 is
most likely the same thing as EMPLOYEE in DB2".  That could be done, but it
is orthogonal to whether or not you use Jena.

How you'd go about doing the that discovery (leaving aside the idea of
doing it all by hand) is probably going to be non-deterministic and is
probably close to an open research problem in the AI / Machine Learning
realm.


Phil


This message optimized for indexing by NSA PRISM

On Wed, Sep 7, 2016 at 2:57 PM, John A. Fereira  wrote:

>
> I am not exactly clear what Ravion is trying to do but wondered if D2R Map
> might help
>
> https://sourceforge.net/projects/d2r-map/
>
>
> It would require setting up two D2R config files that each mapped one of
> the database into a common RDF model
>
>
>
>
> On 9/7/16, 2:39 PM, "Martynas Jusevičius"  wrote:
>
> >I think R2RML and GRDDL could be of interest to you:
> >https://www.w3.org/TR/r2rml/
> >https://www.w3.org/TR/grddl/
> >
> >On Wed, Sep 7, 2016 at 8:00 PM, ☼ R Nair (रविशंकर नायर)
> > wrote:
> >> Agree, the question is whether an RDF can be created out of the data
> from
> >> multiple data sources and use it for semantic correlation. That would
> turn
> >> the world round. In my organization,  there are at least a PB of data
> lying
> >> in disparate sources, untapped because , they are legacy and none knows
> the
> >> relationships until explored manually. If Jean is not, any suggestions
> to
> >> manage this? Thanks
> >>
> >> Best, Ravion
> >>
> >> On Sep 7, 2016 1:55 PM, "A. Soroka"  wrote:
> >>
> >> Jena is an RDF framework-- it's not really designed to integrate SQL
> >> databases. Are you sure you are using the right product? Does your use
> case
> >> involve a good deal of RDF processing?
> >>
> >> ---
> >> A. Soroka
> >> The University of Virginia Library
> >>
> >>> On Sep 7, 2016, at 1:43 PM, ☼ R Nair (रविशंकर नायर) <
> >> ravishankar.n...@gmail.com> wrote:
> >>>
> >>> All,
> >>>
> >>> I am new to Jena. I would like to query two databases, mysql and
> Oracle.
> >>> Assume that there are similar columns in both. For example MYSQL
> contains
> >> a
> >>> table EMP with ENAME column. Oracle contains, say, DEPT table with
> >>> EMPLOYEENAME column. What are the steps if I want Jena to find out
> ENAME
> >> of
> >>> MYSQL is same as EMPLOYEENAME column of Oracle, ( and so can be
> joined).
> >> Is
> >>> this possible, at least to get an output saying both columns are
> similar?
> >>> If so, how, thanks and appreciate your help.
> >>>
> >>> Best, Ravion
>


Re: Jena / Stanbol success stories?

2014-11-25 Thread Phillip Rhodes
Thanks Bob, that's good to know!


Phil
This message optimized for indexing by NSA PRISM


On Mon, Nov 24, 2014 at 3:54 PM, Bob DuCharme b...@snee.com wrote:
 Hi Phil,

 TopQuadrant's TopBraid platform (and hence our entire product line) has been
 built on Jena since before Stanbol existed. See
 http://www.topquadrant.com/technology/topbraid-platform-overview/ for an
 overview. We don't use Stanbol but I've been meaning to look harder at it
 myself.

 We also don't use Fuseki, but that's another Jena success story.

 Bob DuCharme



 On 11/23/2014 10:19 PM, Phillip Rhodes wrote:

 Hi all, I was just wondering if anybody knows of, or is involved with,
 any projects using Jena and/or Stanbol which (have been|can be)
 discussed and cited publicly?

 A local company that I've been talking to is interested in possibly
 using SemWeb technology (specifically, Jena/Stanbol) internally, but
 are looking for some evidence to support the assertion that this
 technology delivers and is for real.

 Any pointers or references would be appreciated... or if you are
 personally involved in something and are willing to talk about it
 (possibly with appropriate NDAs, etc. in place), I'd love to talk to
 you.


 Thanks,



 Phil
 ---
 This message optimized for indexing by NSA PRISM




Re: Jena / Stanbol success stories?

2014-11-25 Thread Phillip Rhodes
Hey Andy, thanks very much.  This is great stuff.


Phil

This message optimized for indexing by NSA PRISM


On Tue, Nov 25, 2014 at 6:25 AM, Andy Seaborne a...@apache.org wrote:
 On 24/11/14 03:19, Phillip Rhodes wrote:

 Hi all, I was just wondering if anybody knows of, or is involved with,
 any projects using Jena and/or Stanbol which (have been|can be)
 discussed and cited publicly?

 A local company that I've been talking to is interested in possibly
 using SemWeb technology (specifically, Jena/Stanbol) internally, but
 are looking for some evidence to support the assertion that this
 technology delivers and is for real.

 Any pointers or references would be appreciated... or if you are
 personally involved in something and are willing to talk about it
 (possibly with appropriate NDAs, etc. in place), I'd love to talk to
 you.


 Thanks,



 Phil
 ---
 This message optimized for indexing by NSA PRISM


 Ordnance Survey Linked Data

 http://data.ordnancesurvey.co.uk/datasets/os-linked-data

 has Apache Jena Fuseki behind it though it isn't mentioned but the
 documentation describes a Fuseki specific error message for timeouts.

 The Apache License does not require attribution for using binaries, but it
 would be nice to at least acknowledge use.

 Andy



Re: Jena / Stanbol success stories?

2014-11-25 Thread Phillip Rhodes
That's really useful, thank you so much!


Phil
This message optimized for indexing by NSA PRISM


On Tue, Nov 25, 2014 at 5:23 AM, Rob Walpole robkwalp...@gmail.com wrote:
 Hi Phil,

 As Adam says we are using Apache Jena at the UK National Archives to power
 the catalogue of our digitial repository. The set up we use has Jena TDB as
 the triplestore and Jena Fuseki as the front end for reading and writing
 data over HTTP. We also use other components of the Jena project as needed,
 such as the Java RDF and ARQ APIs for creating the graphs and queries which
 are posted to Fuseki. We also use the Elda Linked Data API (
 https://github.com/epimorphics/elda) implentation which provides a nice
 out-of-the-box means of viewing and querying the contents of the triple
 store without the need for users to understand SPARQL and RDF.

 Although it delivers all of our immediate needs I don't think we have
 really begun to make use of the power of this technology yet. This will
 come when we start to use Natural Language Processing to extract richer
 metadata and combine this with entity recognition and inference to extract
 new facts and connections. Ideally the data would also be opened to the
 Linked Data Cloud enabling us to make connections to other archives and
 authoritative organisations and to allow others to make their own
 connections to us.

 I wrote a conference paper on all of this a couple of years ago which you
 can read here -
 http://www.nationalarchives.gov.uk/documents/information-management/xml-london-tna-rw.pdf
 -
 it is a little outdated but the key facts are unchanged.

 HTH
 Rob

 Rob Walpole
 Email robkwalp...@gmail.com
 Tel. +44 (0)7969 869881
 Skype: RobertWalpolehttp://www.linkedin.com/in/robwalpole


 On Mon, Nov 24, 2014 at 9:04 PM, Adam Retter adam.ret...@googlemail.com
 wrote:

 The National Archives (UK) are using Apache Jena to power the
 Linked-Data Catalogue which forms the backbone of their new Digital
 Archive system (DRI). They are also using Fuseki and Elda which are
 related to Jena.

 I no longer work on the project, but Rob (Cc'd) might be able to tell
 you more if you want to know.

 On 24 November 2014 at 03:19, Phillip Rhodes motley.crue@gmail.com
 wrote:
  Hi all, I was just wondering if anybody knows of, or is involved with,
  any projects using Jena and/or Stanbol which (have been|can be)
  discussed and cited publicly?
 
  A local company that I've been talking to is interested in possibly
  using SemWeb technology (specifically, Jena/Stanbol) internally, but
  are looking for some evidence to support the assertion that this
  technology delivers and is for real.
 
  Any pointers or references would be appreciated... or if you are
  personally involved in something and are willing to talk about it
  (possibly with appropriate NDAs, etc. in place), I'd love to talk to
  you.
 
 
  Thanks,
 
 
 
  Phil
  ---
  This message optimized for indexing by NSA PRISM



 --
 Adam Retter

 skype: adam.retter
 tweet: adamretter
 http://www.adamretter.org.uk



Re: Jena / Stanbol success stories?

2014-11-25 Thread Phillip Rhodes
Hey Rob, thanks for the pointers.  Much appreciated.


Phil
This message optimized for indexing by NSA PRISM


On Tue, Nov 25, 2014 at 6:07 AM, Rob Vesse rve...@dotnetrdf.org wrote:
 Phillip

 From a commercial standpoint it is worth noting that several major triple
 store vendors actually use various parts of the Jena stack to provide some
 parts of their RDF and SPARQL implementations.

 Details differ by vendor but my rough understanding is as follows:

 - Cray (my employer) uses the ARQ library for SPARQL parsing and
 optimisation
 - IBM uses ARQ and Fuseki as the Java and HTTP front ends to their RDF
 store
 (http://www-01.ibm.com/software/data/db2/linux-unix-windows/nosql-support.h
 tml)
 - Oracle uses ARQ as their Java API to their RDF store
 (https://docs.oracle.com/database/121/RDFRM/sem_jena.htm#RDFRM234)

 All of these vendors have made presentations about their RDF stores at
 various conferences if you are interested in more details and use cases.
 These vendors would not be selling these products if they did not have
 customers buying these products.

 Like any technology Apache Jena by itself does not magically deliver, it
 is a framework that enables you to implement a whole range of different
 approaches and whether they are for real really depends on what you want
 to do and how well you execute it.

 Rob

 On 24/11/2014 03:19, Phillip Rhodes motley.crue@gmail.com wrote:

Hi all, I was just wondering if anybody knows of, or is involved with,
any projects using Jena and/or Stanbol which (have been|can be)
discussed and cited publicly?

A local company that I've been talking to is interested in possibly
using SemWeb technology (specifically, Jena/Stanbol) internally, but
are looking for some evidence to support the assertion that this
technology delivers and is for real.

Any pointers or references would be appreciated... or if you are
personally involved in something and are willing to talk about it
(possibly with appropriate NDAs, etc. in place), I'd love to talk to
you.


Thanks,



Phil
---
This message optimized for indexing by NSA PRISM






Jena / Stanbol success stories?

2014-11-23 Thread Phillip Rhodes
Hi all, I was just wondering if anybody knows of, or is involved with,
any projects using Jena and/or Stanbol which (have been|can be)
discussed and cited publicly?

A local company that I've been talking to is interested in possibly
using SemWeb technology (specifically, Jena/Stanbol) internally, but
are looking for some evidence to support the assertion that this
technology delivers and is for real.

Any pointers or references would be appreciated... or if you are
personally involved in something and are willing to talk about it
(possibly with appropriate NDAs, etc. in place), I'd love to talk to
you.


Thanks,



Phil
---
This message optimized for indexing by NSA PRISM


Two Jena/Stanbol talks next week

2014-10-13 Thread Phillip Rhodes
Jena/Stanbol folks:

Just wanted to give you all a heads up - I'll be giving not one, but two talks
next week, focusing on Jena and Stanbol.  One will be on Monday
night at the Triangle Java User's Group meeting, and the topic
will be Building Semantic Applications.  The other will be later in
the week the All Things Open conference, where the topic will be
Semantic Integration With Jena and Stanbol.

If any of you happen to be located in the Raleigh/Durham, NC area, or if you're
coming into town for the ATO conference, please drop by and say hi.  It would be
great to meet other members of this community in person!



Phil
---
This message optimized for indexing by NSA PRISM


Re: jena-text and persistent lucene index

2014-10-10 Thread Phillip Rhodes
On Fri, Oct 10, 2014 at 4:01 AM, Andy Seaborne a...@apache.org wrote:

 How do you know it does not work? The code (groovy?) does not read the
 index.

Hey Andy, I had written a separate reader program to test using the
index for queries.  I did
it that way to make sure I was seeing results from using the index,
and not accidentally getting
something that was cached in RAM or something.

Anyway, as it turns out, I managed to solve the problem.  As best as I
can tell, the issue
was this, or something close:   The first time(s) I ran this program,
I didn't yet have a
dir.close() line in there to close the Lucene Directory.  As a result,
I was getting
an incomplete Lucene index.  Later, after I fixed that, I kept running
the program
but since I was creating the exact same triples (and not deleting the
TDB dir between
runs) Jena-Text didn't reindex those triples since they already existed.

Perhaps you (or someone) can confirm if this is the way Jena Text would behave
in that regard?

Anyway, once I deleted my TDB store and started from scratch,
everything worked exactly
as expected.


Thanks!


Phil


jena-text and persistent lucene index

2014-10-09 Thread Phillip Rhodes
Jena crew:

I have Jena-Text pretty much working for what I want to do, but with
one caveat... it only seems to work with the Lucene RamDirectory.  If
I use a persistent dir, I don't find any documents being written to
the Lucene index.  Any help or suggestions are greatly appreciated.
Code sample follows:


---CODE---


package org.fogbeam.example.jenatext

import org.apache.jena.query.text.EntityDefinition
import org.apache.jena.query.text.TextDatasetFactory
import org.apache.jena.query.text.TextQuery
import org.apache.lucene.store.Directory
import org.apache.lucene.store.FSDirectory

import com.hp.hpl.jena.query.Dataset
import com.hp.hpl.jena.query.ReadWrite
import com.hp.hpl.jena.rdf.model.Model
import com.hp.hpl.jena.rdf.model.Resource
import com.hp.hpl.jena.rdf.model.Statement
import com.hp.hpl.jena.tdb.TDBFactory
import com.hp.hpl.jena.vocabulary.RDFS

class JenaTextMain6Write
{

static main(args)
{

TextQuery.init();

EntityDefinition entDef = new EntityDefinition(uri, text,
RDFS.label.asNode()) ;

// Lucene, in memory.
Directory dir =  FSDirectory.open( new File( jenastore/index ) );

// Join together into a dataset
Dataset tdbDataset = TDBFactory.createDataset(jenastore/triples);
Dataset ds = TextDatasetFactory.createLucene(tdbDataset, dir, entDef);


try
{

ds.begin(ReadWrite.WRITE);

Model m = ds.getDefaultModel();

Resource rSubject = m.createResource(
http://ontology.fogbeam.com/example/TestResource1; );
Resource rSubject2 = m.createResource(
http://ontology.fogbeam.com/example/TestResource2; );


Statement s = m.createStatement(rSubject, RDFS.label,
This is a Test Resource );

m.add( s );

Statement s2 = m.createStatement(rSubject2, RDFS.label,
Bratwurst Test );

m.add( s2 );

ds.commit();

dir.close();

}
catch( Exception e )
{
e.printStackTrace();
ds.abort();
}
finally
{
if( ds != null )
{
ds.end();
}
}

println done;
}

}

--- END CODE---



Phil
---
This message optimized for indexing by NSA PRISM


Re: Jena support for JSON-LD?

2014-01-22 Thread Phillip Rhodes
I know it's been discussed before, since I think I was the last one
(or one of the last) to bring it up. :-)

To search the archives, try using Gmane.org.
http://dir.gmane.org/search.php?match=jena

But the short version, as I understand it, is that Jena JSONLD support
is here:  https://github.com/afs/jena-jsonld

I don't actually know enough about the history and the project
internals to know why it's separate or if there are plans to pull it
into main Jena or not, but there is support there and usable.  We use
it in a couple of our projects and it works fine.



Phil
This message optimized for indexing by NSA PRISM


On Wed, Jan 22, 2014 at 3:41 PM, Samuel Padgett spadg...@us.ibm.com wrote:


 JSON-LD is now a W3C Recommendation [1]. Has JSON-LD been considered for
 Jena? I was curious if it was in the roadmap or if there are no plans for
 support. It would be nice if JSON-LD were supported natively.

 I searched the JIRA issues for Jena and didn't find anything. (Apologies if
 this has been discussed on the mailing list before... I couldn't find an
 obvious way to search the archives.)

 [1] http://www.w3.org/TR/2014/REC-json-ld-20140116/
 --
 Samuel Padgett | IBM Rational | spadg...@us.ibm.com
 Eclipse Lyo: Enabling tool integration with OSLC