All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.marmotta.commons.vocabulary.LDP Maven / Gradle / Ivy

The newest version!
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.marmotta.commons.vocabulary;

import org.openrdf.model.URI;
import org.openrdf.model.ValueFactory;
import org.openrdf.model.impl.ValueFactoryImpl;

/**
 * W3C Linked Data Platform (LDP).
 * 

* This ontology provides an informal representation of the concepts and * terms as defined in the LDP specification. Consult the LDP * specification for normative reference.. *

* Namespace Ldp. * Prefix: {@code } * * @see http://www.w3.org/2012/ldp * @see http://www.w3.org/TR/ldp-ucr/ * @see http://www.w3.org/TR/ldp/ * @see http://www.w3.org/2011/09/LinkedData/ */ public class LDP { /** {@code http://www.w3.org/ns/ldp#} **/ public static final String NAMESPACE = "http://www.w3.org/ns/ldp#"; /** {@code ldp} **/ public static final String PREFIX = "ldp"; /** * BasicContainer *

* {@code http://www.w3.org/ns/ldp#BasicContainer}. *

* An LDPC that uses a predefined predicate to simply link to its * contained resources. * * @see BasicContainer */ public static final URI BasicContainer; /** * Container *

* {@code http://www.w3.org/ns/ldp#Container}. *

* A Linked Data Platform RDF Source (LDP-RS) that also conforms to * additional patterns and conventions for managing membership. Readers * should refer to the specification defining this ontology for the list * of behaviors associated with it. * * @see Container */ public static final URI Container; /** * contains *

* {@code http://www.w3.org/ns/ldp#contains}. *

* Links a container with resources created through the container. * * @see contains */ public static final URI contains; /** * DirectContainer *

* {@code http://www.w3.org/ns/ldp#DirectContainer}. *

* An LDPC that is similar to a LDP-DC but it allows an indirection with * the ability to list as member a resource, such as a URI representing a * real-world object, that is different from the resource that is created * * @see DirectContainer */ public static final URI DirectContainer; /** * hasMemberRelation *

* {@code http://www.w3.org/ns/ldp#hasMemberRelation}. *

* Indicates which predicate is used in membership triples, and that the * membership triple pattern is < membership-constant-URI , * object-of-hasMemberRelation, member-URI >. * * @see hasMemberRelation */ public static final URI hasMemberRelation; /** * IndirectContainer *

* {@code http://www.w3.org/ns/ldp#IndirectContainer}. *

* An LDPC that has the flexibility of choosing what form the membership * triples take. * * @see IndirectContainer */ public static final URI IndirectContainer; /** * insertedContentRelation *

* {@code http://www.w3.org/ns/ldp#insertedContentRelation}. *

* Indicates which triple in a creation request should be used as the * member-URI value in the membership triple added when the creation * request is successful. * * @see insertedContentRelation */ public static final URI insertedContentRelation; /** * isMemmberOfRelation *

* {@code http://www.w3.org/ns/ldp#isMemberOfRelation}. *

* Indicates which predicate is used in membership triples, and that the * membership triple pattern is < member-URI , * object-of-isMemberOfRelation, membership-constant-URI >. * * @see isMemberOfRelation */ public static final URI isMemberOfRelation; /** * member *

* {@code http://www.w3.org/ns/ldp#member}. *

* LDP servers should use this predicate as the membership predicate if * there is no obvious predicate from an application vocabulary to use. * * @see member */ public static final URI member; /** * membershipResource *

* {@code http://www.w3.org/ns/ldp#membershipResource}. *

* Indicates the membership-constant-URI in a membership triple. * Depending upon the membership triple pattern a container uses, as * indicated by the presence of ldp:hasMemberRelation or * ldp:isMemberOfRelation, the membership-constant-URI might occupy * either the subject or object position in membership triples. * * @see membershipResource */ public static final URI membershipResource; /** * MemberSubject *

* {@code http://www.w3.org/ns/ldp#MemberSubject}. *

* Used to indicate default and typical behavior for * ldp:insertedContentRelation, where the member-URI value in the * membership triple added when a creation request is successful is the * URI assigned to the newly created resource. * * @see MemberSubject */ public static final URI MemberSubject; /** * NonRDFSource *

* {@code http://www.w3.org/ns/ldp#NonRDFSource}. *

* A Linked Data Platform Resource (LDPR) whose state is NOT represented * as RDF. * * @see NonRDFSource */ public static final URI NonRDFSource; /** * PreferContainment *

* {@code http://www.w3.org/ns/ldp#PreferContainment}. *

* URI identifying a LDPC's containment triples, for example to allow * clients to express interest in receiving them. * * @see PreferContainment */ public static final URI PreferContainment; /** * PreferEmptyContainer *

* {@code http://www.w3.org/ns/ldp#PreferEmptyContainer}. *

* URI identifying the subset of a LDPC's triples present in an empty * LDPC, for example to allow clients to express interest in receiving * them. Currently this excludes containment and membership triples, but * in the future other exclusions might be added. This definition is * written to automatically exclude those new classes of triples. * * @see PreferEmptyContainer * @deprecated use {@link #PreferMinimalContainer} instead */ @Deprecated public static final URI PreferEmptyContainer; /** * PreferMinimalContainer *

* {@code http://www.w3.org/ns/ldp#PreferMinimalContainer}. *

* URI identifying the subset of a LDPC's triples present in an empty * LDPC, for example to allow clients to express interest in receiving * them. Currently this excludes containment and membership triples, but * in the future other exclusions might be added. This definition is * written to automatically exclude those new classes of triples. * * @see PreferMinimalContainer */ public static final URI PreferMinimalContainer; /** * PreferMembership *

* {@code http://www.w3.org/ns/ldp#PreferMembership}. *

* URI identifying a LDPC's membership triples, for example to allow * clients to express interest in receiving them. * * @see PreferMembership */ public static final URI PreferMembership; /** * RDFSource *

* {@code http://www.w3.org/ns/ldp#RDFSource}. *

* A Linked Data Platform Resource (LDPR) whose state is represented as * RDF. * * @see RDFSource */ public static final URI RDFSource; /** * Resource *

* {@code http://www.w3.org/ns/ldp#Resource}. *

* A HTTP-addressable resource whose lifecycle is managed by a LDP * server. * * @see Resource */ public static final URI Resource; static { ValueFactory factory = ValueFactoryImpl.getInstance(); BasicContainer = factory.createURI(LDP.NAMESPACE, "BasicContainer"); Container = factory.createURI(LDP.NAMESPACE, "Container"); contains = factory.createURI(LDP.NAMESPACE, "contains"); DirectContainer = factory.createURI(LDP.NAMESPACE, "DirectContainer"); hasMemberRelation = factory.createURI(LDP.NAMESPACE, "hasMemberRelation"); IndirectContainer = factory.createURI(LDP.NAMESPACE, "IndirectContainer"); insertedContentRelation = factory.createURI(LDP.NAMESPACE, "insertedContentRelation"); isMemberOfRelation = factory.createURI(LDP.NAMESPACE, "isMemberOfRelation"); member = factory.createURI(LDP.NAMESPACE, "member"); membershipResource = factory.createURI(LDP.NAMESPACE, "membershipResource"); MemberSubject = factory.createURI(LDP.NAMESPACE, "MemberSubject"); NonRDFSource = factory.createURI(LDP.NAMESPACE, "NonRDFSource"); PreferContainment = factory.createURI(LDP.NAMESPACE, "PreferContainment"); PreferEmptyContainer = factory.createURI(LDP.NAMESPACE, "PreferEmptyContainer"); PreferMembership = factory.createURI(LDP.NAMESPACE, "PreferMembership"); PreferMinimalContainer = factory.createURI(LDP.NAMESPACE, "PreferMinimalContainer"); RDFSource = factory.createURI(LDP.NAMESPACE, "RDFSource"); Resource = factory.createURI(LDP.NAMESPACE, "Resource"); } private LDP() { //static access only } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy