You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@marmotta.apache.org by Jesus <je...@gmail.com> on 2016/05/16 14:01:11 UTC

Prefixes fn and lfm: URLs broken

Hi dev,

Using LDPath for selecting rdf properties, I get a ParseException using *fn*
and *lfm *prefixes because namespace URLs are broken (I guess).

lmf: <http://www.newmedialab.at/lmf/types/1.0/>    (LMF extended index
datatypes)
fn: <http://www.newmedialab.at/lmf/functions/1.0/> (LMF index functions)


This is an example using *fn:content*:

[image: Imágenes integradas 1]

Cheers,

Jesus

Re: Prefixes fn and lfm: URLs broken

Posted by Sergio Fernández <se...@redlink.co>.
BTW, Marmotta lists all LDPath functions currently registered at
http://host/to/marmotta/ldpath/admin/functions.html

On Tue, May 17, 2016 at 6:47 AM, Sergio Fernández <wi...@apache.org> wrote:

> Jesús, can you please share with us the whole LDPath expression/program?
>
> I guess you are not using the right syntax, because there is no need to
> explicitly declare those prefixes for functions, as
> https://marmotta.apache.org/ldpath/language.html#Namespace_Definitions
> explains.
>
> See
> https://github.com/apache/marmotta/blob/develop/libraries/ldpath/ldpath-backend-file/src/test/resources/org/apache/marmotta/ldpath/backend/file/stanbol.search#L22 for
> an usage example.
>
> BTW, I noticed we need to work on thart section of the documentation:
> https://marmotta.apache.org/ldpath/functions.html
>
>
>
> On Mon, May 16, 2016 at 4:01 PM, Jesus <je...@gmail.com>
> wrote:
>
>> Hi dev,
>>
>> Using LDPath for selecting rdf properties, I get a ParseException using
>> *fn* and *lfm *prefixes because namespace URLs are broken (I guess).
>>
>> lmf: <http://www.newmedialab.at/lmf/types/1.0/>    (LMF extended index datatypes)
>> fn: <http://www.newmedialab.at/lmf/functions/1.0/> (LMF index functions)
>>
>>
>> This is an example using *fn:content*:
>>
>> [image: Imágenes integradas 1]
>>
>> Cheers,
>>
>> Jesus
>>
>
>
>
> --
> Sergio Fernández
> Partner Technology Manager
> Redlink GmbH
> m: +43 6602747925
> e: sergio.fernandez@redlink.co
> w: http://redlink.co
>



-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: sergio.fernandez@redlink.co
w: http://redlink.co

Re: Prefixes fn and lfm: URLs broken

Posted by Sergio Fernández <wi...@apache.org>.
Jesús, can you please share with us the whole LDPath expression/program?

I guess you are not using the right syntax, because there is no need to
explicitly declare those prefixes for functions, as
https://marmotta.apache.org/ldpath/language.html#Namespace_Definitions
explains.

See
https://github.com/apache/marmotta/blob/develop/libraries/ldpath/ldpath-backend-file/src/test/resources/org/apache/marmotta/ldpath/backend/file/stanbol.search#L22
for
an usage example.

BTW, I noticed we need to work on thart section of the documentation:
https://marmotta.apache.org/ldpath/functions.html



On Mon, May 16, 2016 at 4:01 PM, Jesus <je...@gmail.com> wrote:

> Hi dev,
>
> Using LDPath for selecting rdf properties, I get a ParseException using
> *fn* and *lfm *prefixes because namespace URLs are broken (I guess).
>
> lmf: <http://www.newmedialab.at/lmf/types/1.0/>    (LMF extended index datatypes)
> fn: <http://www.newmedialab.at/lmf/functions/1.0/> (LMF index functions)
>
>
> This is an example using *fn:content*:
>
> [image: Imágenes integradas 1]
>
> Cheers,
>
> Jesus
>



-- 
Sergio Fernández
Partner Technology Manager
Redlink GmbH
m: +43 6602747925
e: sergio.fernandez@redlink.co
w: http://redlink.co