-
Notifications
You must be signed in to change notification settings - Fork 3
TiNG Triples in Named Graph
timrdf edited this page Apr 2, 2013
·
35 revisions
- Our [VAST 2013 paper](VAST 2013 Supplemental Material) provides the use case to revive TiNG.
- Named graphs that know where they came from (approach 1 and approach 2) is background for how one access dump files from Prizms' named graphs.
- Naming sparql service description's sd:NamedGraph
- RiNG, TiNG, SiNG, PiNG, CiNG
- Making it a versioned dataset JLEE
Need to compare seven named graphs that drive http://ieeevis.tw.rpi.edu/search-graphics/v1/tree:
- lam-2012-evaluations-2-categories
- lam-2012-evaluations-7-scenarios
- 2-categories/version/2013-Mar-21/source/lodspeakr-basic-menu.svg
- 7-scenarios/version/2013-Mar-21/source/lodspeakr-basic-menu.svg
- ScenarioPaperopencodingcleancopy.txt.xml.ttl.graffle
- ScenarioPaperopencodingcleancopy.txt.xml.ttl.graphml
- ScenarioPaperopencodingcleancopy.txt.xml.ttl.v6.graffle
First, how to get the data RDF dump of the named graphs that we want?
- The named graphs appear in http://ieeevis.tw.rpi.edu/namedGraphs
- We want these from all named graphs
Add a --graph option to df-mirror-endpoint.sh and avoid the pvload stuff?
(magic gets me the files)
file system:
ScenarioPaperopencodingcleancopy.txt.xml.ttl.v6.graffle.ttl
ScenarioPaperopencodingcleancopy.txt.xml.ttl.v6.graffle.ttl.sd_name
ScenarioPaperopencodingcleancopy.txt.xml.ttl.graphml.ttl
ScenarioPaperopencodingcleancopy.txt.xml.ttl.graphml.ttl.sd_name
c36b17db5117176b70a67fef5410f70d.graphic.ttl
c36b17db5117176b70a67fef5410f70d.graphic.ttl.sd_name
new-script.sh *.ttl (or, find *.ttl | xargs new-script.sh > ../ting.ttl
) :
bash-3.2$ ting.sh c36b17db5117176b70a67fef5410f70d.graphic.ttl
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix sd: <http://www.w3.org/ns/sparql-service-description#> .
@prefix void: <http://rdfs.org/ns/void#> .
<http://ieeevis.tw.rpi.edu/id/triple/99f6fb6ba82a159ec66b671aa114d2a6>
a rdf:Statement;
dcterms:isPartOf <http://ieeevis.tw.rpi.edu/id/named-graph/80f1c94b2396f699244bc09ca627e0bd>;
# omitting SPO b/c we don't care (yet)
.
<http://ieeevis.tw.rpi.edu/id/named-graph/80f1c94b2396f699244bc09ca627e0bd>
a sd:NamedGraph;
sd:name <http://ieeevis.tw.rpi.edu/lam-2012-evaluations-7-scenarios>;
# sd:graph ...;
prov:hadLocation <http://ieeevis.tw.rpi.edu/sparql>;
owl:sameAs <http://ieeevis.tw.rpi.edu/sparql?query=PREFIX+sd%3A+%3Chttp%3A%2F%2Fwww.w3.org%2Fns%2Fsparql-service-description%23%3E+CONSTRUCT+%7B+%3Fendpoints_named_graph+%3Fp+%3Fo+%7D+WHERE+%7B+GRAPH+%3Chttp%3A%2F%2Fieeevis.tw.rpi.edu%2Flam-2012-evaluations-7-scenarios%3E+%7B+%5B%5D+sd%3Aurl+%3Chttp%3A%2F%2Fieeevis.tw.rpi.edu%2Fsparql%3E%3B+sd%3AdefaultDatasetDescription+%5B+sd%3AnamedGraph+%3Fendpoints_named_graph+%5D+.+%3Fendpoints_named_graph+sd%3Aname+%3Chttp%3A%2F%2Fieeevis.tw.rpi.edu%2Flam-2012-evaluations-7-scenarios%3E%3B+%3Fp+%3Fo+.+%7D+%7D>;
.