From ad11aa620a93e05c00228cad0822b617e0f1b0cf Mon Sep 17 00:00:00 2001 From: Mikhail Popov Date: Tue, 17 Jan 2017 12:21:05 -0800 Subject: [PATCH] More prep for CRAN release + augment docs References section in ?WDQS now has more links for learning SPARQL in the context of Wikidata. --- NEWS.md | 6 ++++++ R/wdqs.R | 13 +++++++++++-- cran-comments.md | 6 ++++++ man/WDQS-package.Rd | 15 +++++++++++++-- 4 files changed, 36 insertions(+), 4 deletions(-) create mode 100644 NEWS.md diff --git a/NEWS.md b/NEWS.md new file mode 100644 index 0000000..10b0afa --- /dev/null +++ b/NEWS.md @@ -0,0 +1,6 @@ +WikidataQueryServiceR 0.1.0 +--------------------------- + +* Initial CRAN release: + - Support for multiple SPARQL queries + - Support for scraping example SPARQL queries via Suggested packages diff --git a/R/wdqs.R b/R/wdqs.R index 06d7cb9..9a3486d 100644 --- a/R/wdqs.R +++ b/R/wdqs.R @@ -1,10 +1,19 @@ #' @title WikidataQueryServiceR: An R Wrapper For Wikidata Query Service API #' @description This is an R wrapper for the -#' \href{https://www.mediawiki.org/wiki/Wikidata_query_service}{Wikidata Query Service} -#' (WDQS) which provides a way for tools to query Wikidata via SPARQL. +#' \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service}{Wikidata Query Service} +#' (WDQS) which provides a way for tools to query Wikidata via +#' \href{https://en.wikipedia.org/wiki/SPARQL}{SPARQL}. +#' @details \href{https://www.mediawiki.org/wiki/Wikidata_query_service}{Wikidata Query Service} +#' is maintained by Wikimedia Foundation's \href{https://www.mediawiki.org/wiki/Wikimedia_Discovery}{Discovery} +#' Department. #' @references \itemize{ #' \item \href{https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual}{WDQS User Manual} #' \item \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples}{SPARQL Query Examples} for WDQS +#' \item \href{http://programminghistorian.org/lessons/graph-databases-and-SPARQL}{Using SPARQL to access Linked Open Data} +#' by Matthew Lincoln +#' \item Interesting or illustrative \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries}{SPARQL queries} +#' for Wikidata +#' \item Wikidata \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/2016_SPARQL_Workshop}{2016 SPARQL Workshop} #' } #' @aliases WDQS #' @docType package diff --git a/cran-comments.md b/cran-comments.md index a92b1ff..729a6da 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -16,6 +16,12 @@ New submission Possibly mis-spelled words in DESCRIPTION: API (2:8, 9:17) + +Found the following (possibly) invalid URLs: + URL: https://cran.r-project.org/package=WikidataQueryServiceR + From: README.md + Status: 404 + Message: Not Found ``` ## R-hub Builder results diff --git a/man/WDQS-package.Rd b/man/WDQS-package.Rd index 767401d..49a777f 100644 --- a/man/WDQS-package.Rd +++ b/man/WDQS-package.Rd @@ -7,13 +7,24 @@ \title{WikidataQueryServiceR: An R Wrapper For Wikidata Query Service API} \description{ This is an R wrapper for the - \href{https://www.mediawiki.org/wiki/Wikidata_query_service}{Wikidata Query Service} - (WDQS) which provides a way for tools to query Wikidata via SPARQL. + \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service}{Wikidata Query Service} + (WDQS) which provides a way for tools to query Wikidata via + \href{https://en.wikipedia.org/wiki/SPARQL}{SPARQL}. +} +\details{ +\href{https://www.mediawiki.org/wiki/Wikidata_query_service}{Wikidata Query Service} + is maintained by Wikimedia Foundation's \href{https://www.mediawiki.org/wiki/Wikimedia_Discovery}{Discovery} + Department. } \references{ \itemize{ \item \href{https://www.mediawiki.org/wiki/Wikidata_query_service/User_Manual}{WDQS User Manual} \item \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples}{SPARQL Query Examples} for WDQS + \item \href{http://programminghistorian.org/lessons/graph-databases-and-SPARQL}{Using SPARQL to access Linked Open Data} + by Matthew Lincoln + \item Interesting or illustrative \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries}{SPARQL queries} + for Wikidata + \item Wikidata \href{https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/2016_SPARQL_Workshop}{2016 SPARQL Workshop} } }