Re: Anyone have recipes for ephemeral use of Jena SPARQL + Colab notebooks?

2020-06-04 Thread John A. Fereira
Hi Dan, I am not familiar with Google Colab but I’ve been using Fuseki with VIVO for a long time and if you can run Jetty in Google Colab Fuseki will work. I don’t know if you’re familiar with SKOSMOS but it uses fuseki, typically running under localhost. On 6/4/20, 5:31 AM, "Dan Brickley"

Re: CSV to rdf

2019-02-15 Thread John A. Fereira
When this question has come up in the past I’ve recommended the VIVO Harvester tool (https://github.com/vivo-project/VIVO-Harvester) which can transform content to RDF from many different sources (csv, jdbc database, json, xml, web services). It consists of a suite of tools for ingesting conte

Re: Re-Using the GEO Namespace Prefix

2018-12-12 Thread John A. Fereira
geo is also used as a namespace prefixe for the U.N. Geopoltical ontology: http://aims.fao.org/aos/geopolitical.owl# On 12/12/18, 8:43 AM, "Marco Neumann" wrote: geo is currently used in jena spatial for w3c geo predicates. and it will be used in the new geosparql module for jena/fusek

Re: Error in Jena code, when switch to another computer

2018-05-27 Thread John A. Fereira
Sent from TypeApp On May 27, 2018, at 12:07 PM, javed khan mailto:javedbtk...@gmail.com>> wrote: I want to replace Jena 2 with Jena 3. When I import it in netbeans, I include "lib" folder in classpath, lib-src folder in Sources tab but what to include as Javado

Re: Example code

2018-03-20 Thread John A. Fereira
When developing a UI with a SQL database, if the developer is using an MVC pattern, they’re not sending SQL statements to the server and iterating over the result set. Instead, they’re making a request to the server such as “getPersonList” and the business logic on the server side is constructi

Re: there is a tutorial on the use of fuseki on jsp (JavaServer Pages), to be able to consult about the web platform

2017-11-21 Thread John A. Fereira
I have done something like this but it’s a bit too complex to describe on a mailing list. It’s basically a Spring MVC java web application that uses JSP (and JSTL) at a view layer for the results. Paul Tysons suggestion to use a javascript library rather than JSP is a good one. Basically, you

Re: protege or equivalent for Jena

2017-11-14 Thread John A. Fereira
If you’re looking for an open source solution, the VIVO project can be used as an ontology editor. VIVO is a semantic web applications initially designed for the academic environment and uses Jena on the back end. VIVO also includes a robust ontology for modeling an academic environment (alon

RE: Why RDF/XML? Was: loading many small rdf/xml files

2017-10-11 Thread John A. Fereira
I am the maintainer of a project called VIVO-Harvester (https://github.com/vivo-project/VIVO-Harvester). VIVO is a semantic web application that includes it's own ontology, primarily for modeling people, organizations, scholarly research and other attributes related to an academic environment

Re: Getting xml with s-get

2017-09-21 Thread John A. Fereira
It’s sort of documented in the soh script: --output=TYPE where TYPE = json, xml, text, csv, or tsv On 9/21/17, 9:20 AM, "Mikael Pesonen" wrote: Sorry if this is documented somewhere but could not find info on how to change the output format of s-get command line tool. B

Re: Why we need Fuseki

2017-04-03 Thread John A. Fereira
It also means that you can load a triple store (eg TDB) with some RDF using jena command line tools (tdbloader, tdbloader2), deploy a fuseki instance that connects to the triple store, then use a sparql client (e.g. http://sparqlclient.eionet.europa.eu/) to execute SPARQL against the data witho

RE: Fuseki support other query languages

2017-03-04 Thread John A. Fereira
It also works equally as well with Jena SDB (with a SQL database (e.g. MySQL) on the back end). We've been using Fuseki with SDB in production for five years or so. -Original Message- From: A. Soroka [mailto:aj...@virginia.edu] Sent: Saturday, March 4, 2017 9:46 AM To: users@jena.apach

RE: Fuseki support other query languages

2017-03-04 Thread John A. Fereira
As a software developer I am frequent asked if I can do something like this. My answer is usually something like "yes" but with a followup question that "Should we do this?" Presumably there is some sort of use case for which extending fuseki to support other query languages might solve. Per

Re: Tools for browsing and editing RDF data

2016-11-08 Thread John A. Fereira
t, in your opinion? Envoyé de mon iPhone > Le 8 nov. 2016 à 10:30, "John A. Fereira" a écrit : > > You may also want to take a look at VIVO (www.vivoweb.org). It is a semantic web application that provides the ability to edit your ontology. It is a

Re: Tools for browsing and editing RDF data

2016-11-08 Thread John A. Fereira
You may also want to take a look at VIVO (www.vivoweb.org). It is a semantic web application that provides the ability to edit your ontology. It is a community open source project under the Duraspace (Fedora, Dspace) umbrella. It uses Jena (and supports others) on the back end for the triple

Re: Applications/Projects Using Jena

2016-10-06 Thread John A. Fereira
VIVO (www.vivoweb.org) uses Jena. From the about page…. What is VIVO? VIVO is member-supported, open source software and an ontology for representing scholarship. VIVO supports recording, editing, searching, browsing, and visualizing scholarly activity. VIVO encourages showcasing the scholar

Re: Relationship between similar columns from multiple databases

2016-09-07 Thread John A. Fereira
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:

Re: Creating individuals if not already exists

2016-09-06 Thread John A. Fereira
d which check if an individual exists or not? > >On Tue, Sep 6, 2016 at 4:55 AM, John A. Fereira wrote: > >> You could run a query to get a resource with specific criteria (e.g. it >> has an rdfs:label which has the users name). If you get a result, replace >> the triple

RE: Creating individuals if not already exists

2016-09-06 Thread John A. Fereira
You could run a query to get a resource with specific criteria (e.g. it has an rdfs:label which has the users name). If you get a result, replace the triple which has their GPS, otherwise create a new Student. -Original Message- From: neha gupta [mailto:neha.bang...@gmail.com] Sent: Tu

Re: creating rdf file on disk using java

2016-06-20 Thread John A. Fereira
Yes. Since the rdf file is being created but is empty, that implies that the problem lies in adding statements to the model. There are lots of examples one can find by searching for “jena write rdf example”, including an example in the Jena release: https://github.com/apache/jena/blob/master/

Re: Alternatives to D2RQ to map relational databases content in RDF

2016-06-02 Thread John A. Fereira
Another tool with might be worth looking at is Karma (http://usc-isi-i2.github.io/karma/). It’s read data from several different formats, including a relational database. Then one loads in one or more ontologies and it provides a graphical ui to map source data to the ontology. I am also the

RE: Fuseki with SDB - connection closed exception

2016-03-29 Thread John A. Fereira
users@jena.apache.org Subject: Re: Fuseki with SDB - connection closed exception On 29/03/16 11:59, John A. Fereira wrote: > I work on a project which (still) Jena SDB and have bundled up versions of > Fuseki with SDB and a ReconnectingSDB library that someone posted here a long > time ag

RE: Fuseki with SDB - connection closed exception

2016-03-29 Thread John A. Fereira
I just realized that if you want to try working with the package I posted earlier that you’ll have to modify the configuration to use the Oracle driver and if you’re using Tomcat you’ll have to extract the war file into a directory, drop the oracle jdbc library in the WEB-INF/lib directory then

RE: Fuseki with SDB - connection closed exception

2016-03-29 Thread John A. Fereira
I work on a project which (still) Jena SDB and have bundled up versions of Fuseki with SDB and a ReconnectingSDB library that someone posted here a long time ago that handles database connections timing out. We’ve been using different versions of this configuration for several years. I recent

Re: Web portal that natively supports Jena TDB and Fuseki

2016-02-11 Thread John A. Fereira
. For now, >I have found OntoWiki, but it does not natively support Apache Jena >triple store and Fuseki. > >If you have some good tool in mind, I will be glad to take a look at it. > >Thanks, >Darko > >On 10.2.2016. 15:11, John A. Fereira wrote: >> What do y

Re: Web portal that natively supports Jena TDB and Fuseki

2016-02-10 Thread John A. Fereira
What do you mean by a web portal and what do you want to do with it. The VIVO project (vivoweb.org) supports TDB and a triple store fronted by Fuseki but requires a small configuration change to specify that TDB or a Sparql (fuseki) triple will be used by the application. On 2/10/16, 8:59

Re: How can I implement custom datasources for mappings (e.g. to word or excel files)?

2015-12-07 Thread John A. Fereira
On 12/6/15, 6:55 PM, "Benedikt Tröster" wrote: >Hello everyone! > >I'm currently working on an university project and my task is to create >mappings between an ontology and several datasources. From what I've >seen jena supports MySQL datasources for OBDA, but I actually want to >map the ont

Re: Elastic Search as storage

2015-10-27 Thread John A. Fereira
This might not be exactly what you have in mind, but … The VIVO project (www.vivoweb.org) is a semantic web application that uses Jena for the RDF triple store (using SDB or TDB) and backs the triple store with a Solr index for searching. It contains some utility (java) classes which indexes

Re: REST Web services role in Jena and Semantic web

2015-09-10 Thread John A. Fereira
site on top a Jena >> implementation which contains data in owl/rdf. If I do not use JSP, how can >> I achieve it via Rest web services. >> >> On Wed, Sep 9, 2015 at 7:27 PM, John A. Fereira wrote: >> >> > Are you looking for specific use cases or examples of

RE: REST Web services role in Jena and Semantic web

2015-09-09 Thread John A. Fereira
Are you looking for specific use cases or examples of REST web services which site on top a Jena implementation which contains data in owl/rdf? I can point to a few of them but in general, a use of a Restful web services could be to provide access to data represented in owl/rdf without the req

RE: Use fuseki2 and virtuoso 7 together.

2015-05-31 Thread John A. Fereira
I've used that driver with another semantic web application that has a configurable triple store but not with fuseki directly. Be aware that you may encounter some sparql syntax difference for inserts/deletes. -Original Message- From: Nauman Ramzan [mailto:nauman.emalla...@gmail.com]

RE: Configuration for apache jdbc

2015-01-29 Thread John A. Fereira
Here is something that might help. A project that I am involved with uses SDB on the backend as the default triple store (though that is going to change soon to TDB). I have package up an instance of fuseki (based on 1.1) that has a configuration for connecting to the SDB, a few example queri

RE: Question

2015-01-23 Thread John A. Fereira
I am the maintainer of a project called "vivo-harvester", a suite of tools for ingesting data from a variety of formats into the VIVO semantic web application, but it could be used for just transforming and loading data into a triple store. Using a couple of tools one can ingest data in CSV, JS

RE: Third Party Libraries in Fuseki 2

2015-01-16 Thread John A. Fereira
tomcat/lib requires is also in tomcat/lib (even if it is in >> WEB-INF/lib) - which could cause conflicts. >> >> >> >> On 16 January 2015 at 02:46, Trevor Donaldson >> wrote: >> >>> Ok thanks. >>> On Jan 15, 2015 9:05 PM, "John A. Fere

RE: Third Party Libraries in Fuseki 2

2015-01-15 Thread John A. Fereira
That depends on what you're using for your servlet container. When I use jetty I just create a lib directory in the directory where I've downloaded fuseki, and drop any jar files there (for example, if you want to connect to an sdb that's where the sdb jar file would go. Then the start up scr

RE: Fuseki with a web.xml

2015-01-13 Thread John A. Fereira
r /var/lib/fuseki. The default >could be path to find the first existing place on the path. > >The place can have symbolic links - important for controlled the disk >location of databases (SSD are good!). > >And what should it be for MSWindows? (I'm not a windows se

RE: Fuseki with a web.xml

2015-01-12 Thread John A. Fereira
The startup script for Tomcat (catatalina.sh or catalina.bat) will check for the existence of a setenv.sh or setenv.bat file in the $TOMCAT_HOME/bin directory and "source" it if it exists. That's usually where I put any environment variables that I want to set that are needed by a web app. I

RE: Fuseki with a web.xml

2015-01-10 Thread John A. Fereira
risk-reduce the transistion from my point-of-view. Andy On 10/01/15 00:01, Trevor Donaldson wrote: > Not production ready, yet? Oh no. :-( > On Jan 9, 2015 6:59 PM, "John A. Fereira" wrote: > >> I haven't looked at Fuseki2 in a few weeks but did finally get a

RE: Fuseki with a web.xml

2015-01-09 Thread John A. Fereira
I haven't looked at Fuseki2 in a few weeks but did finally get a version deployed with includes both a TDB and an SDB datastore, running under Tomcat. I've got a project for which I'll need to use Fuseki and would like to use Fuseki2 but last time I used it there were still a number of things t

RE: Anyone had success with Fuseki on Openshift?

2014-10-12 Thread John A. Fereira
I'm not familiar with Openshift but in order to figure out what the problem might be we'll need to know what version of Fuseki is being used and see a copy of the configuration file.Just a shot in the dark, but it sounds like it could be related to the configuration and the use of defaultUni

RE: Using Fuseki 2 as a web application

2014-10-10 Thread John A. Fereira
From: Andy Seaborne [mailto:a...@apache.org] Sent: Friday, October 10, 2014 5:43 AM To: users@jena.apache.org Subject: Re: Using Fuseki 2 as a web application On 09/10/14 20:35, John A. Fereira wrote: > Hijacking an old thread > > I've been playing around with the jena-fuseki2

RE: Using Fuseki 2 as a web application

2014-10-09 Thread John A. Fereira
Hijacking an old thread I've been playing around with the jena-fuseki2 code (from a recent clone of the jena git repository) and have made pretty good progress getting it to work with SDB, using the ReconnectingSDB jar file (https://github.com/shellac/ReconnectingSDB). On my laptop (windows

RE: SDB with MySQL and Java

2014-09-03 Thread John A. Fereira
10:07 PM To: users; John A. Fereira Cc: dev Subject: Re: SDB with MySQL and Java Hi John. I will need to create some SWRL rules on the data present in the ontology, then I need to use the native four tables of Jena SDB or could maybe use D2RQ or VITRO to do the queries using SWRL? 2014-09-02 10

RE: SDB with MySQL and Java

2014-09-02 Thread John A. Fereira
It's not clear to me what you're trying to do. Is the MySQL database you mention the database that sits behind the Jena SDB triple store. That database would have four tables (nodes, prefixes, quads, triples) and wouldn't be a database that you would access directly using SQL queries. If, how

RE: Using Fuseki 2 as a web application

2014-07-31 Thread John A. Fereira
Are you putting the configuration file into a directory named FUSEKI_BASE/configuration? FUSEKI_BASE is an environment variable which points to a fuseki "base" directory. For example, if you copied the distribution into /usr/local/fuseki2 you'd set the environment variable as follows: export

RE: fuseki, vivo, mysql. How to set this up?

2013-09-09 Thread John A. Fereira
formatique. Toute divulgation, distribution ou copie du présent courriel et des documents attaches sans autorisation préalable de son émetteur est interdite." ** ** "This e-mail and any attached documents may contain confidential or proprietary information. If you are not the intended recipient, p

RE: fuseki, vivo, mysql. How to set this up?

2013-09-09 Thread John A. Fereira
tended recipient, please advise the sender immediately and delete this e-mail and all attached documents from your computer system. Any unauthorized disclosure; distribution or copying hereof is prohibited." ** 2013/9/7 John A. Fereira > I don't know if this will help but

Re: fuseki, vivo, mysql. How to set this up?

2013-09-08 Thread John A. Fereira
Got it figured out. I will write more later Sent from my iPhone On Sep 8, 2013, at 12:53 PM, "Andy Seaborne" wrote: > On 08/09/13 13:04, John A. Fereira wrote: >> Yesterday I started working on getting a fuseki 1.0.0-SNAPSHOT with >> SDB that could be used for conn

RE: fuseki, vivo, mysql. How to set this up?

2013-09-08 Thread John A. Fereira
Yesterday I started working on getting a fuseki 1.0.0-SNAPSHOT with SDB that could be used for connecting to a VIVO instance. I had previously done this with the 0.2.6 version of fuseki just be creating a "lib" directory in the fuseki distribution, copying the additional dependency libraries (S

RE: fuseki, vivo, mysql. How to set this up?

2013-09-06 Thread John A. Fereira
I don't know if this will help but I've got Fuseki + SDB +MySQL built based on the 0.2.6 code that we've been using for VIVO at Cornell (my boss was the original developer of VIVO. It has a few sample sparql queries for pulling data out of VIVO and include a startup script. It's all zipped up

RE: Future of Jena SDB

2013-06-11 Thread John A. Fereira
Just as an FYI... The VIVO project (www.vivoweb.org) uses SDB by default for its triple store. The latest version of the software makes that someone configurable but I doubt that many (if any) of the 80 something institutions that have deployed or are developing a site using VIVO have used a

RE: Fuseki and SDB

2013-05-02 Thread John A. Fereira
Hugh Cayless [mailto:philomou...@gmail.com] Sent: Wednesday, May 01, 2013 6:57 PM To: users@jena.apache.org Subject: Re: Fuseki and SDB That would be fantastic. Thanks! On May 1, 2013 6:17 PM, "John A. Fereira" wrote: > I have been running with SDB for several month. I can send the r

Re: Fuseki and SDB

2013-05-01 Thread John A. Fereira
I have been running with SDB for several month. I can send the recipe of jar files you'll need tomorrow if you're interested Sent from my iPhone On May 1, 2013, at 5:19 PM, "Hugh Cayless" wrote: > Does Fuseki actually work with SDB? I've got it running, but there seem to be > unfulfilled dep

RE:

2013-03-30 Thread John A. Fereira
Specifically, you'll need to include the commons-logging jar file in your classpath. Typically that would mean specifying a directory which includes that jar file as well as the jar files for the jena library and any other dependency library. You'll probably also need to include one for log4j