Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
upnd
rcf-sparnatural
Commits
d4a2ab10a447
Commit
5e042092
authored
Jan 28, 2021
by
Fabien Amarger
Browse files
feat(endpoint): Add the prod sparql endpoint
parent
ac260cbaa1c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/index.html
View file @
d4a2ab10
...
...
@@ -78,8 +78,8 @@
<div
class=
"col-md-12"
>
<span
style=
"font-size: 90%;"
>
Les requêtes sont envoyées à
<a
id=
"endpoint"
href=
"http://
localhost:3030/rcf
/sparql"
>
http://
localhost:3030/rcf
/sparql
</a
<a
id=
"endpoint"
href=
"http
s
://
rcf.demo.logilab.fr
/sparql"
>
http
s
://
rcf.demo.logilab.fr
/sparql
</a
>
</span>
</div>
...
...
@@ -238,7 +238,7 @@
);
return
queryString
;
};
semanticPostProcess
=
function
(
queryString
,
queryJson
)
{
queryString
=
sparnatural
.
expandSparql
(
queryString
);
queryString
=
prefixesPostProcess
(
queryString
,
queryJson
);
...
...
@@ -274,9 +274,8 @@
backgroundBaseColor
:
"
2,184,117
"
,
autocomplete
:
null
,
list
:
rangeBasedHandler
,
defaultEndpoint
:
"
http://localhost:3030/rcf/sparql
"
,
sparqlPrefixes
:
{
},
defaultEndpoint
:
"
https://rcf.demo.logilab.fr/sparql
"
,
sparqlPrefixes
:
{},
onQueryUpdated
:
function
(
queryString
,
queryJson
)
{
queryString
=
semanticPostProcess
(
queryString
,
queryJson
);
queryString
=
rdfsLabelPostProcess
(
queryString
,
queryJson
);
...
...
@@ -294,8 +293,6 @@
});
});
var
yasqe
=
YASQE
.
fromTextArea
(
document
.
getElementById
(
"
yasqe
"
),
{
sparql
:
{
showQueryButton
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment