Skip to content

Instantly share code, notes, and snippets.

@mhausenblas
Created October 17, 2012 13:47
Show Gist options
  • Save mhausenblas/3905608 to your computer and use it in GitHub Desktop.
Save mhausenblas/3905608 to your computer and use it in GitHub Desktop.
How to link language variants of pages
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <http://schema.org/> .
@prefix : <http://example.org/#> .
:a_page a schema:WebPage ;
rdfs:label "the cool page" ;
schema:relatedLink :the_other_page ;
.
:the_other_page a schema:WebPage ;
schema:inLanguage "NL" ;
rdfs:label "the other cool page in dutch" ;
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment