This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# From the folder where your Dockerfile is stored: | |
# docker build --platform linux/amd64 -t rvt2 . | |
# once the build is done, try tro run the evaluation tool: | |
# docker run --rm rvt | |
# or create a container and run this command (and others per README from the RVT project): | |
# docker run -it --rm rvt | |
# python eval.py --model-folder runs/rvt2 --eval-datafolder ./data/test --tasks all --eval-episodes 25 --log-name test/1 --device 0 --headless --model-name model_99.pth && \ | |
FROM nvidia/cuda:12.9.0-cudnn-devel-ubuntu24.04 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX sdo: <https://schema.org/> | |
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |
SELECT ?widgetImage ?widgetLabel ?widgetLabelLink ?widgetImageLink ?widgetDescription WHERE { | |
?collectieItem sdo:image [sdo:thumbnail ?thumbnail; sdo:url ?image] ; sdo:name ?name; sdo:identifier ?identifier; sdo:description ?widgetDescription . | |
filter(contains(lcase(?name), "mondriaan")) | |
bind(concat('https://api.triplydb.com/queries/Axiell/IIIF-Manifest/run?identifier=', str(?identifier)) as ?manifestUrl) | |
bind(?name as ?widgetLabel). | |
bind(?image as ?widgetImage) | |
bind(concat('https://projectmirador.org/embed/?iiif-content=', str(?manifestUrl)) as ?widgetLabelLink) | |
bind(?widgetLabelLink as ?widgetImageLink) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"be": "http://ex.com/Belgium", | |
"nl": "http://ex.com/Netherlands", | |
"de": "http://ex.com/Germany", | |
"en": "http://ex.com/England" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const yasgui = new Yasgui(document.getElementById('yasgui'), { | |
autofocus: true, | |
copyEndpointOnNewTab: false, | |
persistenceId: () => "pldn-osm", // change this to a different string to bust the yasgui cache for all users | |
endpointCatalogueOptions: { | |
getData: () => { | |
return [ | |
{ endpoint: 'https://api.triplydb.com/datasets/osm/osm/services/osm/sparql' }, | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX sh: <http://www.w3.org/ns/shacl#> | |
PREFIX memorix: <http://memorix.io/ontology#> | |
PREFIX sh: <http://www.w3.org/ns/shacl#> | |
PREFIX schema: <http://schema.org/> | |
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX dc: <http://purl.org/dc/elements/1.1/> | |
SELECT ?identifier ?labelNL ?commentNL | |
FROM <http://example.memorix.io/resources/recordtypes> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@prefix dash: <http://datashapes.org/dash#> . | |
@prefix schema: <http://schema.org/> . | |
@prefix dc: <http://purl.org/dc/elements/1.1/> . | |
@prefix dct: <http://purl.org/dc/terms/> . | |
@prefix html: <http://www.w3.org/1999/xhtml/> . | |
@prefix memorix: <http://memorix.io/ontology#> . | |
@prefix Event: </resources/recordtypes/Event#> . | |
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | |
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | |
@prefix recordtypes: </resources/recordtypes/> . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rico="https://www.ica.org/standards/RiC/ontology#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:dc="http://purl.org/dc/elements/1.1/"> | |
<owl:Ontology rdf:about="https://www.ica.org/standards/RiC/ontology"> | |
<dc:contributor xml:lang="nl">Nederlandse vertaling: Stadsarchief Amsterdam</dc:contributor> | |
<dc:contributor xml:lang="nl">Nederlandse vertaling: Mark Lindeman</dc:contributor> | |
</owl:Ontology> | |
<rdf:Description rdf:about="https://www.ica.org/standards/RiC/ontology#Thing"> | |
<rdfs:label xml:lang="nl">Iets</rdfs:label> | |
<rdfs:comment xml:lang="nl">Elk idee, materieel ding of gebeurtenis binnen het domein van de menselijke ervaring.</rdfs:comment> | |
<skos:example xml:lang="nl">Vliegtuig, impressionisme, renaissance, slavernij, Franse Revolutie</skos:example> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Line parser to convert Geonames TXT downloads to Turtle. | |
* | |
* You can download TXT files (zipped) from Geonames download server: | |
* https://download.geonames.org/export/dump/ | |
* Download per country (XX.zip) or allCountries.zip | |
* A progressbar is printed to STDERR, if you set the `--validate` flag, e.g.: | |
* php ./txttottl.php NL.txt BE.txt --validate | |
* |