Sha256: 044cb6290bc9c21620a47db3fabb90bfe6cb6a259a35309a60cfe83a80ad4855

Contents?: true

Size: 1.98 KB

Versions: 3

Compression:

Stored size: 1.98 KB

Contents

# -*- encoding: utf-8 -*-
# frozen_string_literal: true
# This file generated automatically from http://xmlns.com/foaf/context
require 'json/ld'
class JSON::LD::Context
  add_preloaded("http://xmlns.com/foaf/context") do
    new(vocab: "http://xmlns.com/foaf/0.1/", term_definitions: {
      "account" => TermDefinition.new("account", id: "http://xmlns.com/foaf/0.1/account", type_mapping: "@id"),
      "accountServiceHomepage" => TermDefinition.new("accountServiceHomepage", id: "http://xmlns.com/foaf/0.1/accountServiceHomepage", type_mapping: "@id"),
      "homepage" => TermDefinition.new("homepage", id: "http://xmlns.com/foaf/0.1/homepage", type_mapping: "@id"),
      "interest" => TermDefinition.new("interest", id: "http://xmlns.com/foaf/0.1/interest", type_mapping: "@id"),
      "isPrimaryTopicOf" => TermDefinition.new("isPrimaryTopicOf", id: "http://xmlns.com/foaf/0.1/isPrimaryTopicOf", type_mapping: "@id"),
      "made" => TermDefinition.new("made", id: "http://xmlns.com/foaf/0.1/made", type_mapping: "@id"),
      "openid" => TermDefinition.new("openid", id: "http://xmlns.com/foaf/0.1/openid", type_mapping: "@id"),
      "page" => TermDefinition.new("page", id: "http://xmlns.com/foaf/0.1/page", type_mapping: "@id"),
      "primaryTopic" => TermDefinition.new("primaryTopic", id: "http://xmlns.com/foaf/0.1/primaryTopic", type_mapping: "@id"),
      "publications" => TermDefinition.new("publications", id: "http://xmlns.com/foaf/0.1/publications", type_mapping: "@id"),
      "schoolHomepage" => TermDefinition.new("schoolHomepage", id: "http://xmlns.com/foaf/0.1/schoolHomepage", type_mapping: "@id"),
      "weblog" => TermDefinition.new("weblog", id: "http://xmlns.com/foaf/0.1/weblog", type_mapping: "@id"),
      "workInfoHomepage" => TermDefinition.new("workInfoHomepage", id: "http://xmlns.com/foaf/0.1/workInfoHomepage", type_mapping: "@id"),
      "workplaceHomepage" => TermDefinition.new("workplaceHomepage", id: "http://xmlns.com/foaf/0.1/workplaceHomepage", type_mapping: "@id")
    })
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
json-ld-preloaded-3.0.2 lib/json/ld/preloaded/foaf.rb
json-ld-preloaded-1.1.0 lib/json/ld/preloaded/foaf.rb
json-ld-preloaded-1.0.0 lib/json/ld/preloaded/foaf.rb