RDF-XML: Difference between revisions
Jump to navigation
Jump to search
CarstenEmde (talk | contribs) m (→Other formats) |
CarstenEmde (talk | contribs) m (Updated OSSelot logo to new font feature) |
||
Line 26: | Line 26: | ||
<script src="/scripts/osadl.js"> | <script src="/scripts/osadl.js"> | ||
</script> | </script> | ||
<h4>Search for a package, select it, submit it to the REST interface for RDF-XML formatted data and display the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;"> | <h4>Search for a package, select it, submit it to the REST interface for RDF-XML formatted data and display the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> curation data in a new window</h4> | ||
<input type="text" onkeyup="searchtextkeyup(event, this, 'restxml');" size="30" /><button onclick="searchOSSelot(this, 'restxml');">Search the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;"> | <input type="text" onkeyup="searchtextkeyup(event, this, 'restxml');" size="30" /><button onclick="searchOSSelot(this, 'restxml');">Search the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> repository</button><br /> | ||
<span style="display: none;"></span> | <span style="display: none;"></span> | ||
<br /> | <br /> | ||
Line 34: | Line 34: | ||
<html> | <html> | ||
<h4>Search for a package, select it, submit the RDF-XML formatted data to the W3C RDF validation service and display the result in a new window</h4> | <h4>Search for a package, select it, submit the RDF-XML formatted data to the W3C RDF validation service and display the result in a new window</h4> | ||
<input type="text" onkeyup="searchtextkeyup(event, this, 'validatexml');" size="30" /><button onclick="searchOSSelot(this, 'validatexml');">Search the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;"> | <input type="text" onkeyup="searchtextkeyup(event, this, 'validatexml');" size="30" /><button onclick="searchOSSelot(this, 'validatexml');">Search the <span style="font-family: OSSelot-Bold; font-weight: 500; color: #1565af;">OSSelot</span> repository</button><br /> | ||
<span style="display: none;"></span> | <span style="display: none;"></span> | ||
<br /> | <br /> |
Latest revision as of 15:44, 1 November 2023
Obtain curation data in RDF-XML format
Single version
To obtain curation data of a single version of a software package in RDF-XML format, the following REST calls may be used:
http://www.osselot.org:3262/xml/<package>/<version>
or
https://www.osselot.org:3263/xml/<package>/<version>
such as in a wget command
wget -qO - http://www.osselot.org:3262/xml/busybox/1.35.0
All available versions of a software package
This REST interface for data of a curated software package in RDF-XML format only permits to retrieve a single version at a time. Only the JSON interface concatenates all curated versions of a software package to a data array.
Format YAML text file in browser
The curated data of a single version of a curated software package may be displayed in standard XML tree format in a browser such as BusyBox version 1.35.0
Search for a package, select it, submit it to the REST interface for RDF-XML formatted data and display the OSSelot curation data in a new window
Search for a package, select it, submit the RDF-XML formatted data to the W3C RDF validation service and display the result in a new window
Other formats
In addition to the above, the curated data are also available in JSON, SPDX2TV and YAML format.