Skip to content

Commit d342f82

Browse files
Cleaned up website code.
1 parent 50e61bd commit d342f82

File tree

9 files changed

+802
-377
lines changed

9 files changed

+802
-377
lines changed

docs/Webpages/data/INCONSISTENCIES-LOD-a-lot.ttl

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -882,6 +882,26 @@ SubClassOf C2 C0
882882
SubClassOf C3 C4
883883
SubClassOf C4 C6
884884

885+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C3 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2.?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?a0 ?p0 ?a1.}
886+
New general inconsistency:
887+
General graph number: 68
888+
ClassAssertion C0 a1
889+
DisjointClasses C3 C1
890+
Range C1 p0
891+
SubClassOf C0 C2
892+
SubClassOf C2 C3
893+
p0 a0 a1
894+
895+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C4 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2.?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?a0 ?p0 ?a1.}
896+
New general inconsistency:
897+
General graph number: 69
898+
ClassAssertion C0 a0
899+
DisjointClasses C4 C1
900+
Domain C1 p0
901+
SubClassOf C0 C2
902+
SubClassOf C2 C3
903+
SubClassOf C3 C4
904+
p0 a0 a1
885905
New general inconsistency:
886906
General graph number: 69
887907
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C2. ?C7 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C0. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C6. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C5. ?C6 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C7. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C1. ?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C4 <http://www.w3.org/2002/07/owl#disjointWith> ?C5. }
@@ -2162,6 +2182,25 @@ SubClassOf C7 C11
21622182
SubClassOf C8 C0
21632183
SubClassOf C9 C10
21642184

2185+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C2 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2.?a0 ?p0 ?a1.}
2186+
New general inconsistency:
2187+
General graph number: 149
2188+
ClassAssertion C0 a1
2189+
DisjointClasses C2 C1
2190+
Range C1 p0
2191+
SubClassOf C0 C2
2192+
p0 a0 a1
2193+
2194+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C3 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2.?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?a0 ?p0 ?a1.}
2195+
New general inconsistency:
2196+
General graph number: 150
2197+
ClassAssertion C0 a0
2198+
DisjointClasses C3 C1
2199+
Domain C1 p0
2200+
SubClassOf C0 C2
2201+
SubClassOf C2 C3
2202+
p0 a0 a1
2203+
21652204
New general inconsistency:
21662205
General graph number: 151
21672206
SELECT * WHERE {?C6 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?C7 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C6. ?C4 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C5. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C1. ?C8 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C7. ?C5 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C8. ?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C3. ?C2 <http://www.w3.org/2002/07/owl#disjointWith> ?C3. }
@@ -3763,6 +3802,29 @@ SubClassOf C4 C2
37633802
SubClassOf C5 C6
37643803
SubClassOf C6 C0
37653804

3805+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C4 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2.?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?a0 ?p0 ?a1.}
3806+
New general inconsistency:
3807+
General graph number: 244
3808+
ClassAssertion C0 a1
3809+
DisjointClasses C4 C1
3810+
Range C1 p0
3811+
SubClassOf C0 C2
3812+
SubClassOf C2 C3
3813+
SubClassOf C3 C4
3814+
p0 a0 a1
3815+
3816+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C4 <http://www.w3.org/2002/07/owl#disjointWith> ?C5. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2.?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C5. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?a0 ?p0 ?a1.}
3817+
New general inconsistency:
3818+
General graph number: 245
3819+
ClassAssertion C0 a1
3820+
DisjointClasses C4 C5
3821+
Range C1 p0
3822+
SubClassOf C1 C5
3823+
SubClassOf C0 C2
3824+
SubClassOf C2 C3
3825+
SubClassOf C3 C4
3826+
p0 a0 a1
3827+
37663828
New general inconsistency:
37673829
General graph number: 244
37683830
SELECT * WHERE {?C1 <http://www.w3.org/2002/07/owl#disjointWith> ?C5. ?C6 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C9. ?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C1. ?C9 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C5. ?C6 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C7. ?C7 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C8. ?C8 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?C4 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C0. ?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C6. }
@@ -4137,4 +4199,115 @@ SubClassOf C6 C3
41374199
SubClassOf C7 C8
41384200
SubClassOf C8 C17
41394201

4202+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C4. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?a0 ?p0 ?a1.}
4203+
New general inconsistency:
4204+
General graph number: 265
4205+
ClassAssertion C0 a0
4206+
SubClassOf C1 C2
4207+
SubClassOf C2 C3
4208+
SubClassOf C3 C4
4209+
DisjointClasses C0 C4
4210+
Domain C1 p0
4211+
p0 a0 a1
4212+
4213+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C3 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C4. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C4. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?a0 ?p0 ?a1.}
4214+
New general inconsistency:
4215+
General graph number: 266
4216+
ClassAssertion C0 a1
4217+
SubClassOf C1 C2
4218+
SubClassOf C2 C3
4219+
SubClassOf C3 C4
4220+
DisjointClasses C0 C4
4221+
Range C1 p0
4222+
p0 a0 a1
4223+
4224+
4225+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C3. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?a0 ?p0 ?a1.}
4226+
New general inconsistency:
4227+
General graph number: 267
4228+
ClassAssertion C0 a0
4229+
SubClassOf C1 C2
4230+
SubClassOf C2 C3
4231+
DisjointClasses C0 C3
4232+
Domain C1 p0
4233+
p0 a0 a1
4234+
4235+
4236+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C3. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?a0 ?p0 ?a1.}
4237+
New general inconsistency:
4238+
General graph number: 268
4239+
ClassAssertion C0 a1
4240+
SubClassOf C1 C2
4241+
SubClassOf C2 C3
4242+
DisjointClasses C0 C3
4243+
Range C1 p0
4244+
p0 a0 a1
4245+
4246+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C2. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?a0 ?p0 ?a1.}
4247+
New general inconsistency:
4248+
General graph number: 269
4249+
ClassAssertion C0 a0
4250+
SubClassOf C1 C2
4251+
DisjointClasses C0 C2
4252+
Domain C1 p0
4253+
p0 a0 a1
4254+
4255+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C1 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C2. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?a0 ?p0 ?a1.}
4256+
New general inconsistency:
4257+
General graph number: 270
4258+
ClassAssertion C0 a1
4259+
SubClassOf C1 C2
4260+
DisjointClasses C0 C2
4261+
Range C1 p0
4262+
p0 a0 a1
4263+
4264+
4265+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?a0 ?p0 ?a1.}
4266+
New general inconsistency:
4267+
General graph number: 271
4268+
ClassAssertion C0 a0
4269+
DisjointClasses C0 C1
4270+
Domain C1 p0
4271+
p0 a0 a1
4272+
4273+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C0 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?a0 ?p0 ?a1.}
4274+
New general inconsistency:
4275+
General graph number: 272
4276+
ClassAssertion C0 a1
4277+
DisjointClasses C0 C1
4278+
Range C1 p0
4279+
p0 a0 a1
4280+
4281+
SELECT * WHERE {?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C2 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?a0 ?p0 ?a1.}
4282+
New general inconsistency:
4283+
General graph number: 273
4284+
ClassAssertion C0 a0
4285+
DisjointClasses C2 C1
4286+
Domain C1 p0
4287+
SubClassOf C0 C2
4288+
p0 a0 a1
4289+
4290+
SELECT * WHERE {?a1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C2 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#range> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?a0 ?p0 ?a1.}
4291+
New general inconsistency:
4292+
General graph number: 274
4293+
ClassAssertion C0 a1
4294+
DisjointClasses C2 C1
4295+
Range C1 p0
4296+
SubClassOf C0 C2
4297+
p0 a0 a1
4298+
4299+
SELECT * WHERE { ?a0 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ?C0. ?C3 <http://www.w3.org/2002/07/owl#disjointWith> ?C1. ?p0 <http://www.w3.org/2000/01/rdf-schema#domain> ?C1. ?C0 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C2. ?C2 <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?C3. ?a0 ?p0 ?a1.}
4300+
New general inconsistency:
4301+
General graph number: 275
4302+
ClassAssertion C0 a0
4303+
DisjointClasses C3 C1
4304+
Domain C1 p0
4305+
SubClassOf C0 C2
4306+
SubClassOf C2 C3
4307+
p0 a0 a1
4308+
4309+
4310+
4311+
4312+
41404313
Stopped

docs/Webpages/data/inconsistencies.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/Webpages/data/ttltojsonConverter.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
number = ""
55
ttl_file = open("INCONSISTENCIES-LOD-a-lot.ttl", 'r')
66
for line in ttl_file.read().split("New general inconsistency: "):
7+
i = 1
78
Graph = line.split("New general inconsistency:")
89
for elem in Graph:
910
codex = []
@@ -20,9 +21,10 @@
2021
codex.append(elemelem)
2122

2223
codexStr = ", ".join(codex)
23-
2424
if number == "1":
25-
json_file.write('{"Graphnumber" : '+number+', "SparqlRequest" :"' + Sparql +'", "Graph" :"' + codexStr+'"}')
25+
i += 1
26+
json_file.write('{"Graphnumber" : '+str(i)+', "SparqlRequest" :"' + Sparql +'", "Graph" :"' + codexStr+'"}')
2627
elif len(number) > 0:
27-
json_file.write(', {"Graphnumber" : '+number+', "SparqlRequest" :"' + Sparql +'", "Graph" :"' + codexStr+'"}')
28+
i += 1
29+
json_file.write(', {"Graphnumber" : '+str(i)+', "SparqlRequest" :"' + Sparql +'", "Graph" :"' + codexStr+'"}')
2830
json_file.write(']')

docs/Webpages/graph-1.html

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8"/>
55
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
66
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
7-
<title>KiteWithoutEquivalence</title>
7+
<title>Kite Graphs</title>
88
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
99
<link rel="stylesheet" type="text/css" href="css/graphs.css">
1010

@@ -29,7 +29,7 @@
2929
var yago2s = JSON.parse(text5);
3030
for (elemSample in sample){
3131
var inconsistencyInfo = graphNumberItems[elemSample]
32-
if ((sample[elemSample].Graph.match(/ClassAssertion/g) || []).length == 1 && sample[elemSample].Graph.indexOf("EquivalentClasses") == -1 && lOD[elemSample].Count > 0){ // KiteWithoutEquivalence, LoopWithoutEquivalence, KiteWithEquivalence
32+
if ((sample[elemSample].Graph.match(/ClassAssertion/g) || []).length == 1 && sample[elemSample].Graph.indexOf("EquivalentClasses") == -1){ // KiteWithoutEquivalence, LoopWithoutEquivalence, KiteWithEquivalence
3333
var graph = sample[elemSample].Graph
3434
var nodeLinks = graph.split(", ");
3535
var nodesEdges = RetrieveNodes(nodeLinks)
@@ -39,26 +39,26 @@
3939
var bodySection = d3.select("body").append("div");
4040
bodySection.append("p").attr("width", "600px").html(sparqlRequest);
4141
build(nodes, links, bodySection)
42-
43-
inconsistencyInfo.LODaLot = lOD[elemSample].Count
44-
if(yago2s[elemSample] == undefined){
45-
inconsistencyInfo.YAGO = 0;
46-
} else{
47-
inconsistencyInfo.YAGO = yago2s[elemSample].Count
48-
}
49-
if(dbpedia[elemSample] == undefined){
50-
inconsistencyInfo.dbpedia = 0;
51-
} else{
52-
inconsistencyInfo.dbpedia = dbpedia[elemSample].Count
53-
}
54-
delete inconsistencyInfo.PerDatasetCount
55-
delete inconsistencyInfo.ClassType
56-
delete inconsistencyInfo.TailEffect
57-
delete inconsistencyInfo.Count
58-
59-
60-
values = []
61-
values.push(inconsistencyInfo);
42+
//
43+
// inconsistencyInfo.LODaLot = lOD[elemSample].Count
44+
// if(yago2s[elemSample] == undefined){
45+
// inconsistencyInfo.YAGO = 0;
46+
// } else{
47+
// inconsistencyInfo.YAGO = yago2s[elemSample].Count
48+
// }
49+
// if(dbpedia[elemSample] == undefined){
50+
// inconsistencyInfo.dbpedia = 0;
51+
// } else{
52+
// inconsistencyInfo.dbpedia = dbpedia[elemSample].Count
53+
// }
54+
// delete inconsistencyInfo.PerDatasetCount
55+
// delete inconsistencyInfo.ClassType
56+
// delete inconsistencyInfo.TailEffect
57+
// delete inconsistencyInfo.Count
58+
//
59+
//
60+
// values = []
61+
// values.push(inconsistencyInfo);
6262
// tablebuild(Object.keys(inconsistencyInfo), values, bodySection)
6363

6464
}

docs/Webpages/graph-2.html

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8"/>
55
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
66
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
7-
<title>KiteWithEquivalence</title>
7+
<title>Loop graphs</title>
88
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
99
<link rel="stylesheet" type="text/css" href="css/graphs.css">
1010

@@ -29,7 +29,7 @@
2929
var yago2s = JSON.parse(text5);
3030
for (elemSample in sample){
3131
var inconsistencyInfo = graphNumberItems[elemSample]
32-
if ((sample[elemSample].Graph.match(/ClassAssertion/g) || []).length == 2 && sample[elemSample].Graph.indexOf("EquivalentClasses") == -1 && lOD[elemSample].Count > 0){ // KiteWithoutEquivalence, LoopWithoutEquivalence, KiteWithEquivalence
32+
if ((sample[elemSample].Graph.match(/ClassAssertion/g) || []).length == 2 && sample[elemSample].Graph.indexOf("EquivalentClasses") == -1 ){ // KiteWithoutEquivalence, LoopWithoutEquivalence, KiteWithEquivalence
3333
var graph = sample[elemSample].Graph
3434
var nodeLinks = graph.split(", ");
3535
var nodesEdges = RetrieveNodes(nodeLinks)
@@ -39,27 +39,12 @@
3939
var bodySection = d3.select("body").append("div");
4040
bodySection.append("p").attr("width", "600px").html(sparqlRequest);
4141
build(nodes, links, bodySection)
42-
43-
inconsistencyInfo.LODaLot = lOD[elemSample].Count
44-
if(yago2s[elemSample] == undefined){
45-
inconsistencyInfo.YAGO = 0;
46-
} else{
47-
inconsistencyInfo.YAGO = yago2s[elemSample].Count
48-
}
49-
if(dbpedia[elemSample] == undefined){
50-
inconsistencyInfo.dbpedia = 0;
51-
} else{
52-
inconsistencyInfo.dbpedia = dbpedia[elemSample].Count
53-
}
54-
delete inconsistencyInfo.PerDatasetCount
55-
delete inconsistencyInfo.ClassType
56-
delete inconsistencyInfo.TailEffect
57-
delete inconsistencyInfo.Count
58-
59-
60-
values = []
61-
values.push(inconsistencyInfo);
62-
tablebuild(Object.keys(inconsistencyInfo), values, bodySection)
42+
//
43+
//
44+
//
45+
// values = []
46+
// values.push(inconsistencyInfo);
47+
// tablebuild(Object.keys(inconsistencyInfo), values, bodySection)
6348

6449
}
6550
}

docs/Webpages/graph-3.html

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8"/>
55
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
66
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
7-
<title>LoopWithoutEquivalence</title>
7+
<title>Domain or range-based graphs</title>
88
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
99
<link rel="stylesheet" type="text/css" href="css/graphs.css">
1010

@@ -29,7 +29,8 @@
2929
var yago2s = JSON.parse(text5);
3030
for (elemSample in sample){
3131
var inconsistencyInfo = graphNumberItems[elemSample]
32-
if ((sample[elemSample].Graph.indexOf("range") > -1 || sample[elemSample].Graph.indexOf("domain") > -1) && lOD[elemSample].Count > 0){ // KiteWithoutEquivalence, LoopWithoutEquivalence, KiteWithEquivalence
32+
33+
if ((sample[elemSample].Graph.indexOf("Range") > -1 || sample[elemSample].Graph.indexOf("Domain") > -1)){ // KiteWithoutEquivalence, LoopWithoutEquivalence, KiteWithEquivalence
3334
var graph = sample[elemSample].Graph
3435
var nodeLinks = graph.split(", ");
3536
var nodesEdges = RetrieveNodes(nodeLinks)
@@ -40,26 +41,11 @@
4041
bodySection.append("p").attr("width", "600px").html(sparqlRequest);
4142
build(nodes, links, bodySection)
4243

43-
inconsistencyInfo.LODaLot = lOD[elemSample].Count
44-
if(yago2s[elemSample] == undefined){
45-
inconsistencyInfo.YAGO = 0;
46-
} else{
47-
inconsistencyInfo.YAGO = yago2s[elemSample].Count
48-
}
49-
if(dbpedia[elemSample] == undefined){
50-
inconsistencyInfo.dbpedia = 0;
51-
} else{
52-
inconsistencyInfo.dbpedia = dbpedia[elemSample].Count
53-
}
54-
delete inconsistencyInfo.PerDatasetCount
55-
delete inconsistencyInfo.ClassType
56-
delete inconsistencyInfo.TailEffect
57-
delete inconsistencyInfo.Count
5844

5945

6046
values = []
6147
values.push(inconsistencyInfo);
62-
tablebuild(Object.keys(inconsistencyInfo), values, bodySection)
48+
// tablebuild(Object.keys(inconsistencyInfo), values, bodySection)
6349

6450
}
6551
}

0 commit comments

Comments
 (0)