Hi, I am going through a book on SPARQL which uses ARQ. I am not able to 
successfully run even the simplest query with the FROM keyword.
Here is an example:
works fine:
PREFIX ab: <http://learningsparql.com/ns/addressbook#>
SELECT ?craigEmail
WHERE
{ ab:craig ab:email ?craigEmail . }

but

PREFIX ab: <http://learningsparql.com/ns/addressbook#>
SELECT ?craigEmail FROM <ex002.ttl>
WHERE
{ ab:craig ab:email ?craigEmail . }

does not work -- does not return anything -- just an empty table with the 
column heading. I have the same problem trying to query a remote data se with 
Fuseki server.
ANY help will be greatly appreciated.
Thank you so much.
Regards, Neli.



Neli P. Zlatareva, PhD
Professor of Computer Science
Department of Computer Science
Central Connecticut State University
New Britain, CT 06050
Phone: (860) 832-2723
Fax: (860) 832-2712
Web site: cs.ccsu.edu/~neli/


________________________________
From: Zlatareva, Neli (Computer Science)
Sent: Monday, February 20, 2017 9:34 AM
To: users@jena.apache.org
Subject: request for help with FROM keyword in ARQ


Hi, I am going through a book on SPARQL which uses ARQ. I am not able to 
successfully run even the simplest query with the FROM keyword.

Here is an example:

works fine:

PREFIX ab: <http://learningsparql.com/ns/addressbook#>

SELECT ?craigEmail
WHERE
{ ab:craig ab:email ?craigEmail . }

but

PREFIX ab: <http://learningsparql.com/ns/addressbook#>
SELECT ?craigEmail FROM <ex002.ttl>
WHERE
{ ab:craig ab:email ?craigEmail . }
does not work -- does not return anything.
ANY help will be greatly appreciated.
Thank you so much.
Regards, Neli.



Neli P. Zlatareva, PhD
Professor of Computer Science
Department of Computer Science
Central Connecticut State University
New Britain, CT 06050
Phone: (860) 832-2723
Fax: (860) 832-2712
Web site: cs.ccsu.edu/~neli/

Reply via email to