Select All That Has The Same Prefix SPARQL -


this question has answer here:

i return triples subjects have same prefix.

prefix dv: <http://example.org/example_vocabulary:>  select distinct * <http://example.org/dataset.example> {     ?s ?p ?o . } 

you should treat uri string , filter variable based on need. since looking prefix, can use strstarts. example, along these lines work:

prefix dv: <http://example.org/example_vocabulary> select distinct * <http://example.org/dataset.example> {     ?s ?p ?o .     filter strstarts(str(?s),str(dv:)) } 

you should read on string function.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -