This file contains 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 owl: <http://www.w3.org/2002/07/owl#> | |
PREFIX pc: <http://purl.org/procurement/public-contracts#> | |
INSERT { | |
GRAPH <http://example.com/inverse-functional-links> { | |
?s1 owl:sameAs ?s2 . | |
} | |
} | |
WHERE { | |
{ |
This file contains 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 pc: <http://purl.org/procurement/public-contracts#> | |
DELETE { | |
?s pc:buyerProfile ?o . | |
} | |
INSERT { | |
?s pc:profile ?o . | |
} | |
WHERE { | |
?s pc:buyerProfile ?o . |
This file contains 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 pc: <http://purl.org/procurement/public-contracts#> | |
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | |
DELETE { | |
?s ?p ?o . | |
} | |
WHERE { | |
{ | |
SELECT DISTINCT ?p |
This file contains 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
xquery version "3.0"; | |
declare default element namespace "http://www.loc.gov/MARC21/slim"; | |
declare option saxon:output "omit-xml-declaration=yes"; | |
declare option saxon:output "method=text"; | |
declare variable $records := /collection/record; | |
declare variable $total := count($records); | |
string-join( |
This file contains 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import os, sys | |
from PIL import Image | |
def get_red_green_balance(filename): | |
im = Image.open(filename) | |
r, g = reduce(lambda c1, c2: [c1[0] + c2[0], c1[1] + c2[1]], im.getdata(), [0, 0]) | |
percent = (r + g) / 100.0 |
This file contains 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 ex: <http://example.com/> . | |
@prefix qb: <http://purl.org/linked-data/cube#> . | |
@prefix sdmx-dimension: <http://purl.org/linked-data/sdmx/2009/dimension#> . | |
@prefix skos: <http://www.w3.org/2004/02/skos/core#> . | |
# Individual observations | |
[] a qb:Observation; | |
sdmx-dimension:refPeriod <http://reference.data.gov.uk/id/gregorian-interval/2004-01-01T00:00:00/P1M> ; | |
ex:measure 101.1 . |
This file contains 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
var APP = { | |
// Definition of the Křovák projection | |
// EPSG:102067 instead of EPSG:5514 needs to be used with IPR's WMS. | |
crs: new L.Proj.CRS("EPSG:102067", | |
"+proj=krovak +lat_0=49.5 +lon_0=24.83333333333333 " | |
+ "+alpha=30.28813972222222 +k=0.9999 +x_0=0 +y_0=0 " | |
+ "+ellps=bessel +towgs84=589,76,480,0,0,0,0 +units=m " | |
+ "+no_defs", | |
{origin: [-951499.37, -930499.37], | |
// The difficult part |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Stánkoví a pouliční prodavači potravin - Eurec-prace.cz</title> | |
</head> | |
<body> | |
<!-- Zdroj: http://www.eurec-prace.cz/cz/mesto-chudcice/stankovi-a-poulicni-prodavaci-potravin-nabidka-prace-v-ceske-republice/nabidka-prace.html?id=651847 --> | |
<h1>Stánkoví a pouliční prodavači potravin</h1> | |
<table> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Výdej obědů</title> | |
</head> | |
<body> | |
<!-- Zdroj: http://flek.cz/nabidka/vydej-obedu/18639 --> | |
<h1>Výdej obědů</h1> | |
<p>Hledáme paní pro výdej obědů v jídelně od pondělí do pátku vždy od 11:00 - 14:00.</p> |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Administrátor databáze - brigáda - Job-IT.cz</title> | |
</head> | |
<body> | |
<!-- Zdroj http://www.job-it.cz/index.php?page=item&id=103 --> | |
<h1>Administrátor databáze - brigáda</h1> | |
<div class="item-detail-top row"> |
OlderNewer