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
    18  package org.apache.any23.vocab;
    19
    20  import org.eclipse.rdf4j.model.IRI;
    21
    22  /**
    23   * The <a href="http://xmlns.com/foaf/spec/">Friend Of A Friend</a> vocabulary.
    24   */
    25  public class FOAF extends Vocabulary {
    26
    27      public static final String NS = "http://xmlns.com/foaf/0.1/";
    28
    29      private static FOAF instance;
    30
    31      public static FOAF getInstance() {
    32          if (instance == null) {
    33              instance = new FOAF();
    34          }
    35          return instance;
    36      }
    37
    38      // Properties.
    39      public final IRI topic_interest = createProperty(NS, "topic_interest");
    40      public final IRI phone = createProperty(NS, "phone");
    41      public final IRI icqChatID = createProperty(NS, "icqChatID");
    42      public final IRI yahooChatID = createProperty(NS, "yahooChatID");
    43      public final IRI member = createProperty(NS, "member");
    44      public final IRI givenname = createProperty(NS, "givenname");
    45      public final IRI birthday = createProperty(NS, "birthday");
    46      public final IRI img = createProperty(NS, "img");
    47      public final IRI name = createProperty(NS, "name");
    48      public final IRI maker = createProperty(NS, "maker");
    49      public final IRI tipjar = createProperty(NS, "tipjar");
    50      public final IRI membershipClass = createProperty(NS, "membershipClass");
    51      public final IRI accountName = createProperty(NS, "accountName");
    52      public final IRI mbox_sha1sum = createProperty(NS, "mbox_sha1sum");
    53      public final IRI geekcode = createProperty(NS, "geekcode");
    54      public final IRI interest = createProperty(NS, "interest");
    55      public final IRI depicts = createProperty(NS, "depicts");
    56      public final IRI knows = createProperty(NS, "knows");
    57      public final IRI homepage = createProperty(NS, "homepage");
    58      public final IRI firstName = createProperty(NS, "firstName");
    59      public final IRI surname = createProperty(NS, "surname");
    60      public final IRI isPrimaryTopicOf = createProperty(NS, "isPrimaryTopicOf");
    61      public final IRI page = createProperty(NS, "page");
    62      public final IRI accountServiceHomepage = createProperty(NS, "accountServiceHomepage");
    63      public final IRI depiction = createProperty(NS, "depiction");
    64      public final IRI fundedBy = createProperty(NS, "fundedBy");
    65      public final IRI title = createProperty(NS, "title");
    66      public final IRI weblog = createProperty(NS, "weblog");
    67      public final IRI logo = createProperty(NS, "logo");
    68      public final IRI workplaceHomepage = createProperty(NS, "workplaceHomepage");
    69      public final IRI based_near = createProperty(NS, "based_near");
    70      public final IRI thumbnail = createProperty(NS, "thumbnail");
    71      public final IRI primaryTopic = createProperty(NS, "primaryTopic");
    72      public final IRI aimChatID = createProperty(NS, "aimChatID");
    73      public final IRI made = createProperty(NS, "made");
    74      public final IRI workInfoHomepage = createProperty(NS, "workInfoHomepage");
    75      public final IRI currentProject = createProperty(NS, "currentProject");
    76      public final IRI holdsAccount = createProperty(NS, "holdsAccount");
    77      public final IRI publications = createProperty(NS, "publications");
    78      public final IRI sha1 = createProperty(NS, "sha1");
    79      public final IRI gender = createProperty(NS, "gender");
    80      public final IRI mbox = createProperty(NS, "mbox");
    81      public final IRI myersBriggs = createProperty(NS, "myersBriggs");
    82      public final IRI plan = createProperty(NS, "plan");
    83      public final IRI pastProject = createProperty(NS, "pastProject");
    84      public final IRI schoolHomepage = createProperty(NS, "schoolHomepage");
    85      public final IRI family_name = createProperty(NS, "family_name");
    86      public final IRI msnChatID = createProperty(NS, "msnChatID");
    87      public final IRI theme = createProperty(NS, "theme");
    88      public final IRI topic = createProperty(NS, "topic");
    89      public final IRI dnaChecksum = createProperty(NS, "dnaChecksum");
    90      public final IRI nick = createProperty(NS, "nick");
    91      public final IRI jabberID = createProperty(NS, "jabberID");
    92
    93      // Resources.
    94      public final IRI Person = createClass(NS, "Person");
    95      public final IRI PersonalProfileDocument = createClass(NS, "PersonalProfileDocument");
    96      public final IRI Project = createClass(NS, "Project");
    97      public final IRI OnlineChatAccount = createClass(NS, "OnlineChatAccount");
    98      public final IRI OnlineAccount = createClass(NS, "OnlineAccount");
    99      public final IRI Agent = createClass(NS, "Agent");
    100     public final IRI Group = createClass(NS, "Group");
    101     public final IRI OnlineGamingAccount = createClass(NS, "OnlineGamingAccount");
    102     public final IRI OnlineEcommerceAccount = createClass(NS, "OnlineEcommerceAccount");
    103     public final IRI Document = createClass(NS, "Document");
    104     public final IRI Organization = createClass(NS, "Organization");
    105     public final IRI Image = createClass(NS, "Image");
    106
    107     private FOAF() {
    108         super(NS);
    109     }
    110
    111 }