Commits

Dan Connolly committed 3d4ef9a

basics: EMR, Clarity, i2b2 star schema

Comments (0)

Files changed (1)

 @prefix dot: <http://www.w3.org/2001/02pd/gv#>.
+@prefix log: <http://www.w3.org/2000/10/swap/log#>.
+@prefix u: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
 
-<> dot:digraph :theGraph.
+@keywords is, of, a.
 
-:theGraph dot:label "GPC work flows @@or something".
+<> dot:digraph theGraph.
+
+theGraph dot:label "GPC work flows @@or something";
+  dot:hasNode EMR.
+
+EMR feeds Clarity.
+EMR a DB.
+Clarity a DB.
+
+Clarity ETL i2b2.
+i2b2 a StarSchema.
+
+
+#######
+# workflow style
+dot:EdgeProperty is rdf:type of feeds, ETL.
+
+LocallyNamed is superclass of DB, StarSchema .
+
+#######
+# dot (graphviz) style
+
+@prefix string: <http://www.w3.org/2000/10/swap/string#>.
+{ ?x a LocallyNamed; log:uri ?i.
+  (?i "[^#]*#(.*)") string:scrape ?local }
+ => { ?x dot:label ?local; dot:shape "none" }.
+
+{ ?ep a dot:EdgeProperty.
+  ?g dot:hasNode [ ?ep ?n2 ].  } => { ?g dot:hasNode ?n2 }.
+
+######
+# OWL
+superclass u:subPropertyOf u:subClassOf . # actually owl:equivalentProperty