Skip to content

Instantly share code, notes, and snippets.

@EmmanuelOga
Created November 14, 2020 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EmmanuelOga/0d626107e5ed2bc6f5e7bf3925d032fd to your computer and use it in GitHub Desktop.
Save EmmanuelOga/0d626107e5ed2bc6f5e7bf3925d032fd to your computer and use it in GitHub Desktop.
Home Page
@base <https://emmanueloga.com/> .
@prefix : <https://emmanueloga.com/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rf: <https://eoga.dev/rainbowfish#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<topics/404>
a rf:topic ;
rf:title "Not Found"@en;
rf:description "Resource not Found"@en ;
rf:body '''
<title class="404">404</title>
<p>
Sorry! Could not find that resource.
</p>
'''^^rf:fishx.
@base <https://emmanueloga.com/> .
@prefix : <https://emmanueloga.com/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rf: <https://eoga.dev/rainbowfish#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<topics/about>
a rf:topic ;
rf:title 'About'@en ;
rf:description 'What is Machinations?'@en ;
rf:body '''
<title>About</title>
<p>
Hi! My name is <sq s=":me" p="schema:name" />.
I'm a Software Engineer interested in many <ref path="/topics" /> :-).
</p>
<p>
Contact me elsewhere:
</p>
<ul>
<li><a href="https://github.com/emmanueloga">Github</a></li>
<li><a href="https://twitter.com/emmanueloga">Twitter</a></li>
</ul>
'''^^rf:fishx .
@base <https://emmanueloga.com/> .
@prefix : <https://emmanueloga.com/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rf: <https://eoga.dev/rainbowfish#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<topics/blog>
a rf:topic ;
rf:title 'Blog'@en ;
rf:description "<sq s=':me' p='schema:name' />'s Blog."^^rf:fishx ;
rf:body '''
<title>All blog entries</title>
<refs prefix="/blog/">
<p>Comming soon.</p>
</refs>
'''^^rf:fishx .
@base <https://emmanueloga.com/> .
@prefix : <https://emmanueloga.com/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rf: <https://eoga.dev/rainbowfish#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<topics/index>
a rf:topic ;
rf:author :me ;
rf:title 'Machinations'@en ;
rf:description '''
Machinations, Website of <sq s=":me" p="schema:name" />.
'''^^rf:fishx;
rf:header '''
<title><ref path="/" /></title>
<toc>
<ref path="/blog" />
<ref path="/topics" />
<ref path="/about" />
</toc>
'''^^rf:fishx;
rf:body '''
<title>Welcome!</title>
<p>
Check the <ref path="/blog">blog entries</ref> or perhaps the
<ref path="/topics">list of topics</ref> mentioned on this site.
</p>
<p>
Thanks for visiting!
</p>
'''^^rf:fishx;
rf:footer '🐠'^^rf:fishx .
@base <https://emmanueloga.com/> .
@prefix : <https://emmanueloga.com/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rf: <https://eoga.dev/rainbowfish#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<me>
a schema:Person ;
schema:name "Emmanuel Oga" ;
schema:familyName "Oga" ;
schema:givenName "Emmanuel" ;
schema:jobTitle "Software Engineer" ;
schema:knowsLanguage "en-US", "es-ES" ;
schema:homeLocation :home-location .
<home-location>
a schema:PostalAddress ;
schema:addressLocality "San Francisco" ;
schema:addressRegion "California" ;
schema:addressCountry "United States" .
@base <https://emmanueloga.com/> .
@prefix : <https://emmanueloga.com/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix rf: <https://eoga.dev/rainbowfish#> .
@prefix schema: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<topics/topics>
a rf:topic ;
rf:title "Topics"@en ;
rf:description "All topics covered in this site"@en ;
rf:body '''
<title>All Topics</title>
<refs prefix="/" class="all-topics">
<omit path="/index" />
<omit path="/topics" />
<omit path="/about" />
<omit path="/404" />
<omit prefix="/blog" />
<p>Comming soon.</p>
</refs>
'''^^rf:fishx .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment