(window.webpackJsonp=window.webpackJsonp||[]).push([[217],{91:function(e,t){angular.module("graphdb.framework.rest.graphexplore.data.service",[]).factory("GraphDataRestService",a),a.$inject=["$http"];function a(e){return{getClassHierarchyData:function(t){return e.get("rest/class-hierarchy",{params:{graphURI:t}})},reloadClassHierarchy:function(t){return e.get("rest/class-hierarchy",{params:{doReload:!0,graphURI:t}})},getClassInstances:function(t){return e.get("rest/class-hierarchy/class-instances",{params:{targetUri:t}})},getDomainRangeData:function(t,a){return e.get("rest/domain-range",{params:{targetUri:t,collapsed:a}})},checkDomainRangeData:function(t){return e.head("rest/domain-range",{params:{targetUri:t}})},getRelationshipsData:function(t,a,r){return e.get("rest/dependencies/matrix",{params:{mode:a,classes:_.map(t,(function(e){return e.name})),graphURI:r}})},getRelationshipsClasses:function(t,a){return e.get("rest/dependencies/classes",{params:{mode:t,graphURI:a}})},getRelationshipsStatus:function(t){return e.get("rest/dependencies/status",{params:{graphURI:t}})},calculateRelationships:function(t){return e.get("rest/dependencies/update",{params:{graphURI:t}})},getPredicates:function(t,a,r){return e.get("rest/dependencies/predicates",{params:{from:t,to:a,mode:"all",graphURI:r}})},getInstanceNode:function(t){return e.get("rest/explore-graph/node",{params:t})},getInstanceNodeLinks:function(t){return e.get("rest/explore-graph/links",{params:t})},getProperties:function(t){return e.get("rest/explore-graph/properties",{params:t})},updateGraph:function(t){let a={headers:{"Content-Type":"application/json"}};return a=Object.assign(a,t),e.post("rest/explore-graph/graph",a)},getRdfsLabelAndComment:function(t,a,r){const n=r||{};return e({url:"rest/explore/details",method:"GET",params:_.extend(n,{uri:t,languages:a}),headers:{Accept:"application/json"}})}}}}}]);