gTreeMap
: Draws the structure -> Company -> Field -> ExplorationWellbore, with numberOfDrillingDays
deciding the box size and color
The element which draws the above chart:
<div id="sgvzl_example_query" data-sgvizler-endpoint="http://sws.ifi.uio.no/sparql/npd" data-sgvizler-query="SELECT DISTINCT ?node ?parent ?value WHERE{{ LET(?node := "ALL") LET(?parent := "") LET(?value := 0)} UNION {?s npdv:name ?node; a npdv:Company . [] a npdv:Field ; npdv:hasCompany ?s . LET(?parent := "ALL") LET(?value := 0)} UNION {?s npdv:name ?node; a npdv:Field ; npdv:hasCompany [npdv:name ?parent] . [] a npdv:ExplorationWellbore ; npdv:hasField ?s . LET(?value := 0)} UNION {?s npdv:name ?node; a npdv:ExplorationWellbore ; npdv:hasField [npdv:name ?parent; npdv:hasCompany [] ] ; npdv:numberOfDrillingDays ?value; }}" data-sgvizler-chart="gTreeMap" data-sgvizler-loglevel="2" style="width:800px; height:400px;"/>
gTable