Talk:PROV OWL ontology components

From Provenance WG Wiki
Jump to: navigation, search

Generating the class list

To generate the bullet list in #Class components, cd to working copy of http://dvcs.w3.org/hg/prov/file/tip/ontology/components and run:

ls [A-Z]*.ttl | sed 's/.ttl$//' | sort | awk '{printf("* ontology/components/%s.ttl describes the owl:Class prov:%s (examples at components/%s/)\n",$1,$1,$1,$1,$1,$1)}'

Generating the property list

To generate the bullet list in #Property components, cd to working copy of http://dvcs.w3.org/hg/prov/file/tip/ontology/components and run:

ls [a-z]*.ttl | grep -v "nothing.ttl" | sed 's/.ttl$//' | sort | awk '{printf("* components/%s.ttl describes the property prov:%s (examples at %s/)\n",$1,$1,$1,$1,$1,$1)}'