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.openrdf.model.URI;
21  
22  /**
23   * The <a href="http://xmlns.com/foaf/spec/">Fried 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 URI topic_interest          = createProperty(NS, "topic_interest");
40      public final URI phone                   = createProperty(NS, "phone");
41      public final URI icqChatID               = createProperty(NS, "icqChatID");
42      public final URI yahooChatID             = createProperty(NS, "yahooChatID");
43      public final URI member                  = createProperty(NS, "member");
44      public final URI givenname               = createProperty(NS, "givenname");
45      public final URI birthday                = createProperty(NS, "birthday");
46      public final URI img                     = createProperty(NS, "img");
47      public final URI name                    = createProperty(NS, "name");
48      public final URI maker                   = createProperty(NS, "maker");
49      public final URI tipjar                  = createProperty(NS, "tipjar");
50      public final URI membershipClass         = createProperty(NS, "membershipClass");
51      public final URI accountName             = createProperty(NS, "accountName");
52      public final URI mbox_sha1sum            = createProperty(NS, "mbox_sha1sum");
53      public final URI geekcode                = createProperty(NS, "geekcode");
54      public final URI interest                = createProperty(NS, "interest");
55      public final URI depicts                 = createProperty(NS, "depicts");
56      public final URI knows                   = createProperty(NS, "knows");
57      public final URI homepage                = createProperty(NS, "homepage");
58      public final URI firstName               = createProperty(NS, "firstName");
59      public final URI surname                 = createProperty(NS, "surname");
60      public final URI isPrimaryTopicOf        = createProperty(NS, "isPrimaryTopicOf");
61      public final URI page                    = createProperty(NS, "page");
62      public final URI accountServiceHomepage  = createProperty(NS, "accountServiceHomepage");
63      public final URI depiction               = createProperty(NS, "depiction");
64      public final URI fundedBy                = createProperty(NS, "fundedBy");
65      public final URI title                   = createProperty(NS, "title");
66      public final URI weblog                  = createProperty(NS, "weblog");
67      public final URI logo                    = createProperty(NS, "logo");
68      public final URI workplaceHomepage       = createProperty(NS, "workplaceHomepage");
69      public final URI based_near              = createProperty(NS, "based_near");
70      public final URI thumbnail               = createProperty(NS, "thumbnail");
71      public final URI primaryTopic            = createProperty(NS, "primaryTopic");
72      public final URI aimChatID               = createProperty(NS, "aimChatID");
73      public final URI made                    = createProperty(NS, "made");
74      public final URI workInfoHomepage        = createProperty(NS, "workInfoHomepage");
75      public final URI currentProject          = createProperty(NS, "currentProject");
76      public final URI holdsAccount            = createProperty(NS, "holdsAccount");
77      public final URI publications            = createProperty(NS, "publications");
78      public final URI sha1                    = createProperty(NS, "sha1");
79      public final URI gender                  = createProperty(NS, "gender");
80      public final URI mbox                    = createProperty(NS, "mbox");
81      public final URI myersBriggs             = createProperty(NS, "myersBriggs");
82      public final URI plan                    = createProperty(NS, "plan");
83      public final URI pastProject             = createProperty(NS, "pastProject");
84      public final URI schoolHomepage          = createProperty(NS, "schoolHomepage");
85      public final URI family_name             = createProperty(NS, "family_name");
86      public final URI msnChatID               = createProperty(NS, "msnChatID");
87      public final URI theme                   = createProperty(NS, "theme");
88      public final URI topic                   = createProperty(NS, "topic");
89      public final URI dnaChecksum             = createProperty(NS, "dnaChecksum");
90      public final URI nick                    = createProperty(NS, "nick");
91      public final URI jabberID                = createProperty(NS, "jabberID");
92  
93      // Resources.
94      public final URI Person                  = createClass(NS, "Person");
95      public final URI PersonalProfileDocument = createClass(NS, "PersonalProfileDocument");
96      public final URI Project                 = createClass(NS, "Project");
97      public final URI OnlineChatAccount       = createClass(NS, "OnlineChatAccount");
98      public final URI OnlineAccount           = createClass(NS, "OnlineAccount");
99      public final URI Agent                   = createClass(NS, "Agent");
100     public final URI Group                   = createClass(NS, "Group");
101     public final URI OnlineGamingAccount     = createClass(NS, "OnlineGamingAccount");
102     public final URI OnlineEcommerceAccount  = createClass(NS, "OnlineEcommerceAccount");
103     public final URI Document                = createClass(NS, "Document");
104     public final URI Organization            = createClass(NS, "Organization");
105     public final URI Image                   = createClass(NS, "Image");
106 
107     private FOAF(){
108         super(NS);
109     }
110     
111 }