Skip to content

Instantly share code, notes, and snippets.

View phochste's full-sized avatar

Patrick Hochstenbach phochste

View GitHub Profile
{
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://signposting.org/authorIDy/schema.json",
"title": "authorIDy",
"description": "An authorIDy response body",
"type": "object",
"properties": {
"contributor" : {
"description": "contributor identifier URI",
"type": "string"
@prefix dc: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://w3id.org/np/RAO6OjsPPlixn_uVJhzsAaoi8KaLxT8yKXgt8MOuyNN8U#Head> = {
<https://w3id.org/np/RAO6OjsPPlixn_uVJhzsAaoi8KaLxT8yKXgt8MOuyNN8U> a <http://www.nanopub.org/nschema#Nanopublication>;
<http://www.nanopub.org/nschema#hasAssertion> <https://w3id.org/np/RAO6OjsPPlixn_uVJhzsAaoi8KaLxT8yKXgt8MOuyNN8U#assertion>;
@prefix : <urn:example:> .
@prefix log: <http://www.w3.org/2000/10/swap/log#> .
@prefix list: <http://www.w3.org/2000/10/swap/list#> .
:test1
:policy :PolicyX ;
:has :A , :B , :C .
:PolicyX
a :Policy ;
@prefix : <https://example.org/ns#> .
@prefix log: <http://www.w3.org/2000/10/swap/log#> .
##############################################################################
# Researcher preferences #
##############################################################################
## Pref 1 . Publications in a subject repo
(_:R) log:onNegativeSurface {
_:R a :SubjectRepository .