Highlighting a passage in a PDF
A QuoteAction for a highlight made in Zotero's PDF reader. Its result is the Quotation: the highlighted text as body, its color and annotationStyle, and its position as a PageSelector, with the page number as selectorValue and the printed page label as selectorLabel. The quotation is part of the PDF it was made in, which is the same entity as the Article it belongs to (sameAs).
{
"@type": "QuoteAction",
"@key": ["@type", "source", "result.sourceId", "result.inRealm.handle"],
"source": "zotero",
"timestamp": "2025-01-11T09:00:00.000Z",
"agent": {
"@type": "Person",
"@key": ["@type", "source", "sourceId"],
"source": "zotero",
"sourceId": "LuK3xAmp",
"sameAs": ["@me"]
},
"result": {
"@type": "Quotation",
"@key": ["@type", "source", "sourceId", "inRealm.handle"],
"source": "zotero",
"sourceId": "ANNOPDF1",
"inRealm": {
"@type": "Realm",
"@key": ["@type", "source", "handle"],
"source": "zotero",
"handle": "7654321"
},
"body": "Erosion doubles on wet days.",
"color": "#ffd400",
"annotationStyle": "highlight",
"isPartOf": [
{
"@type": "DocumentObject",
"@key": ["source", "sourceId", "inRealm.handle"],
"source": "zotero",
"sourceId": "ATTPDF01",
"inRealm": {
"@type": "Realm",
"@key": ["@type", "source", "handle"],
"source": "zotero",
"handle": "7654321"
},
"sameAs": [
{
"@type": "Article",
"@key": ["source", "sourceId", "inRealm.handle"],
"source": "zotero",
"sourceId": "WORKAAAA",
"inRealm": {
"@type": "Realm",
"@key": ["@type", "source", "handle"],
"source": "zotero",
"handle": "7654321"
},
"name": "Trail Erosion in Alpine Meadows"
}
]
}
],
"selector": [
{
"@type": "PageSelector",
"@key": ["@type", "selectorValue"],
"selectorValue": "12",
"selectorLabel": "12"
}
]
}
}{
"@context": {
"@vocab": "https://schema.chronicle.app/",
"doc": "https://schema.chronicle.app/docs/"
},
"@type": "QuoteAction",
"doc:key": {
"@list": ["@type", "source", "result.sourceId", "result.inRealm.handle"]
},
"source": "zotero",
"timestamp": {
"@value": "2025-01-11T09:00:00.000Z",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"agent": {
"@type": "Person",
"doc:key": {
"@list": ["@type", "source", "sourceId"]
},
"source": "zotero",
"sourceId": "LuK3xAmp",
"sameAs": ["@me"]
},
"result": {
"@type": "Quotation",
"doc:key": {
"@list": ["@type", "source", "sourceId", "inRealm.handle"]
},
"source": "zotero",
"sourceId": "ANNOPDF1",
"inRealm": {
"@type": "Realm",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "zotero",
"handle": "7654321"
},
"body": "Erosion doubles on wet days.",
"color": "#ffd400",
"annotationStyle": "highlight",
"isPartOf": [
{
"@type": "DocumentObject",
"doc:key": {
"@list": ["source", "sourceId", "inRealm.handle"]
},
"source": "zotero",
"sourceId": "ATTPDF01",
"inRealm": {
"@type": "Realm",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "zotero",
"handle": "7654321"
},
"sameAs": [
{
"@type": "Article",
"doc:key": {
"@list": ["source", "sourceId", "inRealm.handle"]
},
"source": "zotero",
"sourceId": "WORKAAAA",
"inRealm": {
"@type": "Realm",
"doc:key": {
"@list": ["@type", "source", "handle"]
},
"source": "zotero",
"handle": "7654321"
},
"name": "Trail Erosion in Alpine Meadows"
}
]
}
],
"selector": [
{
"@type": "PageSelector",
"doc:key": {
"@list": ["@type", "selectorValue"]
},
"selectorValue": "12",
"selectorLabel": "12"
}
]
}
}@prefix : <https://schema.chronicle.app/> .
@prefix doc: <https://schema.chronicle.app/docs/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
[
a :QuoteAction;
doc:key ("@type" "source" "result.sourceId" "result.inRealm.handle");
:source "zotero";
:timestamp "2025-01-11T09:00:00.000Z"^^xsd:dateTime;
:agent [
a :Person;
doc:key ("@type" "source" "sourceId");
:source "zotero";
:sourceId "LuK3xAmp";
:sameAs "@me"
];
:result [
a :Quotation;
doc:key ("@type" "source" "sourceId" "inRealm.handle");
:source "zotero";
:sourceId "ANNOPDF1";
:inRealm [
a :Realm;
doc:key ("@type" "source" "handle");
:source "zotero";
:handle "7654321"
];
:body "Erosion doubles on wet days.";
:color "#ffd400";
:annotationStyle "highlight";
:isPartOf [
a :DocumentObject;
doc:key ("source" "sourceId" "inRealm.handle");
:source "zotero";
:sourceId "ATTPDF01";
:inRealm [
a :Realm;
doc:key ("@type" "source" "handle");
:source "zotero";
:handle "7654321"
];
:sameAs [
a :Article;
doc:key ("source" "sourceId" "inRealm.handle");
:source "zotero";
:sourceId "WORKAAAA";
:inRealm [
a :Realm;
doc:key ("@type" "source" "handle");
:source "zotero";
:handle "7654321"
];
:name "Trail Erosion in Alpine Meadows"
]
];
:selector [
a :PageSelector;
doc:key ("@type" "selectorValue");
:selectorValue "12";
:selectorLabel "12"
]
]
] .
Terms in this example
ArticlePageSelectorQuotationQuoteActionannotationStylecolorselectorselectorLabelselectorValue