1(self.webpackChunk=self.webpackChunk||[]).push([[2595,50081,86818],{4417(e){"use strict";e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},17143(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TemplateItem=void 0;const o=r(47397),a=r(82329),n=r(29093),i=r(58215),s=r(78025),l=r(30524),u=r(59459),c=r(94155);class p extends n.Component{static contextType=s.TemplateContext;compilation=i.Cancellation.cancelled;constructor(e){super(e),this.state={renderedTemplate:null}}componentDidMount(){this.compileTemplate(this.props)}UNSAFE_componentWillReceiveProps(e){if(!d(e.template,this.props.template)){const{compiledTemplate:o}=this.state;o&&(t=e.template,r=this.props.template,t===r||t.source===r.source)?this.renderTemplate(e,o):this.compileTemplate(e)}var t,r}shouldComponentUpdate(e,t){return!(d(this.props.template,e.template)&&m(this.props.componentProps,e.componentProps)&&this.props.componentMapper===e.componentMapper&&m(this.state,t))}componentWillUnmount(){this.compilation.cancelAll()}render(){if(this.state.error)return n.createElement(c.ErrorNotification,{errorMessage:this.state.error});const{componentProps:e,componentMapper:t,children:r}=this.props,{renderedTemplate:a}=this.state,i=(s=a,Array.isArray(s)?0===s.length?null:s.length>1?s:s[0]:s);var s;let l;e&&!e?.testid?.endsWith("-template")&&(e.testid=`${e?.testid}-template`),l="string"==typeof i?n.createElement("span",null,i):Array.isArray(i)?i:i?n.cloneElement(i,{...e,...i.props,className:o(e?.className??"",i.props.className),children:i.props.children}):null,l&&t&&(l=t(l));const u=Array.isArray(l)?n.createElement(n.Fragment,{},...l):l;return r?n.createElement(n.Fragment,null,u,r):u}compileTemplate(e){this.compilation.cancelAll();const t=e.template.source;if(t)if("string"==typeof t){const{localScope:r}=this.context;this.compilation=new i.Cancellation,this.compilation.map(r.prepare(t)).observe({value:t=>this.renderTemplate(e,t),error:e=>this.setState({compiledTemplate:void 0,error:e})})}else this.renderTemplate(e,t);else this.renderTemplate(e,u.TemplateScope.emptyTemplate())}renderTemplate(e,t){const{dataContext:r}=this.context,o=(0,u.mergeInContextOverride)(r,e.template.options);try{const e=(0,l.renderCompiledTemplate)(t,o);this.setState({compiledTemplate:t,renderedTemplate:e,error:void 0})}catch(e){this.setState({compiledTemplate:t,renderedTemplate:void 0,error:e})}}}function d(e,t){return e===t||e.source===t.source&&(0,a.isEqual)(e.options,t.options)}function m(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||"object"!=typeof t)return!1;for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r])))return!1;for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&!Object.prototype.hasOwnProperty.call(e,r))return!1;return!0}t.TemplateItem=p},23804(e,t,r){e.exports=r(16293)(8970)},29676(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getThumbnail=function(e,t){return o.getResource(e,t?.context,t?.appContext)},t.getThumbnails=function(e,t){return o.getResources(e,t?.context,t?.appContext)};const o=new(r(72273).BaseResourceService)("/rest/data/rdf/utils/thumbnails/default")},44874(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=r(14596);var a;!function(e){const t="http://purl.org/spar/pso/";e.FinalDraft=o.iri(t+"final-draft"),e.UnderReview=o.iri(t+"under-review"),e.Draft=o.iri(t+"draft"),e.AcceptedForPublication=o.iri(t+"accepted-for-publication"),e.Archived=o.iri(t+"archived"),e.Published=o.iri(t+"published")}(a||(a={})),t.default=a},52168(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ontodiaNsv1=t.ontodiaNsv0=void 0;const o=r(80099);var a,n;!function(e){e._NAMESPACE="http://www.ontodia.org/schema/v1#",e.iri=t=>o.Rdf.iri(e._NAMESPACE+t),e.diagram=e.iri("diagram"),e.diagramLayoutString=e.iri("diagramLayoutString")}(a||(t.ontodiaNsv0=a={})),function(e){e._NAMESPACE="http://ontodia.org/schema/v1#",e.iri=t=>o.Rdf.iri(e._NAMESPACE+t),e.diagram=e.iri("Diagram")}(n||(t.ontodiaNsv1=n={}))},57040(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.OntodiaContextV1=void 0,t.prepareImages=function(e,t,r){let o;try{const r=p.SparqlUtil.parseQuery(t);if("query"!==r.type)throw new Error("Image query must be a SELECT query");const a=Object.keys(e).map(e=>({element:l.Rdf.iri(e)}));o=p.SparqlClient.prepareParsedQuery(a)(r)}catch(e){return Promise.reject(e)}const a=p.SparqlClient.select(o).map(e=>{const t=e.results.bindings,r={};for(const e of t)r[e.element.value]=e.image.value;return r});return(0,i.observableAsPromise)(a,r)},t.fetchThumbnails=function(e,t,r){const o=Object.keys(e).map(e=>l.Rdf.iri(e)),a=(0,m.getThumbnails)(o,{context:t}).map(e=>e.mapKeys(e=>e.value).toObject());return(0,i.observableAsPromise)(a,r)},t.getDiagrams=function(e){const t=s.get("/rest/diagrams").accept("application/json");void 0!==e&&t.query({limit:e});return(0,n.requestAsProperty)(t).map(e=>e.body)},t.getDiagramsForContext=function(e){const t=s.get("/rest/diagrams/for-context").accept("application/json").query({contextIri:e});return(0,n.requestAsProperty)(t).map(e=>e.body)},t.getDiagramContent=function(e){const r=s.get("/rest/diagrams/content").accept("text/turtle").query({diagramIri:e}),o=u.makeDocumentLoader({overrideContexts:{[a.DIAGRAM_CONTEXT_URL_V1]:t.OntodiaContextV1}});return r.then(e=>u.fromRdf(e.text,{documentLoader:o,format:"text/turtle",useNativeTypes:!0}).toPromise()).then(e=>{if(e.length>0&&e[0]&&e[0]["@type"]&&e[0]["@type"]instanceof Array&&e[0]["@type"].indexOf(h.ontodiaNsv0.diagram.value)>=0){const t=e[0][h.ontodiaNsv0.diagramLayoutString.value][0]["@value"],r=JSON.parse(t);return{label:e[0][c.rdfs.label.value],diagram:(0,a.convertToSerializedDiagram)({layoutData:r.layoutData,linkTypeOptions:r.linkSettings})}}{const t=e;return u.frame(t,f,{documentLoader:o}).map(e=>{const t={linkTypeOptions:[],...e};return{label:e[c.rdfs.label.value],diagram:t}}).toPromise()}})},t.saveDiagram=function(e,t,r){const a=g(t,e,r),n=e.toLowerCase().replace(/ /g,"_").replace(/\W/g,"");return new d.LdpService(c.VocabPlatform.OntodiaDiagramContainer.value).createResourceRequest(c.VocabPlatform.OntodiaDiagramContainer,{data:JSON.stringify(a),format:"application/ld+json"},n.replace(/_/g,"")?o.Just(n):o.Nothing()).map(e=>l.Rdf.iri(e))},t.updateDiagram=function(e,t,r,o){const a=g(t,r,o,e);return new d.LdpService(c.VocabPlatform.OntodiaDiagramContainer.value).sendUpdateResourceRequest(l.Rdf.iri(e),{data:JSON.stringify(a),format:"application/ld+json"}).map(()=>{})},t.suggestProperties=function(e,t){const{token:r,properties:o}=e,a={context:{repository:"wikidata-property-suggester"}},n=l.Rdf.literal(r.toLowerCase()),i=[];return o.forEach(e=>{i.push({property:l.Rdf.iri(e)})}),p.SparqlClient.prepareQuery(t,i).map(e=>p.SparqlClient.setBindings(e,{term:n})).flatMap(e=>p.SparqlClient.select(e,a)).map(e=>{const t=e.results.bindings,r={};return t.forEach(e=>{const t=e.id.value,o=parseFloat(e.score.value);r[t]={propertyIri:t,score:o}}),o.forEach(e=>{r[e]||(r[e]={propertyIri:e,score:0})}),r}).toPromise()},t.getDiagramInfo=function(e){const t=s.get("/rest/diagrams").type("application/json").accept("application/json").query({diagramIri:e.value});return(0,n.requestAsProperty)(t).map(e=>e.body).map(e=>e.length>0?e[0]:null)};const o=r(70140),a=r(28854),n=r(58215),i=r(67904),s=r(76573),l=r(80099),u=r(71412),c=r(23650),p=r(89108),d=r(62541),m=r(29676),h=r(52168);t.OntodiaContextV1=r(99270);const f={"@context":t.OntodiaContextV1["@context"],"@type":"Diagram",layoutData:{"@type":"Layout",elements:{"@type":"Element","@embed":"@always","ontodia:resource":{"@embed":"@never"}},links:{"@type":"Link",source:{"@embed":"@never"},target:{"@embed":"@never"}}}};function g(e,r,o,n=""){const i={...e};return(i["@context"]=a.DIAGRAM_CONTEXT_URL_V1)&&(i["@context"]=t.OntodiaContextV1["@context"]),i[c.rdfs.label.value]=r,i["@id"]=n,o.forEach(e=>{i[e.p.value]=l.Rdf.isLiteral(e.o)?e.o.value:{"@id":e.o.value}}),i}},60105(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OntologyEditorInit=f;const o=r(38774),a=r(29093),n=r(26742),i=r(58215),s=r(80099),l=r(44874),u=r(89108),c=r(54238),p=r(94155),d=r(61445),m=r(85066),h=r(57040);function f(e){const{ontologyIri:t,template:r,startInEditMode:c}=e,f=a.useContext(n.ApplicationContext),[y,v]=a.useState(null),[b,S]=a.useState(!0),[I,R]=a.use
1State(null),[C,O]=a.useState(!1);if(a.useEffect(()=>{const e=new i.Cancellation;if(!t)return void S(!1);S(!0),v(null),R(null);const r=u.SparqlUtil.parseQuery('\n SELECT DISTINCT ?graphIri ?namespace ?initial ?hasClasses ?hasShapes ?userIri ?status ?version ?importedHasClasses ?hasImports ?hasCircularImports WHERE {\n GRAPH ?graphIri {\n OPTIONAL {?ontologyIri <http://www.linkedmodel.org/1.2/schema/vaem#namespace> ?ns}\n OPTIONAL {?ontologyIri <http://purl.org/vocab/vann/preferredNamespaceUri> ?ns2}\n OPTIONAL {?ontologyIri <http://purl.org/ontology/bibo/status> ?status}\n OPTIONAL {?ontologyIri owl:versionInfo ?version}\n BIND(COALESCE(STR(?ns), STR(?ns2), STR(?ontologyIri)) as ?namespaceCandidate)\n BIND(\n IF(\n (STRENDS(?namespaceCandidate, "#") || STRENDS(?namespaceCandidate, "/")),\n ?namespaceCandidate,\n CONCAT(?namespaceCandidate, "/")\n )\n AS ?namespace\n )\n ?ontologyIri a owl:Ontology.\n BIND(EXISTS { ?class rdf:type owl:Class } AS ?hasClasses)\n BIND(EXISTS { ?shape a sh:NodeShape } AS ?hasNodeShapes)\n BIND(EXISTS { ?propshape sh:path ?path } AS ?hasPropertyShapes)\n BIND(?hasNodeShapes || ?hasPropertyShapes AS ?hasShapes)\n BIND(IF(?hasClasses, "", "empty") AS ?initial)\n BIND(EXISTS { ?ontologyIri owl:imports ?import. } AS ?hasImports)\n }\n BIND(EXISTS {\n GRAPH ?graphIri { ?ontologyIri owl:imports ?directImport. }\n ?directImport (owl:imports*) ?importedOntology.\n GRAPH ?importedOntologyGraph {\n ?importedOntology a owl:Ontology.\n ?importedOntology owl:imports ?ontologyIri.\n }\n } AS ?hasCircularImports)\n BIND(EXISTS {\n GRAPH ?graphIri { ?ontologyIri owl:imports ?directImport. }\n ?directImport (owl:imports*) ?importedOntology.\n GRAPH ?importedOntologyGraph {\n ?importedClass rdf:type owl:Class.\n }\n } AS ?importedHasClasses)\n BIND(?__useruri__ as ?userIri)\n }\n'),a=u.SparqlClient.setBindings(r,{ontologyIri:s.Rdf.iri(t)}),n=u.SparqlClient.selectStar(a,{appContext:f}),l=h.getDiagramsForContext(t),c=u.SparqlClient.ask((e=>`\n ASK {\n ?businessObject a <https://ontologies.metaphacts.com/enterprise-information-architecture/BusinessObject> .\n ?businessObject <https://ontologies.metaphacts.com/enterprise-information-architecture/modeledBy> <${e}> .\n }\n`)(t),{appContext:{type:"none"}}),p=o.combine([n,l,c],(e,t,r)=>({sparqlResult:e,diagrams:t,isBusinessObjectOntology:r}));return e.map(p).observe({value:e=>{v(e),O(e.isBusinessObjectOntology),S(!1)},error:e=>{R(e),S(!1)}}),()=>{e.cancelAll()}},[t]),b)return a.createElement(d.Spinner,null);if(I)return a.createElement(p.ErrorNotification,{errorMessage:I});if(!y)return null;const P=y.sparqlResult.results?.bindings??[];if(0===P.length)return null;P.length>1&&console.warn("Ontology initialization unexpectedly provided multiple results",P);const N=P[0],A=y.diagrams.filter(e=>e.isDefaultDiagram).map(e=>e.diagramIri),T={graphIri:N.graphIri.value,ontologyIri:t,namespace:N.namespace.value,defaultDiagram:A[0],hasMultipleNamedGraphs:P.length>1,hasMultipleDefaultDiagrams:A.length>1,diagramIri:new URLSearchParams(window.location.search).get("diagramIri"),hasClasses:"true"===N.hasClasses.value,importedHasClasses:P.some(e=>"true"===e.importedHasClasses?.value),hasImports:"true"===N.hasImports.value,hasCircularImports:"true"===N.hasCircularImports.value,startInEditMode:"true"!==N.hasClasses.value&&"true"!==N.hasShapes.value&&N.status?.value===l.default.Draft.value||C&&N.status?.value===l.default.Draft.value||(c??!1),initial:N.initial.value,userIri:N.userIri?.value,isInDevelopment:N.status?.value===l.default.Draft.value,isInReview:N.status?.value===l.default.UnderReview.value,isPublished:!N.status||N.status?.value===l.default.Published.value,isArchived:N.status?.value===l.default.Archived.value,status:N.status?.value,statusDefaultView:g(N.status?.value),version:N.version?.value,bindings:P,isBusinessObjectOntology:C};return a.createElement(m.TemplateItem,{template:{source:r,options:T}})}function g(e){const t=c.ConfigHolder.getAssetsConfig();switch(e){case l.default.Draft.value:return t.ontologyInitialViewInDevelopment;case l.default.UnderReview.value:return t.ontologyInitialViewInReview;case l.default.AcceptedForPublication.value:return t.ontologyInitialViewReadyToBePublished;case l.default.Archived.value:return t.ontologyInitialViewArchived;default:return t.ontologyInitialViewPublished}}t.default=f},62541(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.LdpService=void 0,t.ldpc=function(e){return new c(e)},t.slugFromName=function(e){return e.toLowerCase().trim().replace(/[^a-zA-Z0-9~_-]+/g,"-")};const o=r(70140),a=r(38774),n=r(82329),i=r(31401),s=r(76573),l=r(80099),{VocabPlatform:u}=l.vocabularies;class c{BASE_CONTAINER;context;constructor(e,t){if(!t||t.isDefault?this.context={repository:"assets"}:this.context=t,"string"!=typeof e)throw new Error("Container IRI cannot be null or undefined");this.BASE_CONTAINER=e}getServiceUrl(e="",t={}){const r=`/container${e}`,o=i.buildQuery(n.assign({repository:this.context.repository},t));return o?`${r}?${o}`:r}static setVisibility(e,t,r){const a=l.Rdf.graph([l.Rdf.triple(l.Rdf.iri(""),u.visibilityItem,e),l.Rdf.triple(e,u.visibility,t),...n.map(r,t=>l.Rdf.triple(e,u.visibleToGroups,t))]);return new c(u.VisibilityContainer.value).addResource(a,o.Nothing())}getContainerIRI=()=>l.Rdf.iri(this.BASE_CONTAINER);getContainer(){return this.fetchResource(l.Rdf.iri(this.BASE_CONTAINER))}get(e){return this.fetchResource(e)}update(e,t){return l.turtle.serialize.serializeGraph(t).flatMap(t=>this.sendUpdateResourceRequest(e,{data:t,format:"text/turtle"})).toProperty()}options(e){const t=s.options(this.getServiceUrl()).query({uri:e.value});return a.fromNodeCallback(e=>t.end((t,r)=>e(null!=t?t.status:null,r.ok?r.text:null))).toProperty()}deleteResources(e){const t=this.getServiceUrl("",{iris:e}),r=s.del(t);return a.fromNodeCallback(e=>r.end((t,r)=>e(t,r?r.text:null))).toProperty()}addResource=(e,t=o.Nothing())=>l.turtle.serialize.serializeGraph(e).flatMap(e=>this.createResourceRequest(this.getContainerIRI(),{data:e,format:"text/turtle"},t)).map(e=>l.Rdf.iri(e)).toProperty();renameResource(e,t){const r=s.put(this.getServiceUrl("/rename")).query({uri:e.value,newName:t});return a.stream(e=>(r.end((t,r)=>{t?e.error(t):e.emit(void 0),e.end()}),()=>r.abort())).toProperty()}createResourceRequest=(e,t,r=o.Nothing())=>{let n=s.post(this.getServiceUrl()).query({uri:e.value}).send(t.data).type(t.format);return n=r.map(e=>n.set("Slug",e)).getOrElse(n),a.fromNodeCallback(e=>n.end((t,r)=>e(t,r?r.header.location:null))).toProperty()};copyResource(e,t,r=o.Nothing()){let n=s.get(this.getServiceUrl("/copyResource"));return n=t.map(t=>n.query({source:e.value,target:t.value})).getOrElse(n.query({source:e.value})),n=r.map(e=>n.set("Slug",e)).getOrElse(n),a.fromNodeCallback(e=>n.end((t,r)=>e(t,r?r.header.location:null))).toProperty()}sendUpdateResourceRequest(e,t){const r=s.put(this.getServiceUrl()).query({uri:e.value}).send(t.data).type(t.format);return a.fromNodeCallback(e=>r.end((t,r)=>{e(t,r?l.Rdf.iri(r.header.location):null)})).toProperty()}fetchResource(e){return this.getResourceTriples(e.value,"text/turtle")}getResourceTriples(e,t){return this.getResourceRequest(e,t).flatMap(e=>l.turtle.deserialize.turtleToGraph(e)).toProperty()}getResourceRequest(e,t){const r=s.get(this.getServiceUrl()).query({uri:e}).accept(t);return a.fromNodeCallback(r.end.bind(r)).toProperty().map(e=>e.text)}getExportURL(e){return this.getServiceUrl("/exportResource",{iris:e})}getImportURL(){return this.getServiceUrl("/importResource")}importGetTextFromURL(e){const t=s.get(e);return a.fromNodeCallback(e=>t.end((t,r)=>{e(t,r&&r.ok?r.text:null)})).toProperty()}importFromText(e,t,r){let o=s.post(this.getImportURL()).send(new File([e],"import.ttl"));return r&&(o=o.query({force:r})),t&&(o=o.query({containerIRI:t})),a.fromNodeCallback(e=>o.end((t,r)=>{e(t,r)})).toProperty()}importFromDelayedId(e,t){const r=s.post(this.getImportURL()).query({force:!0,delayedId:e,containerIRI:t});return a.fromNodeCallback(e=>r.end((t,r)=>{e(t,r)})).toProperty()}}t.LdpService=c},71412(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeDocumentLoader=function(e){return(t,r)=>e.overrideContexts&&t in e.overrideContexts?r(null,{contextUrl:null,document:e.overrideContexts[t],documentUrl:t}):e.fetchRemoteContexts?l(t,r):void r(new Error("Fetching remote JSON-LD contexts is not allowed"),null)},t.frame=function(e,t,r){return a.fromPromise(o.frame(e,t,r)).toProperty()},t.fromRdf=function(e,t){return a.fromPromise(o.fromRDF(e,t)).toProperty()};const o=r(48330),a=r(38774),n=r(59176),i=r(14596),s={...i.DATA_FACTORY,blankNode:e=>{const t=i.DATA_FACTORY.blankNode(e);return t.value.startsWith("_:")?t:i.bnode("_:"+t.value)}};o.registerRDFParser("text/turtle",e=>new n.Parser({factory:s}).parse(e)),o.registerRDFParser("mph/graph",e=>e.triples.toArray());const l=o.documentLoaders.xhr()},72273(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.BaseResourceService=void 0;const o=r(74344),a=r(38774),n=r(26742),i=r(58215),s=r(76516),l=r(76573);function u(e){return e&&e.repository?e.repository:"default"}t.BaseResourceService=class{serviceUrl;pools=new Map;constructor(e){this.serviceUrl=e}getPool(e,t){const r=function(e,t){let r=e?.repository??"default";t?.type&&(r+=`-${t.type}-${t.identifier?t.identifier:"no_identifier"}`);return r}(e,t),o=u(e);return this.pools.has(r)||this.pools.set(r,new s.BatchedPool({fetch:e=>this.fetchResources(e.toArray(),o,t)})),this.pools.get(r)}getResource(e,t,r){return this.getPool(t,r).query(e.value)}getResources(e,t,r){if(0===e.length)return a.constant(o.Map());const n=this.getPool(t,r);if(e.length>=n.batchSize){const a=u(t);return this.fetchResources(e.map(e=>e.value),a,r).map(t=>o.Map().withMutations(r=>{for(const o of e)r.set(o,t.get(o.value))}))}const i=e.map(e=>this.getResource(e,t,r).map(t=>[e,t]));return a.combine(i).map(o.Map).toProperty()}createRequest(e,t,r){const o=(0,l.post)(this.serviceUrl).send(e).query({repository:t}).type("application/json").accept("application/json");return(0,n.applyApplicationContextParameters)(o,r)}fetchResources(e,t,r){const a=this.createRequest(e,t,r);return(0,i.requestAsProperty)(a).map(e=>{const t=e.body;return o.Map(t)})}}},85066(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});r(27527).__exportStar(r(17143),t)},94155(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearNotifications=t.removeNotification=t.addNotification=void 0;const o=r(27527);var a=r(80477);Object.defineProperty(t,"addNotification",{enumerable:!0,get:function(){return a.addNotification}}),Object.defineProperty(t,"removeNotification",{enumerable:!0,get:function(){return a.removeNotification}}),Object.defineProperty(t,"clearNotifications",{enumerable:!0,get:function(){return a.clearNotifications}}),o.__exportStar(r(18642),t),o.__exportStar(r(38091),t)},99270(e){"use strict";e.exports=JSON.parse('{"@context":{"ontodia":"http://ontodia.org/schema/v1#","xsd":"http://www.w3.org/2001/XMLSchema#","Diagram":"ontodia:Diagram","layoutData":"ontodia:layoutData","linkTypeOptions":{"@id":"ontodia:linkTypeOptions","@container":"@set"},"Layout":"ontodia:Layout","elements":{"@id":"ontodia:hasElement","@container":"@set"},"links":{"@id":"ontodia:hasLink","@container":"@set"},"Element":"ontodia:Element","iri":{"@id":"ontodia:resource","@type":"@id"},"position":"ontodia:position","x":{"@id":"ontodia:xCoordValue"},"y":{"@id":"ontodia:yCoordValue"},"size":"ontodia:size","height":{"@id":"ontodia:height"},"width":{"@id":"ontodia:width"},"isExpanded":{"@id":"ontodia:isExpanded"},"Link":"ontodia:Link","property":{"@id":"ontodia:property","@type":"@id"},"source":"ontodia:source","target":"ontodia:target","vertices":{"@id":"ontodia:vertex","@container":"@list"},"LinkTypeOptions":"ontodia:LinkTypeOptions","visible":"ontodia:visible","showLabel":"ontodia:showLabel","elementState":"ontodia:elementState","linkState":"ontodia:linkState"}}')}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.