@prefix this: <https://w3id.org/np/RAUO9sdGCVyTIdD3TEFbpaGx90oWt2gBJsTK5ReuDy7wQ> .
@prefix sub: <https://w3id.org/np/RAUO9sdGCVyTIdD3TEFbpaGx90oWt2gBJsTK5ReuDy7wQ/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix ns1: <http://purl.org/np/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .

<https://w3id.org/np/RAUO9sdGCVyTIdD3TEFbpaGx90oWt2gBJsTK5ReuDy7wQ> a np:Nanopublication;
  np:hasAssertion sub:assertion;
  np:hasProvenance sub:provenance;
  np:hasPublicationInfo sub:pubinfo;
  dct:created "2025-10-23T17:36:40.441+02:00"^^xsd:dateTime;
  dct:creator orcid:0000-0002-1267-0234;
  dct:license <https://creativecommons.org/licenses/by/4.0/>;
  npx:wasCreatedAt <http://localhost:37373/>;
  rdfs:label "Defining a new object/datatype property";
  nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM;
  nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw>,
    <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
  nt:wasCreatedFromTemplate <https://w3id.org/np/RA1XuAdO6LOtlPJgWiytJHFuK4BFHjQK5x7d9FVymzFnc> .

dct:partOf rdfs:label "is part of" .

rdf:Property rdfs:label "property" .

rdf:type rdfs:label "is a" .

rdfs:domain rdfs:label "has its subject values from the class (domain)" .

rdfs:label rdfs:label "is read as" .

rdfs:range rdfs:label "has its object values from the class (range)" .

<http://www.w3.org/2002/07/owl#DatatypeProperty> rdfs:label "datatype property - a relation between an object (any entity) and a literal (a text or number)" .

<http://www.w3.org/2002/07/owl#ObjectProperty> rdfs:label "object property - a relation between two objects (any kinds of entities)" .

<http://www.w3.org/2004/02/skos/core#definition> rdfs:label "is defined as follows:" .

sub:assertion a nt:AssertionTemplate;
  dct:description "This template helps to define object properties and datatype properties with domains and ranges from diverse sources.";
  rdfs:label "Defining a new object/datatype property";
  nt:hasNanopubLabelPattern "Property: ${label}";
  nt:hasStatement sub:st0, sub:st1, sub:st2, sub:st3, sub:st4, sub:st5, sub:st6;
  nt:hasTag "Terms";
  prov:wasAttributedTo orcid:0000-0002-1267-0234 .

sub:definition a nt:LongLiteralPlaceholder;
  rdfs:label "definition of the property" .

sub:domain a nt:UriPlaceholder;
  rdfs:label "URI of the domain 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:label a nt:LiteralPlaceholder;
  rdfs:label "how the property is read, e.g. 'contains' or 'is used by'" .

sub:ontology a nt:ExternalUriPlaceholder;
  rdfs:label "ontology or vocabulary" .

sub:property a nt:IntroducedResource, nt:LocalResource, nt:UriPlaceholder;
  rdfs:label "short name, used as URI suffix" .

sub:propertytype a nt:RestrictedChoicePlaceholder;
  rdfs:label "type of property (object or datatype property)";
  nt:possibleValue <http://www.w3.org/2002/07/owl#DatatypeProperty>, <http://www.w3.org/2002/07/owl#ObjectProperty> .

sub:range a nt:UriPlaceholder;
  rdfs:label "URI of the range 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:st0 rdf:object rdf:Property;
  rdf:predicate rdf:type;
  rdf:subject sub:property .

sub:st1 a nt:OptionalStatement;
  rdf:object sub:propertytype;
  rdf:predicate rdf:type;
  rdf:subject sub:property .

sub:st2 rdf:object sub:label;
  rdf:predicate rdfs:label;
  rdf:subject sub:property .

sub:st3 rdf:object sub:definition;
  rdf:predicate <http://www.w3.org/2004/02/skos/core#definition>;
  rdf:subject sub:property .

sub:st4 a nt:OptionalStatement;
  rdf:object sub:domain;
  rdf:predicate rdfs:domain;
  rdf:subject sub:property .

sub:st5 a nt:OptionalStatement, nt:RepeatableStatement;
  rdf:object sub:range;
  rdf:predicate rdfs:range;
  rdf:subject sub:property .

sub:st6 rdf:object sub:ontology;
  rdf:predicate dct:partOf;
  rdf:subject sub:property .

orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" .

sub:sig npx:hasAlgorithm "RSA";
  npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
  npx:hasSignature "b2ndQzU9J2W4m7puvNGUTP/2oO2mvRlGELX1id2c0K8HoH7/im3ikDBrdV1FMZh+Car50QP46GPo9DoOkmMRXX7uyeRLL9eAKDFoKUi9VDfJh95chkx6xXsbkIdK9PnQw3HP+e/WvJw4yuAGOAuwYxCs8/UrjjX9ZRmIuTijxDc=";
  npx:hasSignatureTarget <https://w3id.org/np/RAUO9sdGCVyTIdD3TEFbpaGx90oWt2gBJsTK5ReuDy7wQ>;
  npx:signedBy orcid:0000-0002-1267-0234 .

