0
我有這個代碼的問題的問題'T喜歡:RDF ::讀卡器>與URI :: InvalidError
http://sparql.reegle.info?query=CONSTRUCT+{+%3Chttp://reegle.info/countries/IN%3E+?p+?o.+%3Chttp://reegle.info/countries/IN.rdf%3E+foaf:primaryTopic+%3Chttp://reegle.info/countries/IN%3E;+cc:license+%3Chttp://www.nationalarchives.gov.uk/doc/open-government-licence%3E;+cc:attributionName+"REEEP";+cc:attributionURL+%3Chttp://reegle.info/countries/IN%3E.+}+WHERE+{+%3Chttp://reegle.info/countries/IN%3E+?p+?o.}&format=application/rdf%2Bxml
所以我得到以下錯誤:
URI::InvalidURIError: bad URI(is not URI?)
任何想法,如何解決這個問題?
謝謝
P.S.做類似URI.parse(URI.encode([url])))在這裏沒有任何效果。