Skip to content

Commit

Permalink
conditional vignette
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Jan 3, 2022
1 parent 8aaaa40 commit a651c59
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 0 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ Description: The Resource Description Framework, or 'RDF' is a widely used
interface takes inspiration from the Python 'rdflib' library.
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
URL: https://github.com/ropensci/rdflib
BugReports: https://github.com/ropensci/rdflib/issues
Imports:
Expand Down
11 changes: 6 additions & 5 deletions vignettes/rdf_intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ vignette: >

```{r include=FALSE}
options(rdf_print_format = "nquads")
is_linux <- Sys.info()["sysname"] == "Linux"
knitr::opts_chunk$set(eval=is_linux)
```

In the world of data science, RDF is a bit of an ugly duckling. Like XML and Java, only without the massive-adoption-that-refuses-to-die part. In fact RDF is most frequently expressed in XML, and RDF tools are written in Java, which help give RDF has the aesthetics of *steampunk*, of some technology for some futuristic Semantic Web[^1] in a toolset that feels about as lightweight and modern as iron dreadnought.
Expand Down Expand Up @@ -393,8 +395,7 @@ rdf_query(rdf, sparql)
```


## Multi-table queries & non-rectangular data

In the following vignette, "The Data Lake and Schema On Read," we explore more complex examples with multiple tables from a relational database and nested JSON data. These highlight the power of SPARQL as a *Graph* query language.


```{r include=FALSE}
unlink("rdf.nq")
unlink("example.json")
```

0 comments on commit a651c59

Please sign in to comment.