phend | 2 Jan 03:59 2009
Picon

Using Fact++ DIG interface


I have Fact++ Server running and listening on port 3490.
Using curl I try
curl -d  <at> mytellsDIG_File "http://localhost:3490"

It returns with the error code 203 message="Unknown KB URI"

Has anyone ever used FaCT++ DIG server by sending it a DIG file?
any suggestions on how to either set up, or specify to start a new KB.
I can find no user documentation on this.

--

-- 
View this message in context: http://www.nabble.com/Using-Fact%2B%2B-DIG-interface-tp21247554p21247554.html
Sent from the Protege - OWL mailing list archive at Nabble.com.

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

phend | 2 Jan 21:30 2009
Picon

Re: Using Fact++ DIG interface


The URI problem was because first you must create the KB with a special
request and the server returns a new URI that it chooses which must be
included in all subsequent requests.

Now the problem is this.
I create a new KB and load it with this.

<?xml version="1.0" encoding="UTF-8"?>
<tells uri="http://dl.kr.org/dig/FaCTpp-000_7-49-58_2-1-2009"
xmlns="http://dl.kr.org/dig/2003/02/lang"> 
    <defconcept name="ClsA"/>
    <equalc>
        <catom name="ClsA"/>
        <and>
            <iset>
                <individual name="indA"/>
                <individual name="indB"/>
            </iset>
        </and>
    </equalc>
    <defindividual name="indB"/>
    <instanceof>
        <individual name="indB"/>
        <catom name="ClsA"/>
    </instanceof>
    <defindividual name="indA"/>
    <instanceof>
        <individual name="indA"/>
        <catom name="ClsA"/>
(Continue reading)

Richa Shrestha | 3 Jan 19:21 2009
Picon

SPARQL and Protege-OWL API

Hi everyone,
 
Happy new year to all. Back to work, I would like to know how SPARQL is related to Protege-OWL API. I know we can use SPARQL in the java code of Protege-OWL API. But,
  • is there any other difference between them?
  • Can I say SPARQL is a query language and Protege-OWL API is an interface to use a language including SPARQL and JAVA?
  • How can I compare between SPARQL, Jena API and Protege-OWL API?
 
I hope someone can help me with that.
 
Thanx.
Richa

Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!
_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
James Howison | 3 Jan 19:34 2009

Re: SPARQL and Protege-OWL API


On 3 Jan 2009, at 1:21 PM, Richa Shrestha wrote:

>
> Hi everyone,
>
> Happy new year to all. Back to work, I would like to know how SPARQL  
> is related to Protege-OWL API. I know we can use SPARQL in the java  
> code of Protege-OWL API. But,
>
> is there any other difference between them?
> Can I say SPARQL is a query language and Protege-OWL API is an  
> interface to use a language including SPARQL and JAVA?

Sure, that sound right to me.  Of course Protege-OWL API is also an  
interface for things other than querying, like building statements and  
restrictions.

> How can I compare between SPARQL, Jena API and Protege-OWL API?

Jena and Protege-OWL API are at a similar level, but with differing  
types of abstractions.  Jena is also part of a larger ecosystem of  
tools (eg the database backends, the ARQ query syntax (SPARQL  
extensions and path queries).

--J

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Richa Shrestha | 3 Jan 19:47 2009
Picon

Re: SPARQL and Protege-OWL API

Thanx for the response. But, considering the efficiency,level of abstraction and inference, which can you take it as a better API: Jena API or Protege-OWL API?
 
 

> From: james <at> howison.name
> To: protege-owl <at> lists.stanford.edu
> Date: Sat, 3 Jan 2009 13:34:33 -0500
> Subject: Re: [protege-owl] SPARQL and Protege-OWL API
>
>
> On 3 Jan 2009, at 1:21 PM, Richa Shrestha wrote:
>
> >
> > Hi everyone,
> >
> > Happy new year to all. Back to work, I would like to know how SPARQL
> > is related to Protege-OWL API. I know we can use SPARQL in the java
> > code of Protege-OWL API. But,
> >
> > is there any other difference between them?
> > Can I say SPARQL is a query language and Protege-OWL API is an
> > interface to use a language including SPARQL and JAVA?
>
> Sure, that sound right to me. Of course Protege-OWL API is also an
> interface for things other than querying, like building statements and
> restrictions.
>
> > How can I compare between SPARQL, Jena API and Protege-OWL API?
>
> Jena and Protege-OWL API are at a similar level, but with differing
> types of abstractions. Jena is also part of a larger ecosystem of
> tools (eg the database backends, the ARQ query syntax (SPARQL
> extensions and path queries).
>
> --J
>
> _______________________________________________
> protege-owl mailing list
> protege-owl <at> lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03


Add maps and directions to your party Show them the way!
_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Richa Shrestha | 3 Jan 20:10 2009
Picon

Running a simple qery in Protege-OWL API

Hi everyone,
 
Suppose if I have a triple Animal eats Food and I want to list all the instances of Animal showing what they eat. How can I do it in Protege-OWL API?
Any suggestions, please?
 
Thanx Richa.

Add maps and directions to your party Show them the way!
_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Vance Arocho | 3 Jan 20:29 2009

Re: Running a simple qery in Protege-OWL API

The following code should display a list of names of all the instances of the 'Animal' class:
       
    OWLClass owlClass = owlModel.getOWLNamedClass("Animal");

            Collection instances = owlClass.getInstances(false);

            Iterator instancesIter = instances.iterator();

            while (instancesIter.hasNext()) {
                DefaultOWLIndividual currentInstance = (DefaultOWLIndividual)instancesIter.next();
                String currentInstanceName = currentInstance.getBrowserText();
            }


On Sat, Jan 3, 2009 at 2:10 PM, Richa Shrestha <funkieyew <at> hotmail.com> wrote:
Hi everyone,
 
Suppose if I have a triple Animal eats Food and I want to list all the instances of Animal showing what they eat. How can I do it in Protege-OWL API?
Any suggestions, please?
 
Thanx Richa.

Add maps and directions to your party Show them the way!

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03


_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Richa Shrestha | 3 Jan 20:32 2009
Picon

Re: Running a simple qery in Protege-OWL API

Thanx for your reply. But, what I need is all instances of animal with their respective propertyvalue for eat. Any suggestions most welcome.

Date: Sat, 3 Jan 2009 14:29:01 -0500
From: varocho <at> ares-sg.com
To: protege-owl <at> lists.stanford.edu
Subject: Re: [protege-owl] Running a simple qery in Protege-OWL API

The following code should display a list of names of all the instances of the 'Animal' class:
       
    OWLClass owlClass = owlModel.getOWLNamedClass("Animal");

            Collection instances = owlClass.getInstances(false);

            Iterator instancesIter = instances.iterator();

            while (instancesIter.hasNext()) {
                DefaultOWLIndividual currentInstance = (DefaultOWLIndividual)instancesIter.next();
                String currentInstanceName = currentInstance.getBrowserText();
            }


On Sat, Jan 3, 2009 at 2:10 PM, Richa Shrestha <funkieyew <at> hotmail.com> wrote:
Hi everyone,
 
Suppose if I have a triple Animal eats Food and I want to list all the instances of Animal showing what they eat. How can I do it in Protege-OWL API?
Any suggestions, please?
 
Thanx Richa.

Add maps and directions to your party Show them the way!

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03



Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!
_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Vance Arocho | 3 Jan 20:36 2009

Re: Running a simple qery in Protege-OWL API

Is 'Food' another class in your ontology, or is it just a string value?


On Sat, Jan 3, 2009 at 2:32 PM, Richa Shrestha <funkieyew <at> hotmail.com> wrote:
Thanx for your reply. But, what I need is all instances of animal with their respective propertyvalue for eat. Any suggestions most welcome.

Date: Sat, 3 Jan 2009 14:29:01 -0500
From: varocho <at> ares-sg.com
To: protege-owl <at> lists.stanford.edu
Subject: Re: [protege-owl] Running a simple qery in Protege-OWL API


The following code should display a list of names of all the instances of the 'Animal' class:
       
    OWLClass owlClass = owlModel.getOWLNamedClass("Animal");

            Collection instances = owlClass.getInstances(false);

            Iterator instancesIter = instances.iterator();

            while (instancesIter.hasNext()) {
                DefaultOWLIndividual currentInstance = (DefaultOWLIndividual)instancesIter.next();
                String currentInstanceName = currentInstance.getBrowserText();
            }


On Sat, Jan 3, 2009 at 2:10 PM, Richa Shrestha <funkieyew <at> hotmail.com> wrote:
Hi everyone,
 
Suppose if I have a triple Animal eats Food and I want to list all the instances of Animal showing what they eat. How can I do it in Protege-OWL API?
Any suggestions, please?
 
Thanx Richa.

Add maps and directions to your party Show them the way!

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03



Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03


_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Richa Shrestha | 3 Jan 20:39 2009
Picon

Re: Running a simple qery in Protege-OWL API


Food is a class. Suppose there are two classes Animal and Food. Property eat links the two classes. I need to list the list of animals with their corresponding food that they eat. How can I do that? I am still trying. If you have any idea, please share with me.
 
Thanx.


Date: Sat, 3 Jan 2009 14:36:47 -0500
From: varocho <at> ares-sg.com
To: protege-owl <at> lists.stanford.edu
Subject: Re: [protege-owl] Running a simple qery in Protege-OWL API

Is 'Food' another class in your ontology, or is it just a string value?



On Sat, Jan 3, 2009 at 2:32 PM, Richa Shrestha <funkieyew <at> hotmail.com> wrote:
Thanx for your reply. But, what I need is all instances of animal with their respective propertyvalue for eat. Any suggestions most welcome.

Date: Sat, 3 Jan 2009 14:29:01 -0500
From: varocho <at> ares-sg.com
To: protege-owl <at> lists.stanford.edu
Subject: Re: [protege-owl] Running a simple qery in Protege-OWL API


The following code should display a list of names of all the instances of the 'Animal' class:
       
    OWLClass owlClass = owlModel.getOWLNamedClass("Animal");

            Collection instances = owlClass.getInstances(false);

            Iterator instancesIter = instances.iterator();

            while (instancesIter.hasNext()) {
                DefaultOWLIndividual currentInstance = (DefaultOWLIndividual)instancesIter.next();
                String currentInstanceName = currentInstance.getBrowserText();
            }


On Sat, Jan 3, 2009 at 2:10 PM, Richa Shrestha <funkieyew <at> hotmail.com> wrote:
Hi everyone,
 
Suppose if I have a triple Animal eats Food and I want to list all the instances of Animal showing what they eat. How can I do it in Protege-OWL API?
Any suggestions, please?
 
Thanx Richa.

Add maps and directions to your party Show them the way!

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03



Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!

_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03



Get news, entertainment and everything you care about at Live.com. Check it out!
_______________________________________________
protege-owl mailing list
protege-owl <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 

Gmane