W3C home > Mailing lists > Public > public-rdf-ruby@w3.org > April 2014

Help for create query Describe in Sparql-client and result in RDF/XML

From: Rânielli Soares <ranielli@gmail.com>
Date: Fri, 25 Apr 2014 18:03:13 -0300
Message-ID: <CALMtxjKUK5pH17=r_pe7X5b61QLLggEiTrtA8Ft7CSVt-kmy=g@mail.gmail.com>
To: public-rdf-ruby@w3.org
Any suggest?

I did this :

sparql = SPARQL::Client.new("
http://teste:doido@0.0.0.0:10035/repositories/projetos")
result = sparql.query("describe ?x WHERE { ?x #{"<"+RDF.type+">"} ?nome }")

result is Result in RDF::NTriples::Reader

#false, :canonicalize=>false, :intern=>true, :prefixes=>{}, :encoding=>#
Encoding:UTF-8},@input <https://github.com/input>=#StringIO:0x000000022b6a40
, @line <https://github.com/line>=".", @line_rest=nil>
irb(main):038:0>

I need to this query for RDF/XML..


-- 
*Rânielli Soares Neves de Azevedo*
*ranielli@gmail.com <ranielli@gmail.com>- - (22) 99196542*
Received on Monday, 28 April 2014 09:08:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:16 UTC