Skip to content

Instantly share code, notes, and snippets.

View situx's full-sized avatar

Timo situx

View GitHub Profile
@situx
situx / wikidatalexemetest.js
Created February 27, 2022 23:10
Wikidata Recogito Lexeme Test
class WikidataLexeme {
constructor(opt_config) {
this.name = opt_config?.name || 'WikidataLexeme';
this.config = opt_config;
}
query(query, globalConfig) {
return this.queryFiltered(query, globalConfig)
}
@situx
situx / ht-bib
Last active November 30, 2021 22:50
Bibliography for the poster publication Linked FAIR Cuneiform data - An overview on the Cuneiform (L)LOD Cloud
@inproceedings{mccrae2017ontolex,
title={The Ontolex-Lemon model: development and applications},
author={McCrae, John P and Bosque-Gil, Julia and Gracia, Jorge and Buitelaar, Paul and Cimiano, Philipp},
booktitle={Proceedings of eLex 2017 conference},
pages={19--21},
year={2017}
}
@article{chiarcos2015olia,
title={Olia--ontologies of linguistic annotation},
author={Chiarcos, Christian and Sukhareva, Maria},
query 19-2:
WKT: <http://www.opengis.net/def/crs/OGC/1.3/CRS84>POLYGON((-93.6 34.1,-93.6 34.5,-93.407852804032 36.450903220161,-92.838795325113 38.326834323651,-91.914696123025 40.055702330196,-90.671067811865 41.571067811865,-89.155702330196 42.814696123025,-87.426834323651 43.738795325113,-85.550903220161 44.307852804032,-83.6 44.5,-83.2 44.5,-81.249096779839 44.307852804032,-79.373165676349 43.738795325113,-77.644297669804 42.814696123025,-76.128932188135 41.571067811865,-74.885303876975 40.055702330196,-73.961204674887 38.326834323651,-73.392147195968 36.450903220161,-73.2 34.5,-73.2 34.1,-73.392147195968 32.149096779839,-73.961204674887 30.273165676349,-74.885303876975 28.544297669804,-76.128932188135 27.028932188135,-77.644297669804 25.785303876975,-79.373165676349 24.861204674887,-81.249096779839 24.292147195968,-83.2 24.1,-83.6 24.1,-85.550903220161 24.292147195968,-87.426834323651 24.861204674887,-89.155702330196 25.785303876975,-90.671067811865 27.028932188135,-91.914696123025 28.544297669804,-92.8
@situx
situx / triplestoreconf_personal.json
Created October 10, 2020 17:11
Triplestore configurations for NL triple stores
[
{
"name": "File",
"prefixes": "",
"endpoint": "",
"geoconceptquery": "SELECT DISTINCT ?class (count(?class) as ?count) WHERE { ?a rdf:type ?class . ?a <http://www.opengis.net/ont/geosparql#hasGeometry> ?a_geom .}",
"querytemplate": [
{
"label": "All Attributes",
"query": "SELECT DISTINCT ?item ?rel ?val ?wkt WHERE {\n ?item rdf:type <%%concept%%> .\n ?item ?rel ?val . \n OPTIONAL { ?val geo:asWKT ?wkt}\n}\n"
@situx
situx / gist:3daa9f9f2ad969111dcf6ddab66f9606
Created October 10, 2020 17:07
TripleStoreConf with NL triple stores
[
{
"name": "File",
"prefixes": "",
"endpoint": "",
"geoconceptquery": "SELECT DISTINCT ?class (count(?class) as ?count) WHERE { ?a rdf:type ?class . ?a <http://www.opengis.net/ont/geosparql#hasGeometry> ?a_geom .}",
"querytemplate": [
{
"label": "All Attributes",
"query": "SELECT DISTINCT ?item ?rel ?val ?wkt WHERE {\n ?item rdf:type <%%concept%%> .\n ?item ?rel ?val . \n OPTIONAL { ?val geo:asWKT ?wkt}\n}\n"