Re: Ontology rdfs:range owl:Thing

2016-09-06 Thread Nikolaos Beredimas
I think you are misunderstanding the meaning of rdfs:range (a very common mistake) Per definition, rdfs:range is an instance of rdf:Property that is used to state that the values of a property are instances of one or more classes. So, rdfs:range is n

Re: Ontology rdfs:range owl:Thing

2016-09-06 Thread Nikolaos Beredimas
> > > > [1] There is an alternative closed-world semantics for OWL called ICV, > but > > I am not sure how easy it would be to use with Jena. It is implemented in > > Pellet, but this documentation for Pellet (https://github.com/ > > Complexible/pellet/wiki/FAQ#jena-int

Re: Writing Jena Model to CSV

2016-09-08 Thread Nikolaos Beredimas
CSV is not a valid RDF serialization format as mentioned (only as a format for SPARQL results). If you want something similar to CSV for serializing an RDF Model, try using N-triples. On Thu, Sep 8, 2016 at 10:22 AM, Martynas Jusevičius wrote: > I think CSV is for writing ResultSet (SELECT resu

Comparing ResultSet objects, problem with CSV

2016-09-08 Thread Nikolaos Beredimas
I have a method that does a SPARQL select query and returns results in XML, JSON and CSV using outputAsCSV (OutputStream

Re: Comparing ResultSet objects, problem with CSV

2016-09-08 Thread Nikolaos Beredimas
the details of RDF. In some > applications, guesses as to which elements are hyperlinks are made > pragmatically, for example, guessing that strings starting "http://"; are > links. > > Rob > > On 08/09/2016 14:04, "Nikolaos Beredimas" wrote: > > I h

Re: Question about RDF collections

2016-09-22 Thread Nikolaos Beredimas
Just remember that there is no ordering in this. [Document_A] --contains--> [Paragraph_1] [Document_A] --contains--> [Paragraph_2] [Document_B] --contains--> [Paragraph_2] is equivalent to [Document_A] --contains--> [Paragraph_2] [Document_B] --contains--> [Paragraph_2] [Document_A] --contains--

Property Paths programmatically

2016-10-20 Thread Nikolaos Beredimas
I have written code that looks like this: Property myPropertyA = ... Property myPropertyB = ... Property myPropertyC = ... Model model = ... NodeIterator iterA, iterB, iterC; RDFNode nodeA, nodeB, nodeC; if ( (iterA = model.listObjectsOfProperty(myPropertyA)).hasNext()

Re: Property Paths programmatically

2016-10-21 Thread Nikolaos Beredimas
operties.size() ) > return n ; > if ( n == null ) > return null ; > if ( ! n.isResource() ) > return null ; > return access(n.asResource(), idx, properties) ; > } > > See also getRequiredProperty if you want exceptions not nulls. >

Using Jena inside GWT client-side

2016-10-25 Thread Nikolaos Beredimas
Let me start by saying it's been a really long time since I have done any front-end programming. In the context of an RDF based restful API I've been involved in developing, it was always on my mind to create a GUI of sorts. I was thinking of going with JavaFX at some point, but never got around

Fuseki2 Embedded Server for Jena 3.0.1

2016-12-19 Thread Nikolaos Beredimas
Hi everybody, I am trying to run Fuseki2 embedded. I have found the artifact org.apache.jena jena-fuseki-embedded 2.4.1 However, this artifact appears to depend on Jena 3.1.1. I have another external library that depends on Jena 3.0.1 Is there a Fuseki2 embe

Re: Fuseki2 Embedded Server for Jena 3.0.1

2016-12-20 Thread Nikolaos Beredimas
es: > > https://lists.apache.org/thread.html/84de387f7529d46d9871eddbc38dac > ac48c02cf63eceda6a24015e93@%3Cusers.jena.apache.org%3E > > Rob > > On 20/12/2016 06:39, "Nikolaos Beredimas" wrote: > > Hi everybody, > > I am t

Re: Experience with large number (e.g. 1M) of Named Graphs in Fuseki?

2017-01-17 Thread Nikolaos Beredimas
My first guess would be no, it wouldn't hurt performance. Although I have limited experience on Fuseki (just using it as a second test endpoint to verify SPARQL compatibility), I am using a similar approach on a different RDF store (currently at about 650,000 graphs on one deployment) I would imagi

Re: Missing file in the jena RDF API documentation

2017-03-12 Thread Nikolaos Beredimas
I think OP means the following: 1. http://jena.apache.org/tutorials/rdf_api.html Click on 4. Reading RDF > 2. http://jena.apache.org/tutorials/rdf_api.html#ch-Reading RDF Click on Tutorial 5. > 3. https://github.com/apache/jena/blob/master/jena-core/src-examples/jena/examples/rdf/Tutorial0

Overloading SPARQL operators for User defined non-XSD data types

2017-03-13 Thread Nikolaos Beredimas
In reference to the Rational datatype example in 'User defined non-XSD data types' at the bottom of the page at ' https://jena.apache.org/documentation/notes/typed-literals.html' Is it possible, and if so how to do it, to define/override suitable methods (which methods?) in the class definition s

Jena 3 - Printing ^^xsd:string in output

2017-04-03 Thread Nikolaos Beredimas
From: https://jena.apache.org/documentation/migrate_jena2_jena3.html#rdf11-plain-literals "Output is in the datatype-less form (an abbreviated syntax) even in N-triples." - Is there a way to change the default behavior and print the ^^xsd:string part. Mostly interested when serializing to turtle

Fuseki https certificate problems

2022-07-06 Thread Nikolaos Beredimas
or both issues above. Regards, Nikolaos Beredimas

Re: Fuseki https certificate problems

2022-07-07 Thread Nikolaos Beredimas
:42 PM Andy Seaborne wrote: > Hi Nikolaos, > > > On 06/07/2022 11:04, Nikolaos Beredimas wrote: > > While trying to get Fuseki running over https I found this thread from > > February > > > https://jena.markmail.org/message/2kqpd2tlinpdzpna?q=ssl+order:date-back