2016-05-17 11 views
1

Ich wähle bestimmte RDF-Eigenschaften mit Apache Marmotta LDPath. Die Dokumentation (http://marmotta.apache.org/ldpath/language.html) bezeichnet fn und lff Präfixe sind nicht explizit definiert.Apache Marmotta LDPath-Bibliotheken - Auswählen von URI fn: content

Mein Code ist:

@prefix dc : <http://purl.org/dc/elements/1.1/> ; 
id = . :: xsd:string ; 
title = dc:title :: xsd:string ; 
file = fn:content(.) :: lmf:text_es ; 

, aber ich habe die nächste ParseException:

Verursacht durch: org.apache.marmotta.ldpath.parser.ParseException: Funktion mit URI http://www.newmedialab.at/lmf/functions/1.0/content nicht existiert bei org.apache.marmotta.ldpath.parser.LdPathParser.getFunction (LdPathParser.java:213) bei org.apache.marmotta.ldpath.parser.LdPathParser.FunctionSelector (LdPathParser.java:852) bei org.apache.marmotta .ldpath.parser.LdPathParser.AtomicSelector (LdPathParser.java:686) bei org.apache.marmotta.ldpath.parser.LdPathParser.Selector (LdPathParser.java:607) bei org.apache.marmotta.ldpath.parser.LdPathParser.Rule (LdPathParser.java:441) bei org.apache. marmotta.ldpath.parser.LdPathParser.Program (LdPathParser.java:406) bei org.apache.marmotta.ldpath.parser.LdPathParser.parseProgram (LdPathParser.java:112) bei org.apache.marmotta.ldpath.LDPath. programQuery (LDPath.java:235) ... 47 mehr

Ihre Hilfe würde sehr geschätzt werden.

Cheers, Jesus

EDIT: Ich bin mit dem LDPATH Kern 4.5.1 Fedora Duraspace. Mein Ziel ist es, den vollständigen Text der binären Ressourcen zu indexieren, trotzdem ist das für mich gültig.

Antwort

0

Um wen es es brauchen, es scheint Subset Apache Marmotta LDPATH Bibliothek unterstützt keine komplexen Funktionen wie fn:, lmf und andere. Für die Indexierung ist Volltext von binären Ressourcen erforderlich, um beispielsweise Apache Tika zu verwenden.