Or parse as syntaxARQ for extensions.
Generally, the system behaves in standards mode unless you tell it
otherwise. It's a choice - more questions, better understanding of
what's standard. Some other systems the other choice - extensions on by
default (if turn-off-able at all).
Andy
On 08/08/11 15:25, 朱曼 wrote:
Dear Rob and Damian,
Thanks very much! it works~
Best regards,
June
2011/8/8 Damian Steer<[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 08/08/11 15:14, ?? wrote:
Dear list,
The following code causes "com.hp.hpl.jena.query.QueryParseException". Is
count function supported?
import com.hp.hpl.jena.query.*;
String queDBPedia = "select count(?inst)\n"
SPARQL 1.1 syntax requires an assignment, so try:
select (count(?inst) as ?instcount) ...
Damian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk4/8VoACgkQAyLCB+mTtyls6QCg9kivkVd6U0M5cCOprVhHKS9r
C94An2fR/QlcrAK7BwGWvXjAEPycnzsu
=tzct
-----END PGP SIGNATURE-----