-
Notifications
You must be signed in to change notification settings - Fork 7
BTE Between The Edges
Tim L edited this page Apr 3, 2016
·
21 revisions
- Characterizing a list of RDF node URIs discusses the motivation for BTE.
- Use Case: DOIs among LOD uses some of this vocab.
- The RDFS/OWL vocabulary for the terms used.
- http://uri4uri.net/ models some of the same things as BTE; should reconcile.
This page describes how the BTE vocabulary is used.
- between-the-edges.py implements some of the characteristics. sample-inputs
$ cat uris.ttl
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
<ftp://darthmouth.edu/files/blah1.csv> a rdfs:Resource .
<ftp://darthmouth.edu/files/blah2.csv> a rdfs:Resource .
<mailto:[email protected]> a rdfs:Resource .
<mailto:[email protected]> a rdfs:Resource .
<http://www.hyphen.info/rdf/30.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/26.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/20.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/20.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/40.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/40.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/40.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/40> a rdfs:Resource .
<http://www.hyphen.info/rdf/40> a rdfs:Resource .
<http://www.christiansurfers.net/feed.aspx> a rdfs:Resource .
<http://www.hyphen.info/rdf/35.xml> a rdfs:Resource .
<http://www.hyphen.info/rdf/18.xml> a rdfs:Resource .
$ python /path/to/DataFAQs/services/sadi/faqt/naming/between-the-edges.py uris.ttl text/turtle
@prefix bte: <http://purl.org/twc/vocab/between-the-edges/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<ftp://darthmouth.edu/files/blah1.csv> a bte:RDFNode ;
bte:length 36 ;
bte:netloc "darthmouth.edu" ;
bte:path "/files/blah1.csv" ;
bte:scheme "ftp" .
<ftp://darthmouth.edu/files/blah2.csv> a bte:RDFNode ;
bte:length 36 ;
bte:netloc "darthmouth.edu" ;
bte:path "/files/blah2.csv" ;
bte:scheme "ftp" .
<http://www.christiansurfers.net/feed.aspx> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.christiansurfers.net> ;
bte:depth 1 ;
bte:extension ".aspx" ;
bte:length 41 ;
bte:netloc "www.christiansurfers.net" ;
bte:path "/feed.aspx" ;
bte:scheme "http" ;
bte:step "feed.aspx" .
<http://www.hyphen.info/rdf/18.xml> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.hyphen.info/rdf> ;
bte:depth 2 ;
bte:extension ".xml" ;
bte:length 33 ;
bte:netloc "www.hyphen.info" ;
bte:path "/rdf/18.xml" ;
bte:scheme "http" ;
bte:step "18.xml" .
<http://www.hyphen.info/rdf/20.xml> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.hyphen.info/rdf> ;
bte:depth 2 ;
bte:extension ".xml" ;
bte:length 33 ;
bte:netloc "www.hyphen.info" ;
bte:path "/rdf/20.xml" ;
bte:scheme "http" ;
bte:step "20.xml" .
<http://www.hyphen.info/rdf/26.xml> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.hyphen.info/rdf> ;
bte:depth 2 ;
bte:extension ".xml" ;
bte:length 33 ;
bte:netloc "www.hyphen.info" ;
bte:path "/rdf/26.xml" ;
bte:scheme "http" ;
bte:step "26.xml" .
<http://www.hyphen.info/rdf/30.xml> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.hyphen.info/rdf> ;
bte:depth 2 ;
bte:extension ".xml" ;
bte:length 33 ;
bte:netloc "www.hyphen.info" ;
bte:path "/rdf/30.xml" ;
bte:scheme "http" ;
bte:step "30.xml" .
<http://www.hyphen.info/rdf/35.xml> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.hyphen.info/rdf> ;
bte:depth 2 ;
bte:extension ".xml" ;
bte:length 33 ;
bte:netloc "www.hyphen.info" ;
bte:path "/rdf/35.xml" ;
bte:scheme "http" ;
bte:step "35.xml" .
<http://www.hyphen.info/rdf/40> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.hyphen.info/rdf> ;
bte:depth 2 ;
bte:length 29 ;
bte:netloc "www.hyphen.info" ;
bte:path "/rdf/40" ;
bte:scheme "http" ;
bte:step "40" .
<http://www.hyphen.info/rdf/40.xml> a bte:Node,
bte:RDFNode ;
bte:broader <http://www.hyphen.info/rdf> ;
bte:depth 2 ;
bte:extension ".xml" ;
bte:length 33 ;
bte:netloc "www.hyphen.info" ;
bte:path "/rdf/40.xml" ;
bte:scheme "http" ;
bte:step "40.xml" .
<mailto:[email protected]> a bte:RDFNode ;
bte:length 19 ;
bte:path "[email protected]" ;
bte:scheme "mailto" .
<mailto:[email protected]> a bte:RDFNode ;
bte:length 18 ;
bte:path "[email protected]" ;
bte:scheme "mailto" .
<http://www.christiansurfers.net> a bte:Node ;
bte:depth 0 .
<http://www.hyphen.info> a bte:Node ;
bte:depth 0 .
<http://www.hyphen.info/rdf> a bte:Node ;
bte:broader <http://www.hyphen.info> ;
bte:depth 1 ;
bte:step "rdf" .
<http://www.hyphen.info/rdf/40.xml> bte:root <http://www.hyphen.info> .
<http://www.hyphen.info> bte:pld <http://hyphen.info>
<http://hyphen.info> a bte:PayLevelDomain .
Used by Billion Triples Challenge
subproperty of bte:broader
<http://www.hyphen.info/rdf/40.xml> bte:root <http://www.hyphen.info> .
<http://www.hyphen.info> bte:pld <http://hyphen.info>
<http://hyphen.info> a bte:PayLevelDomain .
Used by Billion Triples Challenge
<http://www.hyphen.info/rdf/40.xml> bte:root <http://www.hyphen.info> .
<http://www.hyphen.info> bte:pld <http://hyphen.info>
<http://hyphen.info> a bte:PayLevelDomain .
Used by Billion Triples Challenge
Introduced for analyzing the Billion Triple Challenge.
For example, the following PrefixTree shows the number of triples found in the only RPI contexts in BTC 2012. The URI for this file format is http://purl.org/twc/vocab/between-the-edges/PrefixTree
.
http:// _/2241
www.cs.rpi.edu/~ _/1952
ta _/100
yloj/DOCS/foaf.rdf 42
oj2/sw/foaf.rdf 58
hendler/foaf.rdf 1167
dingl/foaf.rdf 342
weavej3/ _/333
foaf.rdf 106
papers.rdf 227
ankesh/foaf.rdf 10
tw.rpi.edu/ _/289
weblog/feed/rdf/ 120
instances/EricRozell.rdf 169