Eg foaf:name values are printed with a long ugly datatype, so eg I had to do this to have them printed as a simple string:
?task a lpwcc:task; foaf:name ?name1
bind(str(?name1) as ?name)
Eg if you're looking for Text datasets, you have to write like this. If you omit the datatype, nothing is found
?dataset a lpwcc:dataset; lpwc:modality "Texts"^^xsd:string
So please: change the mapping to NOT emit ^^xsd:string if possible
PREFIX lpwc: <https://linkedpaperswithcode.com/property/>
PREFIX lpwcc: <https://linkedpaperswithcode.com/class/>
<https://linkedpaperswithcode.com/task/analogy-questions-bats>
rdfs:seeAlso <https://paperswithcode.com/task/analogy-questions-bats>
Actually it's very easy to go from the semantic URL to the web URL (just remove the word "linked"), but it would be nicer to have a link as well.
https://yasgui.triply.cc/ can be used with the https://linkedpaperswithcode.com/sparql endpoint without any problem, see query link below, and more in #1 and #2
Eg here is a saved query that defines all relevant prefixes, so the "property" column in the response is short
I've added https://prefix.cc/lpwc (should appear shortly), but can add only 1 per day: add the other one
The idea to reuse ontologies is a good one, but you should reuse only appropriate ontologies.
@prefix dbp: <http://dbpedia.org/property/> . # NOT used below
<https://dbpedia.org/property/acronym>
rdf:type owl:DatatypeProperty ;
rdfs:domain <https://linkedpaperswithcode.com/class/conference> ;
rdfs:range xsd:string .
^^xsd:string.This is the default literal datatype and according to specs, it is redundant: eg modality
"Texts"and"Texts"^^xsd:stringare precisely the same literal.However, Virtuoso doesn't treat them the same:
Eg
foaf:namevalues are printed with a long ugly datatype, so eg I had to do this to have them printed as a simple string:Eg if you're looking for Text datasets, you have to write like this. If you omit the datatype, nothing is found
So please: change the mapping to NOT emit
^^xsd:stringif possibleWould be better to use Capitalized; else fix the diagram
Actually it's very easy to go from the semantic URL to the web URL (just remove the word "linked"), but it would be nicer to have a link as well.
https://yasgui.triply.cc/ can be used with the https://linkedpaperswithcode.com/sparql endpoint without any problem, see query link below, and more in #1 and #2
Eg here is a saved query that defines all relevant prefixes, so the "property" column in the response is short
I've added https://prefix.cc/lpwc (should appear shortly), but can add only 1 per day: add the other one
The idea to reuse ontologies is a good one, but you should reuse only appropriate ontologies.
Don't use
dbp:properties. Unlikedbo:, these are the "raw" DBpedia props coming from English Wikipedia.Eg
dbp:areais completely inappropriate since it expresses the acreage of some land, not an area of research.The correct namespace for
dbp:useshttp, as you can see at https://prefix.cc/dbp . However, you define it to usehttpsAs a result, if you convert linkedpaperswithcode-ontology.owl to ttl, you see long URLs: