Skip to content

Instantly share code, notes, and snippets.

@flyingmachine
Last active July 20, 2023 14:38
Show Gist options
  • Select an option

  • Save flyingmachine/c75a249c94e7f4a45bb46085a5e4ac58 to your computer and use it in GitHub Desktop.

Select an option

Save flyingmachine/c75a249c94e7f4a45bb46085a5e4ac58 to your computer and use it in GitHub Desktop.

Revisions

  1. flyingmachine revised this gist Jul 20, 2023. 2 changed files with 7 additions and 0 deletions.
    File renamed without changes.
    7 changes: 7 additions & 0 deletions 03-json-ld-keywords.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    {
    "@context": {"s": "https://schema.org"},
    "@type": "Cryptid",
    "s:email": "[email protected]",
    "s:jobTitle": "Research Assistant",
    "s:name": "Freddy the Yeti"
    }
  2. flyingmachine revised this gist Jul 20, 2023. 4 changed files with 0 additions and 0 deletions.
    File renamed without changes.
    File renamed without changes.
  3. flyingmachine renamed this gist Jul 20, 2023. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  4. flyingmachine created this gist Jul 19, 2023.
    19 changes: 19 additions & 0 deletions bad-reference.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,19 @@
    {
    "@context": {
    "s": "https://schema.org"
    },
    "@graph": [
    {
    "@id": "https://freddytheyeti.com/me",
    "@type": "Cryptid",
    "s:colleague": "https://lettytheyeti.com/me",
    "s:name": "Freddy the Yeti"
    },
    {
    "@id": "https://lettytheyeti.com/me",
    "@type": "Cryptid",
    "s:colleague": "https://freddytheyeti.com/me",
    "s:name": "Letty the Yeti"
    }
    ]
    }
    4 changes: 4 additions & 0 deletions example-simplified-rdf.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    Daniel, owns, Potato
    Potato, is a, cat
    Potato, likes, playing
    Potato, likes, chewing on wool
    7 changes: 7 additions & 0 deletions first-json-ld-example.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    {
    "@context": {"s": "https://schema.org"},
    "@type": "Cryptid",
    "s:email": "[email protected]",
    "s:jobTitle": "Research Assistant",
    "s:name": "Freddy the Yeti"
    }
    23 changes: 23 additions & 0 deletions graph-keyword.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,23 @@
    {
    "@context": {
    "s": "https://schema.org"
    },
    "@graph": [
    {
    "@id": "https://freddytheyeti.com/me",
    "@type": "Cryptid",
    "s:colleague": {
    "@id": "https://lettytheyeti.com/me"
    },
    "s:name": "Freddy the Yeti"
    },
    {
    "@id": "https://lettytheyeti.com/me",
    "@type": "Cryptid",
    "s:colleague": {
    "@id": "https://freddytheyeti.com/me"
    },
    "s:name": "Letty the Yeti"
    }
    ]
    }
    8 changes: 8 additions & 0 deletions id-keyword.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    {
    "@context": {"s": "https://schema.org"},
    "@id": "https://freddytheyeti.com/me",
    "@type": "Cryptid",
    "s:email": "[email protected]",
    "s:jobTitle": "Research Assistant",
    "s:name": "Freddy the Yeti"
    }
    7 changes: 7 additions & 0 deletions json-ld-keywords.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    {
    "@context": {"s": "https://schema.org"},
    "@type": "Cryptid",
    "s:email": "[email protected]",
    "s:jobTitle": "Research Assistant",
    "s:name": "Freddy the Yeti"
    }
    6 changes: 6 additions & 0 deletions unambiguous-names.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    {
    "https://www.w3.org/1999/02/22-rdf-syntax-ns#type": "Cryptid",
    "https://schema.org/email": "[email protected]",
    "https://schema.org/jobTitle": "Research Assistant",
    "https://schema.org/name": "Freddy the Yeti"
    }