Commit d6bbb2bd authored by Mark Jordan's avatar Mark Jordan
Browse files

Updated README.

parent db10a631
......@@ -51,7 +51,7 @@ BagItLD provide a simple RDF syntax that is compatible with the structure of bag
## Implementation
The Bag is a blank node and is assumed to be the subject of the RDF statement. If it is the object of an RDF statement, it must be referenced using `[]` (we use the SPARQL `[]` to refernce blank nodes; we can't use `_:b` because of colon has structural meaning within bag-info.txt).
The Bag is a blank node and is assumed to be the subject of the RDF statement. If it is the object of an RDF statement, it must be referenced using `[]` (we use SPARQL's `[]` to refernce blank nodes; we can't use `_:b` because of colon has structural significance within bag-info.txt).
BagiItLD provides shorthand for RDF vocabularies through "suffixes". Suffixes associate a vocabulary with a suffix that is used within the tags in the same bag-info.txt file, much like XML namespace declarations associate namespace prefixes with namespace URIs. Suffixing is accomplished by tags that start with "bagitldsuffix@" and end in a locally defined suffix. The value of a bagitldsuffix tag is the namespace to be represented by the suffix. The suffix then can be used in the tags as shorthand for properties from the vocabulary in the form `property@suffix`.
......@@ -73,12 +73,13 @@ In this example, the 'dc' suffix constrains 'Title', 'Date', and 'Subject' to th
### N-Triples
```
_: <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.openarchives.org/ore/terms/Aggregation> .
_: <http://purl.org/dc/terms/title> "I am a title" .
_: <http://purl.org/dc/terms/date> 2017-06-20 .
_: <http://purl.org/dc/terms/subject> "Testing stuff" .
_: <http://purl.org/dc/terms/subject> "Linked Data" .
```
### JSON-LD
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment