/docs/MyDocs

To get this branch, use:
bzr branch http://darksoft.org/webbzr/docs/MyDocs

« back to all changes in this revision

Viewing changes to xml/info/rdf.txt

  • Committer: Suren A. Chilingaryan
  • Date: 2009-04-09 03:21:08 UTC
  • Revision ID: csa@dside.dyndns.org-20090409032108-w4edamdh4adrgdu3
import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
************************************************************
 
2
*********** RDF (Resource Description Framework) ***********
 
3
************************************************************
 
4
�।�������� �ᯮ�짮���� ��� ���ᠭ�� ���ਠ��� ࠧ��饭��� �� WWW 
 
5
��࠭��. �ਬ��:
 
6
        <rdf:RDF 
 
7
           xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 
8
           xmlns:dc="http://purl.org/dc/elements/1.1/">
 
9
                
 
10
           <rdf:Description rdf:about="Page URL">
 
11
                <dc:creator>"Kain the Dragon"</dc:creator>
 
12
                <dc:title>"DarkSoft HomePage"</dc:title>
 
13
                <dc:description>
 
14
                        "Information about DarkSoft software"
 
15
                </dc:description>
 
16
                <dc:date>"2001-12-31"</dc:date>
 
17
           </rdf:Description> 
 
18
        </rdf:RDF> 
 
19
��⠢�� � HTML:
 
20
        <LINK rel="meta" href="document.rdf"> � ᥪ樨 Header
 
21
 
 
22
������
 
23
-------
 
24
dc:     xmlns:dc="http://purl.org/dc/elements/1.1/"
 
25
dcq:    xmlns:dcq="http://purl.org/dc/qualifiers/1.1/"
 
26
dct:    xmlns:dct="http://purl.org/dc/terms/1.1/"
 
27
log:    xmlns:log="http://www.w3.org/2000/10/swap/log#"
 
28
foaf:   xmlns:foaf="http://xmlns.com/foaf/0.1/ "
 
29
 
 
30
 
 
31
�������� ᫮���� dc: (Dublin Core Metadata)
 
32
-------------------------------------------
 
33
dc:title        - �������� �����
 
34
dc:�reator      - ���� (���ᮭ�, �࣠������ ��� �ࢨ�)
 
35
dc:subject      - ⥬�⨪� (��� ᯨ᮪ ���祢�� ᫮�)
 
36
dc:description  - ��⪮� ���ᠭ��, ������� 
 
37
dc:publisher    - ����⥫��⢮ ��� �࣠������ 
 
38
dc:contributor  - ��⥫����㠫�� ����� ��㣨� ���⭨��� 
 
39
                (���ਬ�� ���������, ��ॢ��稪)
 
40
dc:date         - ��� �㡫���樨 (�����᭮ dc-ᯥ�䨪�樨, � ����⢥ 
 
41
                �ଠ� ���� ��� ��� ��� ४��������� �ᯮ�짮���� 
 
42
                "yyyy-mm-dd")
 
43
dc:type         - ��⥣���, �������, ���� 
 
44
dc:format       - �ଠ� (���ਬ�� text/xml)
 
45
dc:identifier   - 㭨����� �����䨪��� (URI: url, ISBN � �. �.) 
 
46
dc:source       - ���筨��, �� ������ �த��஢��� ࠡ�� 
 
47
dc:language     - �� �।�⠢����� ᮤ�ন����
 
48
dc:relation     - 㪠�뢠�� �� ��� � ��㣨�� ����ᠬ� ��� ����뢠�� ����� 
 
49
                ��� ���� ������樨 
 
50
dc:coverage     - �������. ��� ���� �������, ॣ��� 
 
51
dc:rights       - Copyright
 
52
 
 
53
 
 
54
dcq (DC Qualifers)
 
55
------------------
 
56
<dc:something ... >
 
57
        <dcq:something ...> .... </dcq:something>
 
58
</dc:something>
 
59
 
 
60
 ��筥��� ��� �������� ⥣�� dc:
 
61
 * dc:descriptio
 
62
        dcq:Table of Contents
 
63
        dcq:Abstracet
 
64
 * dc:date
 
65
        dcq:Created
 
66
        dcq:Valid
 
67
        dcq:Available
 
68
        dcq:Issued
 
69
        dcq:Modified
 
70
 
 
71
 
 
72
Philosophy
 
73
----------
 
74
 �� ᠬ�� ���� �� ������ ���� �����࣠, RDF �᭮��� �� ����, ����饬 � 
 
75
 ���� ᫮��� ⠪:
 
76
        �� ������� �� ���設� ���, ����� ���������� - ॡ� ( �� ����⭮
 
77
        �� �� ���� � �� �� ������� ����� ���� � ॡ஬ � ���設�� )
 
78
        
 
79
        OK. ��ॢ�� �� �।�⠢����� ��䮢 � XML:
 
80
 
 
81
            B
 
82
        (A)--->(C)      (���� C ����� ���� �� ⮫쪮 ������⮬, �� ⥪�⮢�
 
83
                        ���祭��� (<A> ...text....</A>) �������.
 
84
 
 
85
        ����饬, �� ����� �������:
 
86
        <A>
 
87
          <B> C </B>
 
88
        </A>
 
89
 
 
90
        ����� ����      A ���뢠����      - subject (�������饥)
 
91
                        B               - predicate (verb, ᪠�㥬��)
 
92
                        C               - object (����������)
 
93
 
 
94
        ��� �믮����� ����� �ଠ �।�⠢����� (�ਯ��⠬�):
 
95
        <statement>
 
96
                <subject>A</subject>
 
97
                <predicate>B</predicate>
 
98
                <object>C</object>
 
99
        </statement>
 
100
 
 
101
        ����, ����� ᥡ� �।�⠢��� ᫥���騩 ���:
 
102
 
 
103
                   D        E
 
104
                 _____\(C) ____
 
105
                 |    /       |
 
106
                 |            |
 
107
                 |     C     \ /
 
108
                (A)--------->(B)
 
109
        
 
110
        
 
111
        ����饬 �. ���୥� �� ��� ����室�����
 
112