Joseph;  One issue you should be aware of is qnames vs. URIs.  The
":hasProperty" below is a qname for a resource in your default
namespace.  To see the full URI for hasProperty, open the property in
Composer and go toggle between Name and URI.

Given that, when you import files, a namespace prefix will be created
for you.  Let's say you have main.n3 that imports abc.owl.  Open
main.n3 and go to the ontology home.  Find the namespace prefix for
the imported abc.owl file.  The prefix might be named "abc", in which
case you can use the qname "abc:hasProperty".

Each import that has a different base URI will be assigned a unique
namespace prefix.

-- Scott

On Mar 31, 2:27 pm, Joseph Shea <joseph.p.s...@gmail.com> wrote:
> Hello. I am running a problem when I try to query an owl file with
> several other owl files imported into it. I need it to go through the
> main file, as well as all of the imports, but am unfamiliar with the
> syntax for it. An example would be.
>
> SELECT ?subject ?object
> WHERE {
> ?subject  :hasProperty ?object .
>
> }
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to topbraid-composer-users@googlegroups.com
To unsubscribe from this group, send email to 
topbraid-composer-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to