Catrina;  Note that prefixes are not triples, but a pairing of an
abbreviation and a namespace.  Therefore SPARQL is not able to query
for prefixes.  Hence the @prefix directive in n3 (and xmlns: in XML).

SPARQLMotion has a sml:ModifyPrefixes module to add and remove
prefixes.

-- Scott

On Jul 14, 10:54 am, <[email protected]> wrote:
> Is there a way to pull the @prefix lines from an Ontology?
>
> For example, if my Ontology contains the following prefixes, can I
> select these using SPARQL or a SPARQLMotion function?
>
> @prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
>
> @prefix owl:     <http://www.w3.org/2002/07/owl#> .
>
> Thanks,
>
> Catrina
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to