The task: Map a title to each resource using anything you can get on MacOSX or Linux.
Solution: The RDF description in JeromeDL is exported using ntriples format. Which means - one statement per line. Therefore a solution is a very simple workflow:
- find the RDF files
- prepare grep command
- execute
Which on any UNIX system will translate into:
find . -name "rdf.abstract.ntriples" | awk '{print "grep \"xontology#hasTitle\"",$0}' | sh -
Teaser: Try to do that spending only as little time as I did with either RDF/XML serialization or/and Windows. Good luck.
No comments:
Post a Comment