Serialises a reviewed Betwixt dataset as RDF Turtle.
Usage
serialise_review(
review,
prefix,
filename,
title = NULL,
description = NULL,
reviewer_iri = NULL
)
serialize_review(
review,
prefix,
filename,
title = NULL,
description = NULL,
reviewer_iri = NULL
)Arguments
- review
A Betwixt review object returned by
read_review().- prefix
Base IRI for generated resources.
- filename
Filename identifying the serialised dataset.
- title
Optional dataset title.
- description
Optional dataset description.
- reviewer_iri
Optional persistent IRI identifying the reviewer.
Examples
path <- system.file(
"examples",
"muis-garments-review_1-finalised.html",
package = "betwixt"
)
review <- read_review(path)
ttl <- serialise_review(
review,
prefix = "https://usebetwixt.com/examples/",
filename = "muis-garments-review.ttl",
title = "MuIS garment terminology review",
description = "Reviewed terminology assertions for three MuIS garments."
)
cat(ttl)
#> @prefix btx: <https://usebetwixt.com/ns/> .
#> @prefix schema: <https://schema.org/> .
#> @prefix prov: <http://www.w3.org/ns/prov#> .
#> @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
#> @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate>
#> a schema:Dataset
#> ; schema:name "MuIS garment terminology review"
#> ; schema:description "Reviewed terminology assertions for three MuIS garments."
#> ; prov:wasGeneratedBy <https://usebetwixt.com/examples/muis-garments-review/candidate-activity>
#> ; btx:assertion <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/1>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/2>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/3>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/4>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/5>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/6>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/7>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/8>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/9>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/10>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/11>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/12>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/13>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/14>, <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/15> .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1>
#> a schema:Dataset
#> ; schema:name "MuIS garment terminology review"
#> ; schema:description "Reviewed terminology assertions for three MuIS garments."
#> ; prov:wasGeneratedBy <https://usebetwixt.com/examples/muis-garments-review/activity>
#> ; prov:wasDerivedFrom <https://usebetwixt.com/examples/muis-garments-review/candidate>
#> ; btx:assertion <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/1>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/2>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/3>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/4>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/5>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/6>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/7>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/8>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/9>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/10>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/11>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/12>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/13>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/14>, <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/15> .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate-activity>
#> a prov:Activity
#> ; prov:wasAssociatedWith <https://usebetwixt.com/examples/muis-garments-review/data-manager>
#> ; prov:endedAtTime "2026-09-10T16:20:53Z"^^xsd:dateTime .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/data-manager>
#> a prov:Agent
#> ; rdfs:label "NA" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/activity>
#> a prov:Activity
#> ; prov:wasAssociatedWith <https://orcid.org/0000-0001-7513-6760>
#> ; prov:wasInformedBy <https://usebetwixt.com/examples/muis-garments-review/candidate-activity>
#> ; prov:startedAtTime "2026-09-10T16:21:13Z"^^xsd:dateTime
#> ; prov:endedAtTime "2026-09-10T17:29:39Z"^^xsd:dateTime .
#>
#> <https://orcid.org/0000-0001-7513-6760>
#> a prov:Agent
#> ; rdfs:label "Daniel Antal" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/1>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "label"
#> ; btx:value "sweater, women's" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/2>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "description"
#> ; btx:value "MuIS museum record 635780." .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/3>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "alternative_label"
#> ; btx:value "női kardigán" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/4>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "alternative_description"
#> ; btx:value "A MuIS 635780 számú múzeumi rekordja." .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/5>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "depicts"
#> ; btx:value "300209900" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/6>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "label"
#> ; btx:value "gloves" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/7>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "description"
#> ; btx:value "MuIS museum record 633053." .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/8>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "alternative_label"
#> ; btx:value "kesztyű" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/9>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "alternative_description"
#> ; btx:value "A MuIS 633053 számú múzeumi rekordja." .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/10>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "depicts"
#> ; btx:value "300148821" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/11>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "label"
#> ; btx:value "shirt, women's" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/12>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "description"
#> ; btx:value "MuIS museum record 635778." .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/13>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "alternative_label"
#> ; btx:value "női ing" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/14>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "alternative_description"
#> ; btx:value "A MuIS 635778 számú múzeumi rekordja." .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/candidate/assertion/15>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "depicts"
#> ; btx:value "300212499" .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/1>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "label"
#> ; btx:value "sweater, women's"
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/2>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "description"
#> ; btx:value "MuIS museum record 635780."
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/3>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "alternative_label"
#> ; btx:value "női pulóver"
#> ; btx:status btx:Corrected .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/4>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "alternative_description"
#> ; btx:value "A MuIS 635780 számú múzeumi rekordja."
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/5>
#> a btx:Assertion
#> ; btx:rowNumber 1
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=ebc07930-f719-44f2-a108-6698bcecc20b"
#> ; btx:predicate "depicts"
#> ; btx:value "300209900"
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/6>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "label"
#> ; btx:value "gloves"
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/7>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "description"
#> ; btx:value "MuIS museum record 633053."
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/8>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "alternative_label"
#> ; btx:value "kesztyű"
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/9>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "alternative_description"
#> ; btx:value "A MuIS 633053 számú múzeumi rekordja."
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/10>
#> a btx:Assertion
#> ; btx:rowNumber 2
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=6440f24f-eaad-4cd4-84d7-1ae7a9d44d5a"
#> ; btx:predicate "depicts"
#> ; btx:value "300148821"
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/11>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "label"
#> ; btx:value "shirt, women's"
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/12>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "description"
#> ; btx:value "MuIS museum record 635778."
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/13>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "alternative_label"
#> ; btx:value "női ing"
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/14>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "alternative_description"
#> ; btx:value "A MuIS 635778 számú múzeumi rekordja."
#> ; btx:status btx:Corroborated .
#>
#> <https://usebetwixt.com/examples/muis-garments-review/reviewed-1/assertion/15>
#> a btx:Assertion
#> ; btx:rowNumber 3
#> ; btx:subject "https://www.muis.ee/digitaalhoidla/api/meedia/pisipilt?id=826c402e-c130-4860-b11e-9538bd403ecf"
#> ; btx:predicate "depicts"
#> ; btx:value "300212499"
#> ; btx:status btx:Corroborated .
