a. Warunek
Compact URI prefixes:
bks expands into http://example.com/books#
auth expands into http://example.com/authors#
cpt expands into http://example.com/concepts#
curr expands into http://example.com/currencies#
RIF condition:
And (Exists ?Buyer ?P (
?P#"cpt:purchase"^^rif:iri["cpt:buyer"^^rif:iri->?Buyer
"cpt:seller"^^rif:iri->?Seller
"cpt:item"^^rif:iri->"cpt:book"^^rif:iri(cpt:author->?Author
cpt:title->"bks:LeRif"^^rif:iri)
"cpt:price"^^rif:iri->"49"^^xsd:integer
"cpt:currency"^^rif:iri->"curr:USD"^^rif:iri])
?Seller=?Author)
b. Serializacja XML
Buyer
P
cpt:buyer
Buyer
cpt:seller
Seller
cpt:item
cpt:book
cpt:author
Author
cpt:title
bks:LeRif
cpt:price
49
cpt:currency
curr:USD
Seller
Author
[[pl:miw:miw08_xtt_rif|Powrót do dokumentu]]