Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-owl] XML formatter for SPARQL query results

"김철민" kimcm at pusan.ac.kr
Thu Jan 17 15:35:21 PST 2008


Please 

Remove my email address from your mailling list.

Cheolmi Kim

kimcm at pusan.ac.kr

----- Original Message -----
>> From: Mark Wallace <mwallace at 3SigmaResearch.com>
>> To: Protege-OWL <protege-owl at lists.stanford.edu>
>> Date: 2008-01-11 23:56:42
>> Subject: [protege-owl] XML formatter for SPARQL query results
>> 
>> 
>> Is there a XML formatter for SPARQL query results in a Protege-OWL 
>> QueryResults object? 
>> 
>> E.g., the Protege 3.3.1 API allows me to SPARQL query this way:
>> 
>> 	edu.stanford.smi.protegex.owl.jena.JenaOWLModel model = 
>> 		ProtegeOWL.createJenaOWLModelFromURI(owlFileName);
>> 
>> 	edu.stanford.smi.protegex.owl.model.query.QueryResults results = 
>> 		model.executeSPARQLQuery(sparqlQueryString);
>> 
>> Now that I have the result, I just want it as standard SPARQL XML (per 
>> http://www.w3.org/TR/rdf-sparql-XMLres/).
>> 
>> I know there are ways to do this totally from Jena, but can this be done 
>> if you've committed to the Protege API and are using the QueryResults 
>> interface?
>> 
>> -- 
>> Mark Wallace
>> Chief Architect & Ontologist
>> 3 Sigma Research, Indialantic, Florida, USA
>> 
>> _______________________________________________
>> protege-owl mailing list
>> protege-owl at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>> 
>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
>> 



More information about the protege-owl mailing list