You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many strings have datatype ^^xsd:string.
This is the default literal datatype and according to specs, it is redundant: eg modality "Texts" and "Texts"^^xsd:string are precisely the same literal.
However, Virtuoso doesn't treat them the same:
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
Uses two ontology prefixes. Would be better to use just one:
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.
Deploy YASGUI: it's a better SPARQL editor than Virtuoso's: prefix addition, code highlighting, ontology term autocompletion, viewing the query and results together.
Add to the repo all prefixes from the diagram so they are used in the response.
Eg here is a saved query that defines all relevant prefixes, so the "property" column in the response is short
Add your two prefixes to https://prefix.cc, so YasGUI knows about them.
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. Unlike dbo:, these are the "raw" DBpedia props coming from English Wikipedia.
Eg dbp:area is completely inappropriate since it expresses the acreage of some land, not an area of research.
The correct namespace for dbp: uses http, as you can see at https://prefix.cc/dbp . However, you define it to use https
As a result, if you convert linkedpaperswithcode-ontology.owl to ttl, you see long URLs:
@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 .
The text was updated successfully, but these errors were encountered:
^^xsd:string
.This is the default literal datatype and according to specs, it is redundant: eg modality
"Texts"
and"Texts"^^xsd:string
are precisely the same literal.However, Virtuoso doesn't treat them the same:
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: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:string
if 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:area
is 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 usehttps
As a result, if you convert linkedpaperswithcode-ontology.owl to ttl, you see long URLs:
The text was updated successfully, but these errors were encountered: