Skip to content

Instantly share code, notes, and snippets.

View phochste's full-sized avatar

Patrick Hochstenbach phochste

View GitHub Profile
@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 .
@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 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>;
{
"$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"
{
"openapi": "3.0.3",
"info": {
"description": "This is mirepo's authorIDy instance",
"version": "v1.0",
"title": "mirepo authorIDy",
"termsOfService": "https://mirepo.org/terms-of-service/",
"contact": {
"email": "[email protected]"
},
{
"@context": {
"bflc":"http://id.loc.gov/ontologies/bflc/",
"mads":"http://www.loc.gov/mads/rdf/v1#",
"identifiers":"http://id.loc.gov/vocabulary/identifiers/",
"skos":"http://www.w3.org/2004/02/skos/core#",
"bflc:subjectOf": {
"@type":"@id"
},
"mads:elementList": {
{
"@context": {
"@vocab": "http://www.w3.org/2000/10/swap/lingua#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",
"vars": { "@container":"@list"},
"premise": { "@container":"@graph" },
"conclusion": { "@container":"@graph" }
},
"@id":"urn:uuid:B7AC1149-E71F-4529-ADA6-A06BEA6BABD5",
"@type":"Rules",
{
"@context": {
"@vocab": "http://example.org/ns#",
"contains": { "@container":"@graph" }
},
"@id":"urn:uuid:B7AC1149-E71F-4529-ADA6-A06BEA6BABD5",
"@type":"Package",
"contains": {
"@id":"urn:uuid:05D1E281-AF04-49C9-821B-862C82501D2D",
"@type": [ "Trust","Package"],
MIIVcjADAgEAMIIVaQYJKoZIhvcNAQcCoIIVWjCCFVYCAQMxDzANBglghkgBZQMEAgMFADCCAaQG
CyqGSIb3DQEJEAEEoIIBkwSCAY8wggGLAgEBBgQqAwQBMFEwDQYJYIZIAWUDBAIDBQAEQBX2O8T8
+6VAZO7C8v1twvOUBBgA/Vz7orCfdbtUq1t7TqOTlaz11QrmNysFu8TFukxzSwB24jJQeMV0BLHE
bf0CBAD6cuUYDzIwMjMxMTMwMTI0NTE4WgEB/6CCARGkggENMIIBCTERMA8GA1UEChMIRnJlZSBU
U0ExDDAKBgNVBAsTA1RTQTF2MHQGA1UEDRNtVGhpcyBjZXJ0aWZpY2F0ZSBkaWdpdGFsbHkgc2ln
bnMgZG9jdW1lbnRzIGFuZCB0aW1lIHN0YW1wIHJlcXVlc3RzIG1hZGUgdXNpbmcgdGhlIGZyZWV0
c2Eub3JnIG9ubGluZSBzZXJ2aWNlczEYMBYGA1UEAxMPd3d3LmZyZWV0c2Eub3JnMSIwIAYJKoZI
hvcNAQkBFhNidXNpbGV6YXNAZ21haWwuY29tMRIwEAYDVQQHEwlXdWVyemJ1cmcxCzAJBgNVBAYT
AkRFMQ8wDQYDVQQIEwZCYXllcm6gghAIMIIIATCCBemgAwIBAgIJAMHphhYNqOmCMA0GCSqGSIb3
DQEBDQUAMIGVMREwDwYDVQQKEwhGcmVlIFRTQTEQMA4GA1UECxMHUm9vdCBDQTEYMBYGA1UEAxMP
@prefix ex: <http://example.org/> .
@prefix as: <https://www.w3.org/ns/activitystreams#> .
@prefix ldp: <http://www.w3.org/ns/ldp#> .
@prefix pol: <https://www.example.org/ns/policy#> .
@prefix fno: <https://w3id.org/function/ontology#> .
{
# We need an Announce
?id a as:Announce .