-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfoaf.shex
90 lines (79 loc) · 1.9 KB
/
foaf.shex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
# Made from http://xmlns.com/foaf/spec/
# elides OnlineChatAccount, OnlineEcommerceAccount, OnlineGamingAccount
PREFIX : <http://xmlns.com/foaf/0.1/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX wgs84: <http://www.w3.org/2003/01/geo/wgs84_pos#>
BASE <http://xmlns.com/foaf/0.1/>
<Agent> {
:gender .*;
:yahooChatID .*;
:account .*;
:birthday .*;
:icqChatID .*;
:aimChatID .*;
:jabberID .*;
:made .*;
:mbox .*;
:interest .*;
:tipjar .*;
:skypeID .*;
:topic_interest .*;
:age .*;
:mbox_sha1sum .*;
:status .*;
:msnChatID .*;
:openid .*;
:holdsAccount .*;
:weblog .*;
} AND (@<Group> OR @<Person> OR @<Organization>)
# Used with: :maker, :member
<Document> {
:topic .*;
:primaryTopic .*;
:sha1 .*;
} AND (@<Image> OR @<PersonalProfileDocument>)
AND NOT (@<Project> OR @<Organization>)
# Used with: rdfs:seeAlso :workInfoHomepage, :workplaceHomepage, :page, :accountServiceHomepage, :openid, :tipjar, :schoolHomepage, :publications, :isPrimaryTopicOf, :interest, :homepage, :weblog
<Group> {
:member @<Agent>*
}
<Person> {
:plan .*;
:surname .*;
:geekcode .*;
:pastProject .*;
:lastName .*;
:family_name .*;
:publications @<Document>*;
:currentProject .*;
:familyName .*;
:firstName .*;
:workInfoHomepage @<Document>*;
:myersBriggs .*;
:schoolHomepage @<Document>*;
:img @<Image>*;
:workplaceHomepage @<Document>*;
:knows @<Person>*
} AND @<Agent> AND @wgs84:SpatialThingShape
AND NOT (@<Project> OR @<Organization>)
# Used with: knows
<OnlineAccount> {
:accountName .*;
:accountServiceHomepage @<Document>*
}
wgs84:SpatialThingShape {
wgs84:lat .;
wgs84:long .
}
<Organization> {
} AND @<Agent>
AND NOT (@<Document> OR @<Person>)
<Image> {
:depicts .*;
:thumbnail @<Image>*
} AND @<Document>
# Used Wtih img thumbnail depiction
<PersonalProfileDocument> {
} AND @<Document>
<Project> {
} AND NOT (@<Document> OR @<Person>)