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
Let us organise statements into a table of *s* subject, *p* predicate and *o* object:
38
38
39
39
```{r tdfdef, results='asis'}
40
-
tdf <- data.frame (s = c("eg:01","eg:02", "eg:01", "eg:02", "eg:01" ),
41
-
p = c("a", "a", "eg-var:", "eg-var:", "rdfs:label"),
42
-
o = c("qb:Observation",
43
-
"qb:Observation",
44
-
"\"1\"^^<xs:decimal>",
45
-
"\"2\"^^<xs:decimal>",
46
-
'"Example observation"')
47
-
)
40
+
tdf <- data.frame(
41
+
s = c("eg:01", "eg:02", "eg:01", "eg:02", "eg:01"),
42
+
p = c("a", "a", "eg-var:", "eg-var:", "rdfs:label"),
43
+
o = c(
44
+
"qb:Observation",
45
+
"qb:Observation",
46
+
"\"1\"^^<xs:decimal>",
47
+
"\"2\"^^<xs:decimal>",
48
+
'"Example observation"'
49
+
)
50
+
)
48
51
49
52
knitr::kable(tdf)
50
53
```
51
54
52
55
The Turtle serialisation is this, written into an `example_file`. The parameter `ttl_namespace = NULL` results in using the default prefixes of the dataset package.
0 commit comments