Skip to content

Commit

Permalink
Issues #33 (push query to db) and #35 (styling and help) - v0.9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed May 10, 2021
2 parents 4b26086 + 77e2813 commit bfbd5db
Show file tree
Hide file tree
Showing 17 changed files with 641 additions and 50 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "liberal-sydney-sparql-ui",
"version": "0.9.2",
"version": "0.9.3",
"private": true,
"homepage": "https://lmb.cdhr.anu.edu.au/explorer",
"dependencies": {
Expand Down
333 changes: 333 additions & 0 deletions public/examples.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,333 @@
{
"examples": [
{
"nodes": [
{
"x": 0,
"y": 50,
"midX": 50,
"midY": 100,
"id": 1,
"type": "nodeUnknown",
"content": "?",
"isOptional": false,
"amalgam": {
"type": "UnknownClassAmalgam",
"inferredClass": {
"iri": "http://lmb.cdhr.anu.edu.au/Person",
"expansion": "http://lmb.cdhr.anu.edu.au",
"name": "Person",
"label": "Person"
}
}
},
{
"x": 318,
"y": 265,
"midX": 338,
"midY": 285,
"id": 3,
"type": "nodeUnknown",
"content": "?",
"isOptional": false,
"amalgam": {
"type": "UnknownClassAmalgam",
"inferredClass": {
"iri": "http://lmb.cdhr.anu.edu.au/Costume",
"expansion": "http://lmb.cdhr.anu.edu.au",
"name": "Costume",
"label": "Costume"
}
}
},
{
"x": 389,
"y": 110,
"midX": 409,
"midY": 130,
"id": 5,
"type": "nodeLiteral",
"content": "\"Mrs\"",
"isOptional": false,
"amalgam": null
},
{
"x": 123,
"y": 342,
"midX": 143,
"midY": 362,
"id": 6,
"type": "nodeSelectedUnknown",
"content": "?",
"isOptional": false,
"amalgam": null
}
],
"nodeCounter": 7,
"edges": [
{
"id": 2,
"content": "has costume",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 1,
"intersectX": 50,
"intersectY": 100
},
"object": {
"id": 3,
"intersectX": 326.5787187994942,
"intersectY": 286.99504572921774
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_costume"
},
{
"id": 4,
"content": "has title",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 1,
"intersectX": 50,
"intersectY": 100
},
"object": {
"id": 5,
"intersectX": 395.343641168507,
"intersectY": 128.8588000976468
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_title"
},
{
"id": 5,
"content": "has surname",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 1,
"intersectX": 50,
"intersectY": 100
},
"object": {
"id": 6,
"intersectX": 153.59009545284934,
"intersectY": 345.9212022132683
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_surname"
}
],
"edgeCounter": 6
},
{
"nodes": [
{
"x": 0,
"y": 50,
"midX": 50,
"midY": 100,
"id": 1,
"type": "nodeUnknown",
"content": "?",
"isOptional": false,
"amalgam": {
"type": "UnknownClassAmalgam",
"inferredClass": {
"iri": "http://lmb.cdhr.anu.edu.au/Person",
"expansion": "http://lmb.cdhr.anu.edu.au",
"name": "Person",
"label": "Person"
}
}
},
{
"x": 352,
"y": 129,
"midX": 372,
"midY": 149,
"id": 4,
"type": "nodeLiteral",
"content": "\"Mrs\"",
"isOptional": false,
"amalgam": null
},
{
"x": 111,
"y": 286,
"midX": 131,
"midY": 306,
"id": 5,
"type": "nodeSelectedUnknown",
"content": "?surname",
"isOptional": false,
"amalgam": null
}
],
"nodeCounter": 6,
"edges": [
{
"id": 3,
"content": "has title",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 1,
"intersectX": 50,
"intersectY": 100
},
"object": {
"id": 4,
"intersectX": 358.6223376099571,
"intersectY": 146.9642687667326
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_title"
},
{
"id": 4,
"content": "has surname",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 1,
"intersectX": 50,
"intersectY": 100
},
"object": {
"id": 5,
"intersectX": 139.7193814705676,
"intersectY": 290.75472096445003
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_surname"
}
],
"edgeCounter": 5
},
{
"nodes": [
{
"x": 0,
"y": 50,
"midX": 50,
"midY": 100,
"id": 1,
"type": "nodeUnknown",
"content": "?",
"isOptional": false,
"amalgam": {
"type": "UnknownClassAmalgam",
"inferredClass": {
"iri": "http://lmb.cdhr.anu.edu.au/Person",
"expansion": "http://lmb.cdhr.anu.edu.au",
"name": "Person",
"label": "Person"
}
}
},
{
"x": 234,
"y": 296,
"midX": 254,
"midY": 316,
"id": 3,
"type": "nodeUnknown",
"content": "?",
"isOptional": false,
"amalgam": {
"type": "UnknownClassAmalgam",
"inferredClass": {
"iri": "http://lmb.cdhr.anu.edu.au/Costume",
"expansion": "http://lmb.cdhr.anu.edu.au",
"name": "Costume",
"label": "Costume"
}
}
},
{
"x": 603,
"y": 236,
"midX": 623,
"midY": 256,
"id": 5,
"type": "nodeSelectedUnknown",
"content": "?category",
"isOptional": false,
"amalgam": null
},
{
"x": 379,
"y": 103,
"midX": 399,
"midY": 123,
"id": 6,
"type": "nodeSelectedUnknown",
"content": "?surname",
"isOptional": false,
"amalgam": null
}
],
"nodeCounter": 7,
"edges": [
{
"id": 2,
"content": "has costume",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 1,
"intersectX": 50,
"intersectY": 100
},
"object": {
"id": 3,
"intersectX": 249.5393117001242,
"intersectY": 309.7720969155152
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_costume"
},
{
"id": 4,
"content": "has costume category",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 3,
"intersectX": 254,
"intersectY": 316
},
"object": {
"id": 5,
"intersectX": 603.1407343480364,
"intersectY": 289.74881696631303
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_costume_category"
},
{
"id": 5,
"content": "has surname",
"type": "edgeKnown",
"isOptional": false,
"subject": {
"id": 1,
"intersectX": 50,
"intersectY": 100
},
"object": {
"id": 6,
"intersectX": 379.4818368604998,
"intersectY": 146.07529644751054
},
"complete": true,
"iri": "http://lmb.cdhr.anu.edu.au/has_surname"
}
],
"edgeCounter": 6
}
]
}
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Liberal Sydney SPARQL UI</title>
<title>LMB SPARQL Explorer</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
Loading

0 comments on commit bfbd5db

Please sign in to comment.