My Oracle Support Banner

SPARQL 1.1 Property Path Support In SEM_MATCH (Doc ID 1601140.1)

Last updated on JANUARY 03, 2020

Applies to:

Oracle Spatial and Graph - Version and later
Information in this document applies to any platform.


Executing this SEM_MATCH query from sqlplus:

select  volumeuri , mappinguri
from table(sem_match(
PREFIX rdf:   <>
PREFIX rdfs:  <>
PREFIX san: <>
SELECT  ?volumeuri ?mappinguri
?volumeuri (san:hasMappings)+ ?mappinguri
null, null));

ORA-29532: Java call terminated by uncaught Java exception: oracle.spatial.rdf.server.ParseException: Encountered "(" at line 8, column 12.
Was expecting one of:
   "a" ...
   "<URI>" ...
   <QNAME> ...
   <VAR> ...
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 244
ORA-06512: at "MDSYS.RDF_MATCH_IMPL_T", line 178
ORA-06512: at line 4

We tried without the parenthesis in (san:hasMappings)+ but same error using

It works in Oracle 12c.

In the documentation we see example using Java but not with SQLPlus. See 7.5.1

The documentation is unclear for  
The question is whether supports SPARQL 1.1 property path via SQLPLUS.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.