uploaded the MeSH ontology into the default graph or at
> least not into a graph with the name `<http://id.nlm.nih.gov/mesh>`.
>
> From the query editor at https://id.nlm.nih.gov/mesh/query, I see that
> they
> have different graphs for each year (current = `<
> http://id
Hi Louis,
You might have uploaded the MeSH ontology into the default graph or at
least not into a graph with the name `<http://id.nlm.nih.gov/mesh>`.
>From the query editor at https://id.nlm.nih.gov/mesh/query, I see that they
have different graphs for each year (current
I uploaded the mesh ontology in fuseki,
but when I try with the query the sample queries recommended in their
documentation:
https://hhs.github.io/meshrdf/sample-queries
I get no results.
For instance:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3
You're right, I should have shown you a real concrete example from the
beginning.
In Biolink Model ontology "has_catalyst" property is defined as below
(<https://github.com/biolink/biolink-model/blob/master/biolink-model.owl.ttl>,
line 4010):
*biol
Ok, but if your example isn't related to the link, how is the link
related to your current issue?
Can you share the ontology with the father relation where the inference
doesn't work for you?
On 06.02.23 10:42, Yang-Min KIM wrote:
Le lun., févr. 6 2023 at 10:30:17 +0100, Lorenz Buehmann
On 06/02/2023 09:42, Yang-Min KIM wrote:
Le lun., févr. 6 2023 at 10:30:17 +0100, Lorenz Buehmann
a écrit :
SWRL
Dear Dave and Lorenz,
Thank you for your reply!
As I am a beginner in ontology, I do not yet know all the different
terms, e.g. SWRL, I'm checking!
My exemple (father-child
Le lun., févr. 6 2023 at 10:30:17 +0100, Lorenz Buehmann
a écrit :
SWRL
Dear Dave and Lorenz,
Thank you for your reply!
As I am a beginner in ontology, I do not yet know all the different
terms, e.g. SWRL, I'm checking!
My exemple (father-child...etc) is not related to the link (Biolink
SWRL. If it is SWRL, then you will a)
use Pellet as reasoner or b) write that rule as a custom Jena rule
As Dave mentioned, you example ontology doesn't cover the domain you
describe. At least I could find any entity denoted "father" or similar.
Lorenz
On 06.02.23 10:19, Dave Reyn
To configure use of a reasoner with fuseki see
https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html
under the section "Inference".
The reasoners are not graph-aware so the union of your ontology and your
instance data all need to appear in the default gra
Dear Jena community,
I hope your day is going great.
I have a question about the ontology: we want to request an ontoogy
data A that also import another ontology OWL-B.
e.g.
A includes:
John is Male.
John has a daughter called Monica.
OWL-B includes:
Daughter
On Fri, Apr 1, 2022 at 1:13 PM Andy Seaborne wrote:
>
>
>
> On 26/03/2022 15:46, Martynas Jusevičius wrote:
> > Hi,
> >
> > Using the ontology API, if one owl:imports an ontology URI such as
> > <http://www.w3.org/ns/org#> into ontology model, the impo
On 26/03/2022 15:46, Martynas Jusevičius wrote:
Hi,
Using the ontology API, if one owl:imports an ontology URI such as
<http://www.w3.org/ns/org#> into ontology model, the imported model
gets cached under the "http://www.w3.org/ns/org#; key.
However, given
<http://www
It doesn't look like the ReadHook is applied on the cache key, unfortunately.
The problematic OntDocumentManager code is here:
https://github.com/apache/jena/blob/main/jena-core/src/main/java/org/apache/jena/ontology/OntDocumentManager.java#L983
On Sat, Mar 26, 2022 at 5:09 PM Martynas
Could OntDocumentManager.ReadHook be used for this?
https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/ontology/OntDocumentManager.ReadHook.html
On Sat, Mar 26, 2022 at 4:46 PM Martynas Jusevičius
wrote:
>
> Hi,
>
> Using the ontology API, if one owl:imports an
Hi,
Using the ontology API, if one owl:imports an ontology URI such as
<http://www.w3.org/ns/org#> into ontology model, the imported model
gets cached under the "http://www.w3.org/ns/org#; key.
However, given
<http://www.w3.org/ns/org#> a owl:Ontology
one can ar
You might want to use a named graph for the model you want to export...
Marc
Le 23/09/2021 à 16:18, Simon Gray a écrit :
Hi there,
Overall really satisfied with Apache Jena!
I’m currently constructing an OntModel based on an OntModelSpec which first
calls OntModel.read(“…”) a bunch of times
Hi there,
Overall really satisfied with Apache Jena!
I’m currently constructing an OntModel based on an OntModelSpec which first
calls OntModel.read(“…”) a bunch of times to load the schemas, adding the base
triple data to the graph afterwards. I have successfully managed to get it to
infer
a formal ontology. The most you will
probably ever need is an RDFS schema, and that mainly for your own
understanding, communication, and documentation.
Regards.
--Paul
On 8/19/21 2:30 PM, Matt Whitby wrote:
This will be off-topic but I believe you're the best group of people
to ask
Hi I constructed various web applications using ontologies to do stuff. Philip
Shields
|
|
| |
Philip Shields
|
|
|
Phil
On Friday, 20 August 2021, 01:49:00 pm AEST, Luis Enrique Ramos García
wrote:
Hi,
I recommend the book Ontology Engineering by Gomez Perez, which
Hi,
I recommend the book Ontology Engineering by Gomez Perez, which is good to
begin with.
Luis
El jue, 19 ago 2021 a las 21:30, Matt Whitby ()
escribió:
> This will be off-topic but I believe you're the best group of people to ask
> this to. We need to look at our various datasets and
Yes, off-topic, better forums would be ontolog-forum
(http://ontologforum.org/info/) and semantic-...@w3.org.
But, briefly: I have yet to see a good use case that would justify the
expense and trouble of making a formal ontology. The most you will
probably ever need is an RDFS schema
Hi Matt
What kind of ontology are you envisaging? RDFS? OWL-DL? Natural
Language? It can make a difference.
Also what is the use case for the ontology? Documentary? Used to query?
thanks
graham
On 20/08/21 7:30 am, Matt Whitby wrote:
This will be off-topic but I believe you're the best
nglish LLC
San Jose, CA, USA
860 830 2085
https://www.executable-english.com
On Thu, Aug 19, 2021 at 12:30 PM Matt Whitby wrote:
> This will be off-topic but I believe you're the best group of people to ask
> this to. We need to look at our various datasets and start to put together
> an on
:
> This will be off-topic but I believe you're the best group of people to ask
> this to. We need to look at our various datasets and start to put together
> an ontology. Does anyone have any suggestions on books to read, videos to
> watch, or any general advice or pitfalls to avoid?
>
> Thanks,
> Matt.
>
This will be off-topic but I believe you're the best group of people to ask
this to. We need to look at our various datasets and start to put together
an ontology. Does anyone have any suggestions on books to read, videos to
watch, or any general advice or pitfalls to avoid?
Thanks,
Matt.
Dear All,
How can I generate a matrix view of an ontology? and how can I manipulate
this matrix?
Thank you in advance
Best Regards
Elio
2020 22:35
To: users@jena.apache.org
Subject: Re: time ontology
Hi Barry,
From what I can remember the standard was focussed upon providing a
vocabularly to represent data rather than defining functionality.
You could implement the 'time:after' and 'time:before' as Property Functions
Time ontology
(https://www.w3.org/TR/owl-time/). I especially like the way they have a time:after and time:before object
property and I would like to use those as a filter in my SPARQL query (note that I do know the SPARQL FILTER
keyword exists that supports datetime comparisons, i.e. FILTER
Hi everyone,
for a project I have a set of sosa:Observation's and would like to use the
elegant W3C Time ontology (https://www.w3.org/TR/owl-time/). I especially like
the way they have a time:after and time:before object property and I would like
to use those as a filter in my SPARQL query
pping rules on each
> one of them.
> by doing so, I keep them independent but at the same time I can query them
> both.
>
> Best regards,
> Elio HBEICH
>
> On Wed, Sep 25, 2019 at 5:27 PM Claude Warren wrote:
>
> > I am not certain exactly what you are asking. Are
EICH
>
> On Wed, Sep 25, 2019 at 5:27 PM Claude Warren wrote:
>
>> I am not certain exactly what you are asking. Are you asking how to create
>> an ontology that maps different names for the same concept together (eg.
>> molecular weight -vs- compound weight) so that you can q
you are asking. Are you asking how to create
> an ontology that maps different names for the same concept together (eg.
> molecular weight -vs- compound weight) so that you can query across them?
>
> If so the only examples I know of are
>
> BioFed:
>
> https://www.r
I am not certain exactly what you are asking. Are you asking how to create
an ontology that maps different names for the same concept together (eg.
molecular weight -vs- compound weight) so that you can query across them?
If so the only examples I know of are
BioFed:
https
model or tdb database.
> It
> will auto link.''
>
> On Mon, Feb 18, 2019 at 12:49 PM Siddhesh Rane wrote:
>
>> The question is a little ambiguous but what I understand is
>> - you have a citygml file containing an example city that you have exported
>> to rdf.
xample city that you have exported
> to rdf.
> - an ontology (say owl format) for CityGML standard.
>
> If you want to link the two, simply add both to a model or tdb database. It
> will auto link.
>
> If however you want to create an ontology, then possibly look at
>
The question is a little ambiguous but what I understand is
- you have a citygml file containing an example city that you have exported
to rdf.
- an ontology (say owl format) for CityGML standard.
If you want to link the two, simply add both to a model or tdb database. It
will auto link
Dear All,
I am trying to convert a gml file (building, bridge, etc.) from CityGML to
rdf.
So first i have convert it to CSV bu using geoconverter.
Than i transform the generated file to RDF by using OpenRefine.
I already have the ontology (building for example) i need to tranport the
information
order logic, rather than> >
statistical inference, but it is still powerful. It means that you can> >
discovery surprising things about your data simply using your ontology> >
(which describes how classes relate to each other).> > > On Wed, Dec 5, 2018 at
11:16 AM Manuel
that you can
discovery surprising things about your data simply using your ontology
(which describes how classes relate to each other).
On Wed, Dec 5, 2018 at 11:16 AM Manuel Enrique Puebla Martinez <
mpue...@uci.cu> wrote:
>
> Hello:
>
> Is it possible to infer new knowledge abou
reate data with assignments:
SELECT ?s ?w { ?s :p ?v . BIND( ?v +1 AS ?w) }
That's more like a simple business rule than ontology.
Andy
On 05/12/2018 16:15, Manuel Enrique Puebla Martinez wrote:
Hello:
Is it possible to infer new knowledge about an ontology only from a query in
SPARQ
Hello:
Is it possible to infer new knowledge about an ontology only from a query in
SPARQL?
I have a question about the use of the SPARQL language about ontologies. So far
I have thought that SPARQL is the equivalent to the SQL language in the
relational databases, that is to say
> by yourself.
>>
>>
>> On 09.08.2018 09:08, javed khan wrote:
>>> Hello Lorenz sorry for inconvenience.
>>>
>>> Suppose we have a dataset about software effort estimation which have
>> about
>>> 100 attributes (line of code, complexit
tes (line of code, complexity etc). To extract the subset of
> > features (as all 100 attributes are not important), we usually used some
> > data mining algorithms (Genetic algorithm etc). Now I want to make these
> > attributes as Ontology and get the attributes via SPARQL but not sure
ftware effort estimation which have about
> 100 attributes (line of code, complexity etc). To extract the subset of
> features (as all 100 attributes are not important), we usually used some
> data mining algorithms (Genetic algorithm etc). Now I want to make these
> attribute
algorithm etc). Now I want to make these
attributes as Ontology and get the attributes via SPARQL but not sure how
can I select the most appropriate features using SPARQL (because the
Genetic algorithm and other select the most appropriate features
automatically).
Best regards
On Thu, Aug 9, 2018 at 7
s ( for data mining) , can we
> do it using Semantic Web technologies like Ontology and SPARQL. ?
>
> Thanks
>
Hello
For instance, we have to select some features ( for data mining) , can we
do it using Semantic Web technologies like Ontology and SPARQL. ?
Thanks
Hi
May I know what is the best way to get the URI of an ontology. I have
looked at this page creating-ontology-models
<https://jena.apache.org/documentation/ontology/#creating-ontology-models> and
this page OntDocumentManager
<https://jena.apache.org/documentation/javadoc/jena/org/ap
shown is executed, there are inconsistencies in models for the same
ontology but accessed in different ways:
ontology.getOntModel().getOntology("
https://localhost:4443/demo/iswc-2017/ns/templates#
").listImports().toList().toString()
[http://atomgraph.com/ns/platform/templat
in models for the same
ontology but accessed in different ways:
ontology.getOntModel().getOntology("
https://localhost:4443/demo/iswc-2017/ns/templates#
").listImports().toList().toString()
[http://atomgraph.com/ns/platform/templates#,
https://www.w3.org/ns/ldt/core
Hi,
we have an ontology editor that stores ontologies and their terms in a
triplestore. On the other end, they are being loaded by OntDocumentManager.
The question is: what is the proper way to clear and reload an ontology and
its imports in OntDocumentManager?
Because, for example, a user
and 190ms with
OWLMicro, which is the reasoner profile that's generally closest to
being practical. [OWLMini is even slower than the full OWL rule set in
this case.]
Note that that ontology is OWL 2 which Jena doesn't support.
Dave
On 14/03/18 20:34, Marc Agate wrote:
Hi,
owlURL is the url
Hi,
owlURL is the url of the bdrc.owl file that is used to create the
Ontology model.
public static final String owlURL="https://raw.githubusercontent.com/Bu
ddhistDigitalResourceCenter/owl-schema/master/bdrc.owl";
Marc
Le mercredi 14 mars 2018 à 20:25 +, Andy Seabor
On 14/03/18 19:12, Élie Roux wrote:
In the case of inference then yes there is also an upfront cost of
computing the inferences. Once computed these are typically cached
(though this depends on the rule set) and any changes to the data
might invalidate that cache. You can call prepare() on
In the case of inference then yes there is also an upfront cost of
computing the inferences. Once computed these are typically cached
(though this depends on the rule set) and any changes to the data
might invalidate that cache. You can call prepare() on the InfModel
to incur the initial
to happen
>
> So what you are timing as the results processing is actually results
> processing + query execution. Over an inference model the act of
> executing a query will cause inference rules to be applied which
> depending on the ontology and rules may take
act of
> executing a query will cause inference rules to be applied which
> depending on the ontology and rules may take a long time.
>
> Rob
>
> On 14/03/2018, 16:26, "agate.m...@gmail.com" <agate.m...@gmail.com>
> wrote:
>
> Hi,
>
> I ha
an inference model the act of executing a query will
cause inference rules to be applied which depending on the ontology and rules
may take a long time.
Rob
On 14/03/2018, 16:26, "agate.m...@gmail.com" <agate.m...@gmail.com> wrote:
Hi,
I have included here
(https:/
Hi,
I have included here
(https://gist.github.com/MarcAgate/8bbe334fd852817977c909af107a9c6b) some code
tha illustrates the issue.
It runs the same query against three different models (Model, InfModel and
OntModel) of the same ontology.
There's obviously a problem with InfModel.
Any idea
It worked, thanks -- esp. for the documentation reference.
Jos
-Ursprüngliche Nachricht-
Von: Lorenz Buehmann [mailto:buehm...@informatik.uni-leipzig.de]
Gesendet: Dienstag, 28. November 2017 14:00
An: users@jena.apache.org
Betreff: Re: How to get the ontology header
I guess
I guess this is explained in the documentation [1]
Basically, the ontology object would be the triple subject, and as the
information are annotations, it's encoded via simple triples with the
annotation property beeing the predicate.
[1] https://jena.apache.org/documentation/ontology/#ontology
Hi there
How by using jena do I get and print on the console the ontology header, i.e.
the annotation that in Protege are listed as Ontology header in tab Active
Ontology?
Thanks, Jos
On 29/06/17 07:32, Vivek Maturu wrote:
Hello!,
I am Vivek, I am working on DogOnt Ontology. My question is
whether I can directly copy the code from that ontology file into Jena
workspace? DogOnt file is in .owl format. Does Jena support that type of
files?
Hi Vivek,
The "
not inspect the
Content-Type returned from the server.
Code to load the Ontology from disk:
import org.apache.jena.ontology.OntModel;
import org.apache.jena.rdf.model.Model;
import org.apache.jena.rdf.model.ModelFactory;
public class App {
public static void main(String[] args) {
try {
OntModel
and external ontologies. I was expecting the following
code to work in a similar manner. It appears however that Model.read
expects imported ontologies to be of type rdf xml and does not inspect the
Content-Type returned from the server.
Code to load the Ontology from disk:
import
which is a very different semantic?
>
> ---
> A. Soroka
> The University of Virginia Library
>
>> On Mar 31, 2017, at 2:38 PM, Donald Smith <donald.sm...@argodata.com> wrote:
>>
>> RDFDataMgr does fine while loading a given RDF file, but what I'm trying to
>> do is t
If http://example.com/ExampleOntology.owl is in the document manage cache,
> the code may be confused and using ".owl" as the syntax indicator (that gets
> to RDF/XML).
>
> Or it may be processing the HTML 404 error page and "Content-Type: text/html"
> i
text/html" is taken as definitive.
Andy
The proper way IMO is to have a location-mapping and read ontology
(namespace) URI, not physical file URIs, and let LocationMapper take
care of the rest.
https://jena.apache.org/documentation/notes/file-manager.html
On Fri, Mar 31, 2017
7, at 2:38 PM, Donald Smith <donald.sm...@argodata.com> wrote:
>
> RDFDataMgr does fine while loading a given RDF file, but what I'm trying to
> do is to use OntModel to read an ontology from local disk which would intern
> fetch the imported ontologies. For any imported ontol
Some of the code (at least OntDocumentManager) is still using
FileManager I believe.
The proper way IMO is to have a location-mapping and read ontology
(namespace) URI, not physical file URIs, and let LocationMapper take
care of the rest.
https://jena.apache.org/documentation/notes/file
RDFDataMgr does fine while loading a given RDF file, but what I'm trying to do
is to use OntModel to read an ontology from local disk which would intern fetch
the imported ontologies. For any imported ontology that is fetched via HTTP
that is returned as RDF/XML works fine. For any imported
On 29/03/17 20:54, Donald Smith wrote:
Given I have an ontology that imports one or more other ontologies, when I read
that ontology:
model.read("http://example.com/ExampleOntology.owl;, "TURTLE");
That should be "Turtle" or, better, RDFLanguages.strLangTu
Given I have an ontology that imports one or more other ontologies, when I read
that ontology:
model.read("http://example.com/ExampleOntology.owl;, "TURTLE");
I get the exception:
2017-03-29 14:41:04 WARN OntDocumentManager:1076 - An error occurred while
attempting to
Hi there
As per previous email, I am working on a piece of code that:
(i) re-writes an ontology, by keeping some of it unchanged, while changing
parts of it;
(ii) re-writes the output of (i) and outputs the input of (i).
I.e., full circle.
After completion of (ii) above, I compare
gt;
> Thanks, Jos
>
>
> -Ursprüngliche Nachricht-
> Von: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
> Gesendet: Dienstag, 17. Januar 2017 13:57
> An: users@jena.apache.org
> Betreff: Re: AW: Listing all individuals of an ontology, including those
>
Hi Lorenz
I see -- how should the URI be given?
Thanks, Jos
-Ursprüngliche Nachricht-
Von: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de]
Gesendet: Dienstag, 17. Januar 2017 13:57
An: users@jena.apache.org
Betreff: Re: AW: Listing all individuals of an ontology, including those
It does but not if the URI are given as you've shown. Both URIs can't be
resolved to ontology files.
> Hi Andreas,
>
> Yes, I had not read in the import ontology. I thought that would be
> automatic.
>
> Thanks, Jos
>
>
> -Ursprüngliche Nachricht-
>
Hi Andreas,
Yes, I had not read in the import ontology. I thought that would be automatic.
Thanks, Jos
-Ursprüngliche Nachricht-
Von: Andreas Prieß [mailto:a...@metaphysis.net]
Gesendet: Samstag, 14. Januar 2017 19:47
An: users@jena.apache.org
Betreff: Re: Listing all individuals
Hi,
you probably should check explicitly whether the second ontology was
actually imported.
Have a look at
OntModel.hasLoadedImport(String uri)
or
OntModel.listSubModels(boolean withImports)
I suppose there is a problem importing the second ontology since the URL
seems not to be resolvable
Hi there
SITUATION
-- A
I am working with ontology L (denoted as Ontology_input_file in Code below)
with URI:
http://www.b-l.net/ontologies/2016/L_Ontology.owl#
-- B
This ontology imports an ontology PS with URI:
http://www.b-l.net/ontologies/2016/PS_Ontology.owl#
Note that I have added
g.No==2
> fetch name of student
> In this case, which name value will be extracted from the ontology?
> Rohit, kumar, or both?
>
--
Lorenz Bühmann
AKSW group, University of Leipzig
Group: http://aksw.org - semantic web research center
I have student Reg.No and name property.
Reg.No Name
1 Rohit
2 Kumar
Then, if I use as: if (Reg.No==1) OR Reg.No==2
fetch name of student
In this case, which name value will be extracted from the ontology?
Rohit, kumar, or both?
Not typo, my data property in ontology was the same I used in Jena code but
I just made a change in its spelling to check it works or not and luckily
it worked.
On Tue, Sep 27, 2016 at 12:26 AM, Lorenz B. <
buehm...@informatik.uni-leipzig.de> wrote:
> So it was a typo in the end.
> &
a
>> different property than the one you have declared.
>>
>> Again, to get help you need to provide a complete, minimal example.
>>
>> In this case you need a single generated ontology file with the
>> DatatypeProperty declaration and the instance with the corresponding
;
> wrote:
> >
> >> Hello Dave, I have Item as data type property in my Protege ontology.
> >>
> >> On Mon, Sep 26, 2016 at 9:28 AM, Dave Reynolds <
> dave.e.reyno...@gmail.com>
> >> wrote:
> >>
> >>> On 26/09/16 16:59, kum
Item as data type property in my Protege ontology.
>>
>> On Mon, Sep 26, 2016 at 9:28 AM, Dave Reynolds <dave.e.reyno...@gmail.com>
>> wrote:
>>
>>> On 26/09/16 16:59, kumar rohit wrote:
>>>
>>>> I have already tried this:
>>>>
>>
lete, minimal example.
>
> In this case you need a single generated ontology file with the
> DatatypeProperty declaration and the instance with the corresponding value
> as generated by your Jena code.
>
> Then if the ontology files looks correct but doesn't show in protege how
>
is whether you are using the correct URI. If
you have the wrong value in the "ns" variable then you might be adding a
different property than the one you have declared.
Again, to get help you need to provide a complete, minimal example.
In this case you need a single generated ont
May I know why this occurs usually (save data as Annotations)? I wonder
what mistake I have actually done to encounter this.?
On Mon, Sep 26, 2016 at 10:22 AM, kumar rohit <kumar.en...@gmail.com> wrote:
> Hello Dave, I have Item as data type property in my Protege ontology.
>
>
Hello Dave, I have Item as data type property in my Protege ontology.
On Mon, Sep 26, 2016 at 9:28 AM, Dave Reynolds <dave.e.reyno...@gmail.com>
wrote:
> On 26/09/16 16:59, kumar rohit wrote:
>
>> I have already tried this:
>>
>> DatatypeProperty item= mode
On 26/09/16 16:59, kumar rohit wrote:
I have already tried this:
DatatypeProperty item= model.getDatatypeProperty(ns+"Item");
If the URI ns+"Item" is not already declared as a DatatypeProperty in
your ontology then you'll need model.createDatatypeProperty so as to
s
s I said in my previous answer?...
> OWL has object property and data property, thus, why don't you call
>
> model.getDatatypeProperty(ns+"ItemPrice")
>
> For object properties the same:
> model.getObjectProperty(String uri)
>
> [1] https://jena.apache.org/doc
and data property, thus, why don't you call
model.getDatatypeProperty(ns+"ItemPrice")
For object properties the same:
model.getObjectProperty(String uri)
[1] https://jena.apache.org/documentation/ontology/#ontology-properties
> customer.setPropertyValue(price, res);
>
> On Mon,
"ItemPrice");
customer.setPropertyValue(price, res);
On Mon, Sep 26, 2016 at 5:20 AM, Lorenz B. <
buehm...@informatik.uni-leipzig.de> wrote:
> Yes, in that case it is supposed to be an RDF property, thus not typed
> as expected to be in an OWL ontology.
> > I used OntModel
Yes, in that case it is supposed to be an RDF property, thus not typed
as expected to be in an OWL ontology.
> I used OntModel as model to read the ontology but used Property instead of
> OntProperty, is this an issue?
>
> On Mon, Sep 26, 2016 at 4:34 AM, Lorenz B. <
> buehm
I used OntModel as model to read the ontology but used Property instead of
OntProperty, is this an issue?
On Mon, Sep 26, 2016 at 4:34 AM, Lorenz B. <
buehm...@informatik.uni-leipzig.de> wrote:
> For Protege it MUST be an OWL data property, otherwise the OWL API
> parser will tre
For Protege it MUST be an OWL data property, otherwise the OWL API
parser will treat it as OWL annotation property. This has to be
explicitly declared in the ontology, the easiest way in Jena would be to
use an OntModel
> Yes Lorenz sir I have written it to disk but it writes the d
gt;>> Please learn to read the Javadoc [1] if you're programming in Java...
>>>>
>>>> And using an IDE would also help, usually this is able to show you the
>>>> arguments and it's expected types.
>>>>
>>>>
>>>> [1]
>
adoc [1] if you're programming in Java...
> >>
> >> And using an IDE would also help, usually this is able to show you the
> >> arguments and it's expected types.
> >>
> >>
> >> [1]
> >> https://jena.apache.org/documentation/javadoc/jen
o show you the
>> arguments and it's expected types.
>>
>>
>> [1]
>> https://jena.apache.org/documentation/javadoc/jena/
>> org/apache/jena/ontology/OntResource.html
>>
>>> I used this: customer.setPropertyValue(property, pricevariable);
>
1 - 100 of 290 matches
Mail list logo