-
-
Save rexiliano89/685b039d2453034e7a4182179b57f576 to your computer and use it in GitHub Desktop.
Examples of RSS using RDF with rdf:List instead of rdf:Seq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": { | |
"@vocab": "http://purl.org/rss/1.0/", | |
"items": { | |
"@container": "@list" | |
}, | |
"type": "@type", | |
"iri": "@id", | |
"data": "@graph" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"data": [ | |
{ | |
"iri": "http://www.xml.com/xml/news.rss", | |
"type": "channel", | |
"description": "XML.com features a rich mix of information and services for the XML community.", | |
"image": { | |
"iri": "http://xml.com/universal/images/xml_tiny.gif", | |
"type": "image", | |
"link": "http://www.xml.com", | |
"title": "XML.com", | |
"url": "http://xml.com/universal/images/xml_tiny.gif" | |
}, | |
"items": [ | |
{ | |
"iri": "http://xml.com/pub/2000/08/09/xslt/xslt.html", | |
"type": "item", | |
"description": "Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing.", | |
"link": "http://xml.com/pub/2000/08/09/xslt/xslt.html", | |
"title": "Processing Inclusions with XSLT" | |
}, | |
{ | |
"iri": "http://xml.com/pub/2000/08/09/rdfdb/index.html", | |
"type": "item", | |
"description": "Tool and API support for the Resource Description Framework is slowly coming of age. Edd Dumbill takes a look at RDFDB, one of the most exciting new RDF toolkits.", | |
"link": "http://xml.com/pub/2000/08/09/rdfdb/index.html", | |
"title": "Putting RDF to Work" | |
} | |
], | |
"link": "http://xml.com/pub", | |
"textinput": { | |
"iri": "http://search.xml.com", | |
"type": "textinput", | |
"description": "Search XML.com's XML collection", | |
"link": "http://search.xml.com", | |
"name": "s", | |
"title": "Search XML.com" | |
}, | |
"title": "XML.com" | |
} | |
], | |
"@context": "rss.context.jsonld.json" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"@context": "rss.context.jsonld.json", | |
"@type": "channel" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rss="http://purl.org/rss/1.0/"> | |
<rss:textinput rdf:about="http://search.xml.com"> | |
<rss:description>Search XML.com's XML collection</rss:description> | |
<rss:link>http://search.xml.com</rss:link> | |
<rss:name>s</rss:name> | |
<rss:title>Search XML.com</rss:title> | |
</rss:textinput> | |
<rss:channel rdf:about="http://www.xml.com/xml/news.rss"> | |
<rss:description>XML.com features a rich mix of information and services for the XML community.</rss:description> | |
<rss:image> | |
<rss:image rdf:about="http://xml.com/universal/images/xml_tiny.gif"> | |
<rss:link>http://www.xml.com</rss:link> | |
<rss:title>XML.com</rss:title> | |
<rss:url>http://xml.com/universal/images/xml_tiny.gif</rss:url> | |
</rss:image> | |
</rss:image> | |
<rss:items rdf:parseType="Collection"> | |
<rss:item rdf:about="http://xml.com/pub/2000/08/09/xslt/xslt.html"> | |
<rss:description>Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing.</rss:description> | |
<rss:link>http://xml.com/pub/2000/08/09/xslt/xslt.html</rss:link> | |
<rss:title>Processing Inclusions with XSLT</rss:title> | |
</rss:item> | |
<rss:item rdf:about="http://xml.com/pub/2000/08/09/rdfdb/index.html"> | |
<rss:description>Tool and API support for the Resource Description Framework is slowly coming of age. Edd Dumbill takes a look at RDFDB, one of the most exciting new RDF toolkits.</rss:description> | |
<rss:link>http://xml.com/pub/2000/08/09/rdfdb/index.html</rss:link> | |
<rss:title>Putting RDF to Work</rss:title> | |
</rss:item> | |
</rss:items> | |
<rss:link>http://xml.com/pub</rss:link> | |
<rss:textinput rdf:resource="http://search.xml.com"/> | |
<rss:title>XML.com</rss:title> | |
</rss:channel> | |
</rdf:RDF> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix rss: <http://purl.org/rss/1.0/> . | |
<http://search.xml.com> | |
a rss:textinput ; | |
rss:description "Search XML.com's XML collection" ; | |
rss:link "http://search.xml.com" ; | |
rss:name "s" ; | |
rss:title "Search XML.com" . | |
<http://www.xml.com/xml/news.rss> | |
a rss:channel ; | |
rss:description "XML.com features a rich mix of information and services for the XML community." ; | |
rss:image <http://xml.com/universal/images/xml_tiny.gif> ; | |
rss:items ( | |
<http://xml.com/pub/2000/08/09/xslt/xslt.html> | |
<http://xml.com/pub/2000/08/09/rdfdb/index.html> | |
) ; | |
rss:link "http://xml.com/pub" ; | |
rss:textinput <http://search.xml.com> ; | |
rss:title "XML.com" . | |
<http://xml.com/universal/images/xml_tiny.gif> | |
a rss:image ; | |
rss:link "http://www.xml.com" ; | |
rss:title "XML.com" ; | |
rss:url "http://xml.com/universal/images/xml_tiny.gif" . | |
<http://xml.com/pub/2000/08/09/xslt/xslt.html> | |
a rss:item ; | |
rss:description "Processing document inclusions with general XML tools can be problematic. This article proposes a way of preserving inclusion information through SAX-based processing." ; | |
rss:link "http://xml.com/pub/2000/08/09/xslt/xslt.html" ; | |
rss:title "Processing Inclusions with XSLT" . | |
<http://xml.com/pub/2000/08/09/rdfdb/index.html> | |
a rss:item ; | |
rss:description "Tool and API support for the Resource Description Framework is slowly coming of age. Edd Dumbill takes a look at RDFDB, one of the most exciting new RDF toolkits." ; | |
rss:link "http://xml.com/pub/2000/08/09/rdfdb/index.html" ; | |
rss:title "Putting RDF to Work" . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment