summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Car <nicholas.car@surroundaustralia.com>2020-12-29 09:27:57 +1000
committerGitHub <noreply@github.com>2020-12-29 09:27:57 +1000
commite5983e97787e152008dedfa31b74afe67a21c8f5 (patch)
tree8818476a8381c13800d0d6e4ffb973dfe2b4bac5
parente1da9553ecb39ea388d4b24d66a35ff1f8760ba2 (diff)
downloadrdflib-e5983e97787e152008dedfa31b74afe67a21c8f5.tar.gz
fix foaf ClosedNamespace
ensured FOAF ClosedNamespace contains all FOAF classes & properties
-rw-r--r--rdflib/namespace.py91
1 files changed, 59 insertions, 32 deletions
diff --git a/rdflib/namespace.py b/rdflib/namespace.py
index 056230c5..c6691238 100644
--- a/rdflib/namespace.py
+++ b/rdflib/namespace.py
@@ -291,53 +291,80 @@ FOAF = ClosedNamespace(
terms=[
# all taken from http://xmlns.com/foaf/spec/
"Agent",
+ "Document",
+ "Group",
+ "Image",
+ "LabelProperty",
+ "OnlineAccount",
+ "OnlineChatAccount",
+ "OnlineEcommerceAccount",
+ "OnlineGamingAccount",
+ "Organization",
"Person",
- "name",
- "title",
- "img",
+ "PersonalProfileDocument",
+ "Project",
+ "account",
+ "accountName",
+ "accountServiceHomepage",
+ "age",
+ "aimChatID",
+ "based_near",
+ "birthday",
+ "currentProject",
"depiction",
"depicts",
+ "dnaChecksum",
"familyName",
+ "family_name",
+ "firstName",
+ "focus",
+ "fundedBy",
+ "geekcode",
+ "gender",
"givenName",
+ "givenname",
+ "holdsAccount",
+ "homepage",
+ "icqChatID",
+ "img",
+ "interest",
+ "isPrimaryTopicOf",
+ "jabberID",
"knows",
- "based_near",
- "age",
+ "lastName",
+ "logo",
"made",
"maker",
- "primaryTopic",
- "primaryTopicOf",
- "Project",
- "Organization",
- "Group",
+ "mbox",
+ "mbox_sha1sum",
"member",
- "Document",
- "Image",
+ "membershipClass",
+ "msnChatID",
+ "myersBriggs",
+ "name",
"nick",
- "mbox",
- "homepage",
- "weblog",
"openid",
- "jabberID",
- "mbox_sha1sum",
- "interest",
- "topic_interest",
- "topic",
"page",
- "workplaceHomepage",
- "workInfoHomepage",
- "schoolHomepage",
- "publications",
- "currentProject",
"pastProject",
- "account",
- "OnlineAccount",
- "accountName",
- "accountServiceHomepage",
- "PersonalProfileDocument",
- "tipjar",
+ "phone",
+ "plan",
+ "primaryTopic",
+ "publications",
+ "schoolHomepage",
"sha1",
+ "skypeID",
+ "status",
+ "surname",
+ "theme",
"thumbnail",
- "logo",
+ "tipjar",
+ "title",
+ "topic",
+ "topic_interest",
+ "weblog",
+ "workInfoHomepage",
+ "workplaceHomepage",
+ "yahooChatID"
],
)
ODRL2 = Namespace("http://www.w3.org/ns/odrl/2/")