-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package not working anymore? #10
Comments
Looks like some functions work, but not others. library(citecorp)
doi1 <- "10.1108/jd-12-2013-0166"
oc_coci_cites(doi1) # works
oc_coci_refs(doi1) # works
oc_coci_meta(doi1) # works These use the REST endpoint. But these rely on SPARQL: oc_doi2ids(doi1) # 0 columns, 0 rows The same type of query pasted onto the https://opencitations.net/meta/sparql sandbox seems to work: PREFIX datacite: <http://purl.org/spar/datacite/>
PREFIX literal: <http://www.essepuntato.it/2010/06/literalreification/>
SELECT ?paper ?pmid ?pmcid ?value
WHERE {
{
?paper datacite:hasIdentifier [
datacite:usesIdentifierScheme datacite:doi ;
literal:hasLiteralValue ?value
] .
OPTIONAL {
?paper datacite:hasIdentifier [
datacite:usesIdentifierScheme datacite:pmid ;
literal:hasLiteralValue ?pmid
] .
}
OPTIONAL {
?paper datacite:hasIdentifier [
datacite:usesIdentifierScheme datacite:pmcid ;
literal:hasLiteralValue ?pmcid
] .
}
} .
VALUES ?value { "10.1093/biomet/80.3.527" }
} returning the following output {
"head" : {
"vars" : [ "paper", "pmid", "pmcid", "value" ]
},
"results" : {
"bindings" : [ {
"value" : {
"type" : "literal",
"value" : "10.1093/biomet/80.3.527"
},
"paper" : {
"type" : "uri",
"value" : "https://w3id.org/oc/meta/br/06250321084"
}
} ]
}
} But when the R package does it, the |
@rkrug I have just pushed a fix, which seems to work now for Neither |
Thanks - I actually need the function |
It seems that
citecorp
is not working anymore?See transcript below.
Rainer
The text was updated successfully, but these errors were encountered: