I hereby claim:
- I am cgueret on github.
- I am cgueret (https://keybase.io/cgueret) on keybase.
- I have a public key ASAMtIKFyfgiuSJEw9HYzsapdrdWZ8VMzCZDOOPn6-Ej1Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# The RDF document describing the dataset | |
<http://example.org/cat> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/Document> <http://example.org/cat> . | |
<http://example.org/cat> <http://www.w3.org/2000/01/rdf-schema#label> "RDF description for cats"@en-GB <http://example.org/cat> . | |
<http://example.org/cat> <http://purl.org/dc/terms/license> <http://www.gnu.org/copyleft/fdl.html> <http://example.org/cat> . | |
<http://example.org/cat> <http://xmlns.com/foaf/0.1/primaryTopic> <http://example.org/cats#id> <http://example.org/cat> . | |
<http://example.org/cats#id> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://rdfs.org/ns/void#Dataset> <http://example.org/cat> . | |
<http://example.org/cats#id> <http://www.w3.org/2000/01/rdf-schema#label> "Cats !"@en-GB <http://example.org/cat> . | |
<http://example.org/cats#id> <http://rdfs.org/ns/void#subset> <http://example.org/image#id> <http://example.org/cat> . | |
# The document describing a picture and a cat |
{ | |
"name": "guerec01/snippets", | |
"require": { | |
"easyrdf/easyrdf": "^0.9.1" | |
}, | |
"authors": [ | |
{ | |
"name": "Christophe Gueret", | |
"email": "christophe.gueret@bbc.co.uk" | |
} |
<?php | |
/** | |
* Search for entities | |
* | |
* This example issues a search against Acropolis and then enhance the result | |
* set by fetching additional data for each entry. The result is a set of | |
* entities available in the RES platform. | |
* | |
* The approach consists in issuing two calls: | |
* - Fetch a the simplified list of results |
<?php | |
/** | |
* Find assets associated to a particular topic | |
* | |
* In this example we search for all the assets related to a particular topic. | |
* This topic has to be identified by its URI. In order to find the relevant | |
* URI a first call to a search (see "search.php") can be necessary. | |
* | |
* @copyright Copyright (c) 2016 BBC | |
* @license http://unlicense.org/ |
# encoding: utf-8 | |
""" | |
Detects loops in the triggers | |
Heavily based on https://git.bbcarchdev.net/res/docker/blob/master/graphite/collect.py | |
""" | |
import logging | |
logging.basicConfig(level=logging.INFO) | |
import psycopg2 |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# (c) 2011 Raphael Jasjukaitis <webmaster@raphaa.de> | |
import csv | |
import os | |
import sys | |
from optparse import OptionParser |
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | |
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<title>Raptor Graph Serialisation</title> | |
</head> | |
<body> | |
<table id="triples" border="1"> | |
<tr> |