Hello,
I created a SPARQL query
But when i want to executed , i got this errors.
Exception in thread "main" com.hp.hpl.jena.query.QueryParseException:
Encountered " "<" "< "" at line 1, column 140.
Was expecting:
<IRIref> ...
at com.hp.hpl.jena.sparql.lang.ParserARQ.perform(ParserARQ.java:102)
at com.hp.hpl.jena.sparql.lang.ParserARQ.parse$(ParserARQ.java:53)
atcom.hp.hpl.jena.sparql.lang.SPARQLParser.parse(SPARQLParser.java:3)
at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:139)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:79)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:52)
at
javaapplication_eesai.JavaApplication_eesai.main(JavaApplication_eesai.java:97)
Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)
The last line refers to "Query query = QueryFactory.create(query);
I can't figure out what is the problem.
Please help me
Thanks a lot
I created a SPARQL query
But when i want to executed , i got this errors.
Exception in thread "main" com.hp.hpl.jena.query.QueryParseException:
Encountered " "<" "< "" at line 1, column 140.
Was expecting:
<IRIref> ...
at com.hp.hpl.jena.sparql.lang.ParserARQ.perform(ParserARQ.java:102)
at com.hp.hpl.jena.sparql.lang.ParserARQ.parse$(ParserARQ.java:53)
atcom.hp.hpl.jena.sparql.lang.SPARQLParser.parse(SPARQLParser.java:3)
at com.hp.hpl.jena.query.QueryFactory.parse(QueryFactory.java:139)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:79)
at com.hp.hpl.jena.query.QueryFactory.create(QueryFactory.java:52)
at
javaapplication_eesai.JavaApplication_eesai.main(JavaApplication_eesai.java:97)
Java Result: 1
BUILD SUCCESSFUL (total time: 2 seconds)
The last line refers to "Query query = QueryFactory.create(query);
I can't figure out what is the problem.
Please help me
Thanks a lot