Hello,

I have attached the file with the change, i am getting Could not find or
load main class arq.arq

My classpath location is /home/ak/Documents. Please let me know whether my
change is correct.

Regards,
Arun


On Tue, Aug 7, 2018 at 11:11 AM, Andy Seaborne <[email protected]> wrote:

> Hi - Please send email to the jena users mailing list.
>
> (It is correct if it works!)
>
>     Andy
>
> On 07/08/18 14:59, Arunkumar Krishnamoorthy wrote:
>
>> Hello Andy,
>>
>> I have attached the file with the change, i am getting Could not find or
>> load main class arq.arq
>>
>> My classpath location is /home/ak/Documents. Please let me know whether
>> my change is correct.
>>
>> Regards,
>> Arun
>>
>> On Mon, Aug 6, 2018 at 5:08 PM, Andy Seaborne <[email protected] <mailto:
>> [email protected]>> wrote:
>>
>>
>>
>>     On 06/08/18 19:09, Arunkumar Krishnamoorthy wrote:
>>
>>         Hello All,
>>
>>         I am following the link below to write an ARQ extension function,
>>
>>         https://blog.ldodds.com/2005/11/07/writing-an-arq-extension-
>> function/
>>         <https://blog.ldodds.com/2005/11/07/writing-an-arq-extension
>> -function/>
>>
>>         Please find the query i have given,
>>
>>         PREFIX myfn: <java:samplejena.>
>>         PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#
>>         <http://www.w3.org/2000/01/rdf-schema#>>
>>         PREFIX dc: <http://purl.org/dc/elements/1.1/
>>         <http://purl.org/dc/elements/1.1/>>
>>         PREFIX xsd: <http://www.w3.org/2001/XMLSchema#
>>         <http://www.w3.org/2001/XMLSchema#>>
>>         SELECT ?title ?r
>>         WHERE {
>>         ?s rdfs:seeAlso ?r.
>>         OPTIONAL {?r dc:title ?title.}
>>         FILTER ( isURI(?r) &&
>>         myfn:LastModified(?r) >
>>         xsd:dateTime('2005-11-06T00:00:00Z') )
>>         }
>>
>>         And i execute the following command to run the query for the
>>         dataset,
>>
>>         /home/ak/Downloads/apache-jena-3.8.0/bin/arq --data
>>         /home/ak/Desktop/dataset.rdf --query /home/ak/Desktop/query.rq
>>
>>         I am getting the error as,
>>
>>         *ak@akrish12:~$* /home/ak/Downloads/apache-jena-3.8.0/bin/arq
>> --data
>>         /home/ak/Desktop/dataset.rdf --query /home/ak/Desktop/query.rq
>>
>>         14:07:07 WARN  ClsLoader            :: Class not found:
>>         samplejena.LastModified
>>         14:07:07 WARN  exec                 :: URI
>>         <java:samplejena.LastModified>
>>         has no registered function factory
>>         -------------
>>         | title | r |
>>         =============
>>         -------------
>>
>>         I have added the classpath in the location /home/ak/Documents
>>         and the jar
>>         of the file
>>         LastModified in the same location.
>>
>>         Could someone please help me to resolve this issue.
>>
>>
>>     The classapth is set in the "arq" script so take a copy and and edit
>>     it. Look for JENA_CP=
>>
>>
>>
>>
>>         Regards,
>>         Arun
>>
>>
>>

Reply via email to