Code Monkey home page Code Monkey logo

documentation's Introduction

Hi there ๐Ÿ‘‹

Here is an example of a personal profile document, using JSON-LD Notaton that's crucial to that effort. For maximum effect, you are encouraged to install the OpenLink Structured Data Sniffer Browser Extension (for Chrome and other Web Extensions compliant Browsers) or Firefox.

## JSON-LD Start ##

{
  "@context": {
    "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
    "foaf": "http://xmlns.com/foaf/0.1/",
    "schema": "http://schema.org/",
    "rdfs": "http://www.w3.org/2000/01/rdf-schema#",
    "dcterms": "http://purl.org/dc/terms/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "owl": "http://www.w3.org/2002/07/owl#",
    "cert": "http://www.w3.org/ns/auth/cert#"
  },
  "@graph": [
    {
      "@id": "",
      "@type": "foaf:PersonalProfileDocument",
      "foaf:maker": {
        "@id": "#i"
      },
      "foaf:primaryTopic": {
        "@id": "#i"
      }
    },
    {
      "@id": "#i",
      "@type": [
        "schema:Organization",
        "foaf:Organization"
      ],
      "schema:mainEntityOfPage": [
        {
          "@id": ""
        },
        {
          "@id": "https://www.openlinksw.com/"
        },
        {
          "@id": "https://www.linkedin.com/company/27491/"
        },
        {
          "@id": "https://www.twitter.com/OpenLink/"
        }
      ],
      "schema:name": {
        "@type": "rdf:langString",
        "@value": "OpenLink Software"
      },
      "owl:sameAs": [
        {
          "@id": "https://www.linkedin.com/company/27491#this"
        },
        {
          "@id": "https://www.openlinksw.com/#this"
        },
        {
          "@id": "https://www.twitter.com/OpenLink#this"
        }
      ]
    },
    {
      "@id": "",
      "@type": [
        "foaf:Document",
        "schema:WebPage"
      ],
      "dcterms:created": {
        "@type": "xsd:dateTime",
        "@value": "2020-07-12"
      },
      "dcterms:creator": {
        "@id": "#i"
      },
      "schema:mainEntity": {
        "@id": "#i"
      },
      "rdfs:name": {
        "@type": "rdf:langString",
        "@value": "OpenLink Software's Profile Document"
      },
      "foaf:primaryTopic": {
        "@id": "#i"
      }
    }
  ]
}

## JSON-LD End ##

Here is the same Profile Information using RDF-Turtle Notation.

## Turtle Start ##

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix schema: <http://schema.org/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix cert: <http://www.w3.org/ns/auth/cert#> . 
@prefix : <#> . 

# Profile Document Metadata
<> rdf:type foaf:Document, foaf:PersonalProfileDocument, schema:WebPage, schema:CreativeWork .
<> foaf:maker :i .
<> foaf:primaryTopic :i .
<> schema:mainEntity :i .
<> schema:dateCreated "2020-07-12"^^xsd:dateTime .
<> schema:creator :i .
<> schema:name "OpenLink Software's Profile Document" .

# Personal Information 
:i schema:mainEntityOfPage <> .
:i schema:mainEntityOfPage <https://www.openlinksw.com/> .
:i schema:mainEntityOfPage <https://www.linkedin.com/company/27491/> .
:i schema:mainEntityOfPage <https://www.twitter.com/OpenLink/> .
:i rdf:type schema:Organization, foaf:Organization .
:i schema:name "OpenLink Software" .
:i owl:sameAs <https://www.openlinksw.com/#this> .
:i owl:sameAs <https://www.linkedin.com/company/27491#this> .
:i owl:sameAs <https://www.twitter.com/OpenLink#this> .

## Turtle End ##

documentation's People

Contributors

cblakeley avatar kidehen avatar martint avatar openlink avatar tallted avatar timhaynesopenlink avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

documentation's Issues

confusion over docs of Graph Groups

Originally posted by @mhoangvslev in openlink/virtuoso-opensource#1277 (comment)

When I read this line from the doc, I feel confused:

Bit 8 allows to obtain list of members of graph group; an IRI can be used as graph IRI and as graph group IRI at the same time so bit 8 can be freely combined with any of bits 1, 2 or 4.

My understanding from the doc for RDF Graph Groups is that its sole purpose is to provide a convenient way to query specific subset of graphs, as described here:

It would be nice to create named lists of graphs and a clause like "SELECT from all graph names of the specified list". "Graph groups" serve for this purpose. That is Virtuoso-specific SPARQL extension that let create a named list of IRIs such that if name of the list is used in FROM clause like IRI of default graph then it is equivalent to list of FROM clauses, one clause for each item of the list.

I think the line DB.DBA.RDF_GRAPH_USER_PERMS_SET (graph_group_iri, 'nobody', 9) should be added to the DB.DBA.RDF_GRAPH_GROUP_CREATE procedure. If not possible, for security reason, it should be mentioned in the document.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.