Hi Lorenz, the ns is wrong, how?
String ns="http://www.semanticweb.org/soccer#
Rule:
(?x http://www.w3.org/1999/02/22-rdf-syntax-ns#type http://
www.semanticweb.org/soccer#Team) "
+ "( ?x http://www.semanticweb.org/soccer#FACupGoals ?goals )" +
"greaterThan(?goals,30)
+ "
On 12 January 2017 at 12:34, Grahame Grieve <
grah...@healthintersections.com.au> wrote:
> Consider this JSON-LD:
> {
> "@type": "fhir:Claim",
> "@id": "http://hl7.org/fhir/Claim/760152;,
> "Quantity.value": {
> "decimal": 123.45
> }
> "@context": {
> "fhir":
Consider this JSON-LD:
{
"@type": "fhir:Claim",
"@id": "http://hl7.org/fhir/Claim/760152;,
"Quantity.value": {
"decimal": 123.45
}
"@context": {
"fhir": "http://hl7.org/fhir/;,
"xsd": "http://www.w3.org/2001/XMLSchema#;,
"decimal": {
"@id": "fhir:value",
>
> Wrong list for this suggestion, but what is missing from the w3c semantic
> web stack is a general graph transformation language, analogous to XSLT,
> that would allow one to write domain-specific transformations from graph to
> hierarchy.
Isn't this what JSON-LD "Framing" is about?
Hi Samur,
That sounds very good, did you make a Jira issue already? I haven't
noticed one.
Go to https://issues.apache.org/jira/browse/JENA
Register if you don't have an account already
Create an issue
-Osma
10.01.2017, 13:23, Samur Araujo kirjoitti:
Hi Osma, I report it on Jira.
Hi admin,
Sorry for the spam, ignore it if it's not for you.
Could you please change my users' group subscription address to my new
email address i.e. i.ul...@lancaster.ac.uk?
Many thanks in advance.
Best regards,
Izhar
You do know the type: http://www.w3.org/2001/XMSchema#anyURI
It is clearly written in your example.
---
A. Soroka
The University of Virginia Library
> On Jan 11, 2017, at 10:25 AM, George News wrote:
>
> On 11/01/2017 15:59, A. Soroka wrote:
>> Perhaps parse it as a Jena
On 11/01/17 15:48, neha gupta wrote:
I used like this
No. No. No no no. Not "like" this, /exactly/ something.
A complete (no missing bits) minimal (no unnecessary
bits) example (that we could load into, say, Eclipse to
tinker with).
Being able to make this kind of example is an /essential
On 11/01/17 15:42, George News wrote:
Literal a = (Literal)
ResourceFactory.createTypedLiteral("http://hola^^http://www.w3.org/2001/XMSchema#anyURI;,
XSDDatatype.XSDanyURI);
System.out.println(a.getDatatype());
System.out.println(a.getLexicalForm());
System.out.println(a.getDatatypeURI());
At the end I decide to take a shortcut that also might help explain what
I want:
|private URI rdfLiteralToUri(String literal) { int xsdIndex =
literal.lastIndexOf("^^"); if (xsdIndex == -1) { throw new
IllegalArgumentException("Not valid literal format"); } String uriStr =
literal.substring(0,
I used like this
*OntProperty favleague=model.getOntProperty(ns+ "FavioriteLeague");*
Then I wrote this rule:
(?x http://www.w3.org/1999/02/22-rdf-syntax-ns#type
http://www.semanticweb.org/soccer#Team) "
+ "( ?x http://www.semanticweb.org/soccer#FACupGoals ?goals )" +
On 11/01/2017 16:25, Chris Dollin wrote:
>
>
> On 11/01/17 14:55, George News wrote:
>> Hi,
>>
>> I have this literal:
>> http://hola^^http://www.w3.org/2001/XMSchema#anyURI
>
> What do you mean by "have"? A String value, a Literal
> value, or what?
I want to get http://hola as a String or as
On 11/01/17 15:15, neha gupta wrote:
Even this not works
inf.listStatements(null,favleague,(RDFNode)null);
Gives the result but in Annotation area of Protege
COMPLETE MINIMAL EXAMPLE, please. You have so many
errors & omissions in the code you show us we can't
tell which one is the one
On 11/01/17 14:55, George News wrote:
Hi,
I have this literal:
http://hola^^http://www.w3.org/2001/XMSchema#anyURI
What do you mean by "have"? A String value, a Literal
value, or what?
And I want to create a URI from it. Is there any way to do so?
And do you want an actual URI object or
On 11/01/2017 15:59, A. Soroka wrote:
> Perhaps parse it as a Jena Literal (e.g. using
> ResourceFactory.createTypedLiteral() ), then use Literal.getString() to get
> the value you seek.
then I need to know the type. The issue is that I wanted to know if
there is any Jena function that directly
> On Jan 11, 2017, at 09:00, Martynas Jusevičius wrote:
>
> Paul,
>
> isn't that what SPARQL CONSTRUCT is doing?
That just gives you another graph, not a hierarchical structure as the OP
wanted. Other than named graphs, RDF has no notion of containment, which is
Even this not works
inf.listStatements(null,favleague,(RDFNode)null);
Gives the result but in Annotation area of Protege
On Wed, Jan 11, 2017 at 3:42 PM, Lorenz B. <
buehm...@informatik.uni-leipzig.de> wrote:
>
>
> > I used FavioriteLeague, though I later knew the spelling is incorrect.
> >
>
Perhaps parse it as a Jena Literal (e.g. using
ResourceFactory.createTypedLiteral() ), then use Literal.getString() to get the
value you seek.
---
A. Soroka
The University of Virginia Library
> On Jan 11, 2017, at 9:55 AM, George News wrote:
>
> Hi,
>
> I have this
> I used FavioriteLeague, though I later knew the spelling is incorrect.
>
> What you suggest Lorenz now what should I do to handle this problem because
> it has stopped me to move forward in my project.
According to the Javadoc [1] use an RDFNode object with the full URI of
the class instead of
I used FavioriteLeague, though I later knew the spelling is incorrect.
What you suggest Lorenz now what should I do to handle this problem because
it has stopped me to move forward in my project.
Thank you
On Wed, Jan 11, 2017 at 2:31 PM, Lorenz B. <
buehm...@informatik.uni-leipzig.de> wrote:
I am sorry, in theory I know most of things, but when it come to coding, I
make mistakes.
I know Literal can be any string or integer value and resources are what we
used in our ontology (some things).
Object of property FavioriteLeague is a resource : FACup, in this case,
whose URI is
> How should I share the ontology, the attachment is not allowed here?
>
> I used this to execute the rule
>
> for (Iterator i = inf.listResourcesWithProperty(RDF.type,
> favioriteleague); i.hasNext();)
> {
> inf.listStatements(null,RDF.type, "FavioriteLeague");
>
> }
On 11/01/17 10:54, neha gupta wrote:
I used this to execute the rule
for (Iterator i = inf.listResourcesWithProperty(RDF.type,
favioriteleague); i.hasNext();)
{
inf.listStatements(null,RDF.type, "FavioriteLeague");
}
I think the problem is here in the code.
How should I share the ontology, the attachment is not allowed here?
I used this to execute the rule
for (Iterator i = inf.listResourcesWithProperty(RDF.type,
favioriteleague); i.hasNext();)
{
inf.listStatements(null,RDF.type, "FavioriteLeague");
}
I think the
Can you please share the whole ontology with us?
And the snippet of code that loads + executes the rule.
> *FACup* here is the resource in my ontology
>
> On Tue, Jan 10, 2017 at 11:40 PM, neha gupta wrote:
>
>> Lorenz, what actually I did is created a data property in
Comments in line:
On 10/01/2017 21:56, "Ganesh Selvaraj" wrote:
Thank you.
Now I have loaded data using method tdbloader.main(), and it has
created me index and stats.
I have a query which I am executing, and I feel like the optimizer is not
Hi,
Is it possible to manage (e.g., add or delete) repositories in Fuseki2 (Stand
Alone) from Java code?
I tried to browse through the documentation [1], but can’t find any clue on how
to do that.
Thanks in advance!
Fajar
[1] https://jena.apache.org/documentation/fuseki2/
On 10/01/17 21:56, Ganesh Selvaraj wrote:
Thank you.
Now I have loaded data using method tdbloader.main(), and it has
created me index and stats.
I have a query which I am executing, and I feel likethe optimizer is not
optimising the query. Can you advice me if I am using it the right way
28 matches
Mail list logo