I need to us a client to query my Fuseki endpoint http://example.com :8080/db/sparql I have a standard query I run from the endpoint, and I get the results I'm looking for.
I need this automated remotely so I wanted to run it from the twinkle app Using Write a simple query I'm presented with base URI, and Data URI Forgive me for not being knowledgeable about all this. I'm thinking the Base URI is my endpoint http://example.com :8080/db/sparql? Is the Data URI my resolver or vis versa? With this PREFIX property:<http://example.com/index.php/Special:URIResolver/Property-3A> PREFIX swivt:<http://semantic-mediawiki.org/swivt/1.0#> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> SELECT ?name ?technology_name ?investment_status ?start_date ?end_date ?program_name ?program_contact ?program_owner ?domain_name ?region ?sort_order WHERE { ?s property:Has_Name ?name . ?s property:Has_subobject-23aux ?subobject . ?subobject property:Investment_Description ?technology_name . ?subobject property:Investment_Status ?investment_status . ?subobject property:Has_Start_Date ?start_date . ?subobject property:Has_Region ?region . ?subobject property:Program_Name ?program_name . ?subobject property:Program_Contact ?program_contact . ?subobject property:Portfolio_Domain ?domain_name . ?subobject property:Program_Owner ?program_owner . OPTIONAL { ?subobject property:Has_End_Date ?end_date . } OPTIONAL { ?subobject property:Sort_Order ?o . BIND (xsd:decimal(?o) as ?sort_order) } } I get - Lexical error at line 22, column 25. Encountered: " " (32), after : "BIND" Ok so I remove the Bind and I get com.hp.hpl.jena.shared.JenaException: rethrew: org.xml.sax.SAXParseException; systemId: http://awsacrnva1036.jnj.com:8080/db/sparql; lineNumber: 1; columnNumber: 50; White spaces are required between publicId and systemId. Any help would be appreciated. Thank you! Phil
