Skip to content

Commit

Permalink
More prep for CRAN release + augment docs
Browse files Browse the repository at this point in the history
References section in ?WDQS now has more links for learning SPARQL in
the context of Wikidata.
  • Loading branch information
bearloga committed Jan 17, 2017
1 parent cd55741 commit ad11aa6
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 4 deletions.
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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
13 changes: 11 additions & 2 deletions R/wdqs.R
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 6 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
15 changes: 13 additions & 2 deletions man/WDQS-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ad11aa6

Please sign in to comment.