Miguel,
not exactly sure, but maybe SPIN rules could help you?
http://spinrdf.org/spin.html#spin-rules
Martynas
On Fri, Dec 6, 2013 at 1:20 AM, Miguel Bento Alves
wrote:
> Is it possible call a Sparql command in a rule? Can we do that with a custom
> built-in function?
>
> An example:
>
> let's
I was using SPIN API 1.3.0, I think it depends on ARQ 2.9.2. Now I
switched to SPIN API 1.3.1 that depends on Jena 2.11.0.
I found the Lang class - there seems to be some overlap in
functionality as well?
I also started looking at RDFDataMgr, to see wether it could replace
my DataManager (FileMan
Is it possible call a Sparql command in a rule? Can we do that with a custom
built-in function?
An example:
let's consider that I have the classes Student, Course and Lesson. Lesson is
related with Course. I have an ObjectProperty wasFailedBy that defines that
a given student fails to a given les
Which version were you using?
org.apache.jena.riot.WebContent
WebContent.contentTypeToLang
but better:
RDFLanguages.contentTypeToLang(String)
and use constants not Strings.
Andy
On 05/12/13 22:57, Martynas Jusevičius wrote:
Or rather, what functionality can replace langFromContentTy
Or rather, what functionality can replace langFromContentType() that I
was using to convert media type to Jena syntax name:
String syntax = langFromContentType(in.getMimeType());
model.read(in.getInput(), filenameOrURI, syntax);
public static String langFromContentType(String mimeTyp
Hey,
I'm using constants from org.openjena.riot.WebContent, such as
WebContent.contentTypeRDFXML, WebContent.langRDFXML etc.
After upgrading to Jena 2.11.0 (as part of SPIN API 1.3.1), the
WebContent class is not there anymore. What can I use instead?
Thanks.
Martynas
Invalid byte 1 of 1 - byte UTF -8 sequence
The file being parsed is not an XML file (this error is from the XMl/SAX
parser Xerces) because there is broken UTF-8 in byte 1 (-8 is illegal).
That probably means just after the line.
Andy
On 05/12/13 16:18, Nagore Salaberria wrote:
He
Nagore
The code sample you sent is fairly unreadable and does not appear to be
valid Java. The same goes for your RDF/XML data.
Since this list does not support attachments could you please upload the
code to a hosting service list PasteBin or a GitHub Gist and reply to the
thread with links to
Hello,
First of all congratulations for the great work you have done with the JENA
API .My name is Nagore and I'm developing my thesis and for that I need to
make a prototype that enables me to read my rdf files and SPARQL queries
performed on them . So I thought using Jena and when I drove to mak
This might happen if the Resource object has been created using
ResourceFactory.createResource(), in which case its getModel() returns
null.
Martynas
graphityhq.com
On Thu, Dec 5, 2013 at 2:44 PM, Dibyanshu Jaiswal wrote:
> Hi!
>
> I using JenaParliament for spatial queries.
> My application has
Hi!
I using JenaParliament for spatial queries.
My application has a need to add spatial data during the runtime as
specified by the user, for that I am trying to use the following peice of
code to create instances acoordingly.
import
com.bbn.parliament.jena.graph.index.spatial.geosparql.datatyp
On 03/12/13 15:10, Emanuele Della Valle wrote:
Dear all,
Marco and I would like to implement a new aggregation in ARQ.
We understand that a textual query is translated in expressions and,
then, into an algebraic execution plan. We found the aggregation
expressions [1], but we cannot find the op
12 matches
Mail list logo