Debian Codegraph @

whelp/AQL/MovieDB/wspec/models.wrm

raw
1 // a database to test aql stuff
2
3 ?Movie Release Date DateType UNIQUE Text // multiple dates for different countries allowed
4 Production_company ?Company XREF Released
5 Distributors ?Company XREF Distributed UNIQUE Text // Text is "video" or "country" etc.
6 Cast ?Person XREF Stars_in UNIQUE Text // Character name
7 Director ?Person XREF Directed UNIQUE Text
8 Writer ?Person XREF Scripted UNIQUE Text
9 Aka Text UNIQUE Text // second text is language etc.
10 Based_on ?Book XREF Script_for
11 Links Follows ?Movie XREF Followed_by
12 Followed_by ?Movie XREF Follows
13 Spoofs ?Movie XREF Spoofed_in
14 Spoofed_in ?Movie XREF Spoofs
15 References ?Movie XREF Referenced_in
16 Referenced_in ?Movie XREF References
17 Features ?Movie XREF Featured_in
18 Featured_in ?Movie XREF Features
19 Rating UNIQUE Float UNIQUE Int // rating out of 10 Int is No. of votes submitted
20
21 ?Person Real_name UNIQUE Text
22 Date_of_Birth UNIQUE DateType UNIQUE Text // Text is Place of Birth
23 Address Mail Text
24 Email Text
25 Phone Text
26 Height Imperial UNIQUE Int UNIQUE Int // feet & inches
27 Metric UNIQUE Int // cm
28 Stars_in ?Movie XREF Cast
29 Directed ?Movie XREF Director
30 Scripted ?Movie XREF Writer
31 Wrote ?Book XREF Author
32 Relations Spouse ?Person UNIQUE DateType UNIQUE DateType // from to dates
33 Father ?Person
34 Mother ?Person
35 Children ?Person
36
37
38 ?Book Reference Publisher UNIQUE Text
39 Year UNIQUE Int
40 Author ?Person XREF Wrote
41 Script_for ?Movie XREF Based_on
42
43
44 ?Company Released ?Movie XREF Production_company
45 Distributed ?Movie XREF Distributors
46 Owned_by Text
47 Founded UNIQUE DateType Text // Text is name of Founder
48 // or society etc..