View Javadoc

    1   /*
    2    * Licensed to the Apache Software Foundation (ASF) under one or more
    3    * contributor license agreements.  See the NOTICE file distributed with
    4    * this work for additional information regarding copyright ownership.
    5    * The ASF licenses this file to You under the Apache License, Version 2.0
    6    * (the "License"); you may not use this file except in compliance with
    7    * the License.  You may obtain a copy of the License at
    8    *
    9    *  http://www.apache.org/licenses/LICENSE-2.0
    10   *
    11   * Unless required by applicable law or agreed to in writing, software
    12   * distributed under the License is distributed on an "AS IS" BASIS,
    13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14   * See the License for the specific language governing permissions and
    15   * limitations under the License.
    16   */
    17  package org.apache.any23.vocab;
    18
    19  import org.eclipse.rdf4j.model.IRI;
    20
    21  /**
    22   * The <a href="https://github.com/edumbill/doap/wiki">Description Of A Project</a> vocabulary.
    23   *
    24   * @author lewismc
    25   */
    26  public class DOAP extends Vocabulary {
    27
    28      public static final String NS = "http://usefulinc.com/ns/doap#";
    29
    30      private static DOAP instance;
    31
    32      public static DOAP getInstance() {
    33          if (instance == null) {
    34              instance = new DOAP();
    35          }
    36          return instance;
    37      }
    38
    39      // Resources
    40      public final IRI Project = createClass(NS, "Project");
    41      public final IRI Version = createClass(NS, "Version");
    42      public final IRI Specification = createClass(NS, "Specification");
    43      public final IRI Repository = createClass(NS, "Repository");
    44      public final IRI SVNRepository = createClass(NS, "SVNRepository");
    45      public final IRI BKRepository = createClass(NS, "BKRepository");
    46      public final IRI CVSRepository = createClass(NS, "CVSRepository");
    47      public final IRI ArchRepository = createClass(NS, "ArchRepository");
    48      public final IRI BazaarBranch = createClass(NS, "BazaarBranch");
    49      public final IRI GitRepository = createClass(NS, "GitRepository");
    50      public final IRI HgRepository = createClass(NS, "HgRepository");
    51      public final IRI DarcsRepository = createClass(NS, "DarcsRepository");
    52
    53      // Properties
    54      public final IRI name = createProperty(NS, "name");
    55      public final IRI homepage = createProperty(NS, "homepage");
    56      public final IRI old_homepage = createProperty(NS, "old-homepage");
    57      public final IRI created = createProperty(NS, "created");
    58      public final IRI shortdesc = createProperty(NS, "shortdesc");
    59      public final IRI description = createProperty(NS, "description");
    60      public final IRI release = createProperty(NS, "release");
    61      public final IRI mailing_list = createProperty(NS, "mailing-list");
    62      public final IRI category = createProperty(NS, "category");
    63      public final IRI license = createProperty(NS, "license");
    64      public final IRI repository = createProperty(NS, "repository");
    65      public final IRI anon_root = createProperty(NS, "anon-root");
    66      public final IRI browse = createProperty(NS, "browse");
    67      public final IRI module = createProperty(NS, "module");
    68      public final IRI location = createProperty(NS, "location");
    69      public final IRI download_page = createProperty(NS, "download-page");
    70      public final IRI download_mirror = createProperty(NS, "download-mirror");
    71      public final IRI revision = createProperty(NS, "revision");
    72      public final IRI file_release = createProperty(NS, "file-release");
    73      public final IRI wiki = createProperty(NS, "wiki");
    74      public final IRI bug_database = createProperty(NS, "bug-database");
    75      public final IRI screenshots = createProperty(NS, "screenshots");
    76      public final IRI maintainer = createProperty(NS, "maintainer");
    77      public final IRI developer = createProperty(NS, "developer");
    78      public final IRI documenter = createProperty(NS, "documenter");
    79      public final IRI translator = createProperty(NS, "translator");
    80      public final IRI tester = createProperty(NS, "tester");
    81      public final IRI helper = createProperty(NS, "helper");
    82      public final IRI programming_language = createProperty(NS, "programming-language");
    83      public final IRI os = createProperty(NS, "os");
    84      public final IRI implement = createProperty(NS, "implement");
    85      public final IRI service_endpoint = createProperty(NS, "service-endpoint");
    86      public final IRI language = createProperty(NS, "language");
    87      public final IRI vendor = createProperty(NS, "vendor");
    88      public final IRI platform = createProperty(NS, "platform");
    89      public final IRI audience = createProperty(NS, "audience");
    90      public final IRI blog = createProperty(NS, "blog");
    91
    92      private DOAP() {
    93          super(NS);
    94      }
    95  }