Skip to content

Instantly share code, notes, and snippets.

🖖

Tommaso Soru mommi84

🖖
Block or report user

Report or block mommi84

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mommi84
mommi84 / foreachlod.py
Created Sep 27, 2017
For each (indexed) LOD dataset
View foreachlod.py
#!/usr/bin/env python
import sys
import urllib2, urllib, httplib, json
reload(sys)
sys.setdefaultencoding("utf-8")
ENDPOINT = "http://stats.lod2.eu/sparql"
GRAPH = ""
BUFFER = 10000
@mommi84
mommi84 / most-spec-types.sparql
Created Apr 2, 2017
Most specific types in SPARQL
View most-spec-types.sparql
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?s ?t2 WHERE {
?s a ?t2
MINUS {
?s a ?t1, ?t2 .
?t1 rdfs:subClassOf ?t2 .
}
}
@mommi84
mommi84 / visual_all_in_one.py
Last active Dec 20, 2016
Sagemath script for 3D plots
View visual_all_in_one.py
#!/usr/bin/env python
"""
From Sagemath console:
cd /path/to/file/
load("visual_all_in_one.py")
Author: Tommaso Soru <tsoru@informatik.uni-leipzig.de>
"""
import sys
@mommi84
mommi84 / keybase.md
Created Oct 29, 2014
Keybase.io GitHub proof
View keybase.md

Keybase proof

I hereby claim:

  • I am mommi84 on github.
  • I am mommi84 (https://keybase.io/mommi84) on keybase.
  • I have a public key whose fingerprint is C192 8E2A E379 94E5 B045 6C93 EF6D 3A8A 8892 1453

To claim this, I am signing this object:

You can’t perform that action at this time.