Given an RDF dataset, I would like to add prefixes declaration to it based on prefix.cc data.
For this I download http://prefix.cc/popular/all.file.ttl
That file does not contain the vote counts, and just lists all prefixes known. I would like to use only the most upvoted prefix for each given URI. How can I achieve this ?
What I need is : given a URI, give me the most upvoted prefix for that URI.
Right now I get strange things if I try with http://purl.org/dc/terms/, I get to http://prefix.cc/dc, because (I think) it is the first in alphabetical order that is mapped to http://purl.org/dc/terms/, but this is highly confusing as this is generally used for "simple Dublin Core", not dcterms.
BTW prefix.cc has been a daily working tool for me since years; so big big thanks !
Given an RDF dataset, I would like to add prefixes declaration to it based on prefix.cc data. For this I download http://prefix.cc/popular/all.file.ttl
That file does not contain the vote counts, and just lists all prefixes known. I would like to use only the most upvoted prefix for each given URI. How can I achieve this ?
What I need is : given a URI, give me the most upvoted prefix for that URI. Right now I get strange things if I try with http://purl.org/dc/terms/, I get to http://prefix.cc/dc, because (I think) it is the first in alphabetical order that is mapped to http://purl.org/dc/terms/, but this is highly confusing as this is generally used for "simple Dublin Core", not dcterms.
BTW prefix.cc has been a daily working tool for me since years; so big big thanks !