do I get the URI of the ontology regardless of the URL where the
ontology is resolved from?
Do I need to query the imported model for the tripple "?s a owl:Ontology"
to find out or Jena has some built-in function for this?
Thank you
Best Regards
--
Alex To
PhD Candidate
School of Inf
Morales wrote:
> Let's say I have a node of type schema:Book and one of type
> schema:VideoGame. In the Schema vocabulary, both are subclasses of
> schema:CreativeWork.
> Can somebody please give me a hint how to query Fuseki for
> schema:CreativeWork in order to retrieve both types
We have web services returning XML and JSON in our environment. We use
https://github.com/RMLio/rmlmapper-java to map XML/JSON to RDF with
satisfied results.
Or course you need a valid URI for your XML or Json elements for e.g. in
our XML, if we have ... then we use RML to map
it to
malized, you can also convert that to JSON and repeat
> the same process as above.
>
> Christopher Johnson
> Scientific Associate
> Universitätsbibliothek Leipzig
>
> [1] https://json-ld.org/spec/latest/json-ld-api/#object-to-rdf-conversion
>
> On Mon, 5 Nov 2018 at 08:
gt; Do you have any suggestion about tools or XSLT that can transform
> CSV to
> > RDF
> >
> > Thank you in advance,
> > Elio HBEICH
> >
>
>
> --
> Conal Tuohy
> http://conaltuohy.com/
> @conal_tuohy
> +61-466-
tClassImpl.java:180)||
> ||at
>
> org.apache.jena.ontology.impl.OntClassImpl.isHierarchyRoot(OntClassImpl.java:739)||
> ||at
>
> org.apache.jena.util.iterator.FilterIterator.hasNext(FilterIterator.java:56)||
> ||at
>
> org.apache.jena.util.iterator.Wrap
I figured it out, I need to include GRAPH ?g in the query
Thanks
On Fri, Sep 6, 2019 at 2:08 PM Alex To wrote:
>
> Hi
>
> I created a Jena Lucene index with this configuration
>
> var entDef = new EntityDefinition(
> "uri",
> "label
Hi
I created a Jena Lucene index with this configuration
var entDef = new EntityDefinition(
"uri",
"label",
"graph", RDFS.label.asNode());
entDef.setLangField("lang");
entDef.setUidField("uid");
Then I loaded schema.org ontology and queried using Lucene API directly on
lasses();
while (topClazzez.hasNext()) {
OntClass clazz = topClazzez.next();
System.out.println(clazz.getURI());
}
A minimal Maven project ready to run to demonstrate my problem is here
https://github.com/AlexTo/jena-lab (have a look at the Main.java)
Thanks a lot
--
Alex To
PhD Candidate
Sch
Hi
I have so far been happy with Jena + Lucene / Elastic. Just trying to get a
quick answer whether it can work with other Jena based API like Virtuoso /
MarkLogic.
If I wrap a MarkLogic Dataset in a Jena TextDataset, can it work as
expected ?
Given that a MarkLogic / Virtuoso Dataset
0 - what code is it using?
>
> On 13/09/2019 01:18, Alex To wrote:
> > I created a small program to try out Lucene with MarkLogic Jena here
> >
> >
> https://github.com/AlexTo/jena-lab/blob/master/src/main/java/com/company/MainMarkLogic.java
> >
> >
> > My
Hi Andy
I ended up creating separate implementation for Jena and MarkLogic full
text search for now due to time constraints of the project. I will
investigate further at a later time.
Thank you
Best Regards
On Sun, Sep 15, 2019 at 6:53 PM Andy Seaborne wrote:
> Alex,
>
> I can't t
Hi everyone
I have a question. I want to add a new field for Jena Full Text search
using EntityDefinition.set(String field, Node predicate).
For e.g. if I want to include ("prefLabel", SKOS.prefLabel) as a new
mapping, then obviously I need to re-index existing data because I think
Jena creates
Alex To wrote:
> Hi Andy
>
> I ended up creating separate implementation for Jena and MarkLogic full
> text search for now due to time constraints of the project. I will
> investigate further at a later time.
>
> Thank you
>
> Best Regards
>
> On Sun, Sep 15, 201
ystems have their own built-in text
> >> indexing which execute as part of the native query engine. This may be a
> >> factor for you, it may not.
> >>
> >> Let us know how you get on trying it.
> >>
> >>
> >>
> >> There
ets
> that really represent your data.
>
> On Wed, Sep 18, 2019 at 8:14 PM Alex To wrote:
>
> > Update: I switched from Lucene to Elasticsearch 6.4.3 and Kibana. Both
> Jena
> > and MarkLogic Jena works with indexing, I haven't tried querying
> MarkLogic
> > with text:quer
. ?s ?p ?o}: 62,000
{?s rdf:type ?d}: 37,000
{?p rdfs:domain ?d . ?s ?p ?o} MINUS { ?s rdf:type ?d }: 39,000
Thanks,
Alex
federation via
SERVICE extension might be sufficient and that is also supported.
http://www.revelytix.com/content/download-spinner
Alex Miller
Generally there is a web services on each machine that passes the requests to
tdb.
We are using TDBFactory.createModel(shared_files_dir_location) to open a
model.
All the manipulations are done with model object.
Yes, I know that this is a bad idea :-) We are working on this.
Alex
There is an external lock mechanism we use to prevent concurrent write. There
are simply no write requests that we allow to process in the same time.
Alex
-Original Message-
From: Marco Neumann [mailto:marco.neum...@gmail.com]
Sent: Sunday, March 10, 2013 16:01
To: users
I'm not sure I understand the question. The server sides on both machines are
always on - the model is created/opened once when the server side is started.
The http requests are processed separately - there is no session stored for
http connection.
Alex
-Original Message-
From: Marco
It keeps the reference to model in memory.
Alex
-Original Message-
From: Marco Neumann [mailto:marco.neum...@gmail.com]
Sent: Sunday, March 10, 2013 18:25
To: users@jena.apache.org
Subject: Re: Two tdb instances using same data files
does the app terminate after each connection or do
and can notify second JVM
about the change - will it help to close the model in second JVM and reopen it
or reset the model somehow to get the changes made in first JVM?
Alex
-Original Message-
From: Andy Seaborne [mailto:andy.seaborne.apa...@gmail.com] On Behalf Of Andy
Seaborne
Sent
Hello,
Everything I've read about jena working in x64 environment tells that it should
work faster than on x86.
But somehow when we migrated our system form x86 to x64 (Java 6 update 14, both
32 and 64 bit versions) we encountered a slowdown in jena's performance - it
works about 3 times slower
configurations, or is direct modification and re-compilation of
the code necessary?
Thanks,
--
Alex
and module. I got the output that jar was copied but in
local maven repo I had only pom.
Суббота, 4 июля 2015, 21:00 +01:00 от Andy Seaborne a...@apache.org:
On 04/07/15 20:40, Alex Sviridov wrote:
Thank you for you answer. But if I add typePOM/type then the necessary
classes are not found
:21 +01:00 от Andy Seaborne a...@apache.org:
On 04/07/15 13:15, Alex Sviridov wrote:
I can't get apache-jena-osgi jar. I tried central repo
dependency
groupIdorg.apache.jena/groupId
artifactIdapache-jena-osgi/artifactId
version2.13.0/version
/dependency
but constanly get
Thank you for your time.
Суббота, 4 июля 2015, 21:25 +01:00 от Andy Seaborne a...@apache.org:
On 04/07/15 21:18, Alex Sviridov wrote:
Thank you very much. I added the aoache snapshot repository and I got the
jar file. Can you answer the following questions:
Please add
can I get jena-osgi.jar? I have never had such strange problem with getting
jar file.
--
Alex Sviridov
Thank, Andy. The workaround fixed the problem in my environment.
Alex
On 21.06.16 14:01, Andy Seaborne wrote:
Alex,
Thanks - the key point here is TDB - it follows a slightly different
path through the code.
https://issues.apache.org/jira/browse/JENA-1198
The best workaround for Fuseki I
:tdb_dataset_readwrite ;
fuseki:name "test" ;
fuseki:serviceQuery "query" , "sparql" ;
fuseki:serviceReadGraphStore "get" ;
fuseki:serviceReadWriteGraphStore
"data"
base, TextIndex textIndex)
method but this method triggers the indexing if we stop the app and the
start it again.
I hope you can understand the use case I’m targeting from the above
explanation.
Cheers,
Alex
Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Wind
32 matches
Mail list logo