Skip to content

Commit

Permalink
Merge branch 'master' into GDB-4394-fix-class-hierarchy-triple-instances
Browse files Browse the repository at this point in the history
  • Loading branch information
desislava-hristova-ontotext authored Mar 30, 2020
2 parents adb2514 + 7dbc5bf commit 92b6728
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench",
"version": "1.3.0-RC3",
"version": "1.3.0-RC4",
"description": "The web application for GraphDB APIs",
"scripts": {
"build": "webpack --config=webpack.config.prod.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ function SimilarityCtrl($scope, $interval, toastr, $repositories, ModalService,
};

const iriForQuery = function (iri) {
// Do not put brackets on nested triples
if (iri.startsWith("<<") && iri.endsWith(">>")) {
return iri;
}
return '<' + iri + '>';
};

Expand Down Expand Up @@ -195,7 +199,7 @@ function SimilarityCtrl($scope, $interval, toastr, $repositories, ModalService,

$scope.lastSearch.termOrSubject = termOrSubject;

const headers = {Accept: 'application/sparql-results+json'};
const headers = {Accept: 'application/x-sparqlstar-results+json, application/sparql-results+json;q=0.9, */*;q=0.8'};
let sparqlQuery;
if (searchType === 'searchAnalogical') {
sparqlQuery = ($scope.selected.analogicalQuery) ? $scope.selected.analogicalQuery : $scope.searchQueries['analogical'];
Expand Down
2 changes: 1 addition & 1 deletion test-cypress/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test-cypress/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graphdb-workbench-tests",
"version": "1.3.0-RC3",
"version": "1.3.0-RC4",
"description": "Cypress tests for GraphDB workbench",
"scripts": {
"start": "cypress open",
Expand Down

0 comments on commit 92b6728

Please sign in to comment.