rdflib.js icon indicating copy to clipboard operation
rdflib.js copied to clipboard

Documentation examples how to use the library

Open elmeerr opened this issue 5 months ago • 10 comments

Hi,

I was suggested to use this library in order to read a TTL and apply a SPARQL on it. This is basically the first time I ever heard of SPARQL / TTL files so, maybe for that reason I can't read the available documentation, I mean...the docs talks a lot about RDF, about turtles and so but I could not find a single example of library usage.

Is there anyone who has an example showing use cases of reading a ttl or using the query function for example? Apparently it would be way more easier to get information out of a TTL file by using this method. Right now my only option is to use N3 library and read the parsed data, one by one and extract the information I need based on IF/ELSE...it can be done but not ideal if there is an alternative where I could just use a SPARQL which would give me what I need fro a TTL file.

Thanks in advance,

elmeerr avatar Sep 20 '24 14:09 elmeerr