From: Fahad A. <fal...@gm...> - 2010-12-15 12:48:29
|
Hi, I'm trying to use the Semantic Web Client Library to query my own datasets that stored in a control environment. I used Pubby to translate the orginal URIs to my environment URIs to run the SPARQL queries over datasets easily. SWCILib runs queries that included my environment URIs properly but can not run queries that do not have my environment URIs. For example: This query run properly: PREFIX news: <http://localhost:8080/newspaper/vocabulary/news/> SELECT ?s ?p WHERE { ?s ?p news:article } But with this query, SWCILib can not point URIs to things in my own environment: PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?s ?p WHERE { ?class rdfs:subClassOf foaf:Document } How can I re-direct the following URIs to my local datasets to run queries over them? PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX foaf: <http://xmlns.com/foaf/0.1/> PREFIX dc: <http://purl.org/dc/elements/1.1/> PREFIX dcterms: <http://purl.org/dc/terms/> Is Pubby able to map all the above URIs? If not so, is there any other server you advise to use instead of Pubby? I appreciate any help in advance Regards, Fahad |