@prefix dcterms: .
@prefix owl: .
@prefix this: .
@prefix sub: .
@prefix np: .
@prefix rdf: .
@prefix nt: .
@prefix xsd: .
@prefix rdfs: .
@prefix orcid: .
@prefix prov: .
@prefix npx: .
sub:Head {
this: a np:Nanopublication;
np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubinfo .
}
sub:assertion {
dcterms:description rdfs:label "can be described as follows:" .
sub:assertion a nt:AssertionTemplate;
rdfs:label "Defining a new class by a property restriction";
nt:hasStatement sub:st0, sub:st1, sub:st2, sub:st3, sub:st4 .
sub:class a nt:GuidedChoicePlaceholder;
rdfs:label "URI of existing class";
nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2F2002%2F07%2Fowl%23Class&searchterm=",
"https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
sub:description a nt:LiteralPlaceholder;
rdfs:label "description of the class" .
sub:name a nt:LiteralPlaceholder;
rdfs:label "the name of the class" .
sub:newclass a nt:IntroducedResource, nt:LocalResource, nt:UriPlaceholder;
rdfs:label "short ID of new class" .
sub:property a nt:GuidedChoicePlaceholder;
rdfs:label "the property on which the restriction is applied";
nt:possibleValuesFromApi "http://purl.org/nanopub/api/find_signed_things?type=http%3A%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23Property&searchterm=" .
sub:restrictiontype a nt:RestrictedChoicePlaceholder;
rdfs:label "select type of restriction";
nt:possibleValue owl:allValuesFrom, owl:someValuesFrom .
sub:st0 rdf:object owl:Restriction;
rdf:predicate rdf:type;
rdf:subject sub:newclass .
sub:st1 rdf:object sub:name;
rdf:predicate rdfs:label;
rdf:subject sub:newclass .
sub:st2 a nt:OptionalStatement;
rdf:object sub:description;
rdf:predicate dcterms:description;
rdf:subject sub:newclass .
sub:st3 rdf:object sub:property;
rdf:predicate owl:onProperty;
rdf:subject sub:newclass .
sub:st4 rdf:object sub:class;
rdf:predicate sub:restrictiontype;
rdf:subject sub:newclass .
rdf:type rdfs:label "is a" .
rdfs:label rdfs:label "is called" .
owl:Restriction rdfs:label "class defined by a property restriction" .
owl:allValuesFrom rdfs:label "has all values from" .
owl:onProperty rdfs:label "has a restriction on the property" .
owl:someValuesFrom rdfs:label "has some values from" .
}
sub:provenance {
sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
npx:hasSignature "h1N3IVaPXPmMB4/SBR+ZFaGMzK1GTDDjAk1ZCP31tUSLTWC0HxyDrNU4sqzu+N3ExMtObyK0x61XLzQKH3V4WlgY4oXwxNgw3Xrbvk1kxYcGcpxBrYQ2CIYvO0+gMCe/Aar75pYPDoXK9o5sm2iPwnfQJC2XAU4AUWF+9f7ZHLk=";
npx:hasSignatureTarget this: .
this: dcterms:created "2021-05-18T15:45:33.660+02:00"^^xsd:dateTime;
dcterms:creator orcid:0000-0002-1267-0234;
nt:wasCreatedFromProvenanceTemplate ;
nt:wasCreatedFromPubinfoTemplate ;
nt:wasCreatedFromTemplate .
}