Skip to content

Commit

Permalink
Merge branch 'master' of github.com:sparna-git/Sparnatural
Browse files Browse the repository at this point in the history
  • Loading branch information
tfrancart committed Jan 21, 2022
2 parents 33ab160 + 2ad884c commit 901185a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Sparnatural offers currently 6 ways of selecting a value for a criteria : autoco

### Boolean selection

TODO
![](documentation/15-boolean.png)

### No value selection

Expand All @@ -98,8 +98,6 @@ This is useful when a type a of entity is used only to navigate the graph, but w
![](documentation/13-no-value.png)




## Multilingual

Sparnatural is multilingual and supports displaying labels of classes and properties in multiple languages.
Expand All @@ -120,13 +118,15 @@ Sparnatural does not support the creation of UNION, SERVICE, BIND, etc...

### SPARQL endpoint needs to be CORS-enabled

To send SPARQL queries to a service that is not hosted on the same domain name as the web page in which Sparnatural is included, the SPARQL endpoint needs to allow [Cross-Origin Resource Sharing (CORS)](https://enable-cors.org/).
To send SPARQL queries to a service that is not hosted on the same domain name as the web page in which Sparnatural is included, the SPARQL endpoint needs to allow [Cross-Origin Resource Sharing (CORS)](https://enable-cors.org/). But we have SPARQL proxies for those who are not, don't worry ;-)

# Integration

## Specification of classes and properties

The component is configurable using a [JSON(-LD) ontology file](https://github.com/sparna-git/Sparnatural/wiki/JSON-based-configuration), or an [OWL configuration file](https://github.com/sparna-git/Sparnatural/wiki/OWL-based-configuration) editable in Protégé.. Look at the specification files of [the demos](https://github.com/sparna-git/sparnatural.eu/tree/main/demos) to get an idea. A JSON(-LD) configuration file contains :
The component is configurable using a an [OWL configuration file](https://github.com/sparna-git/Sparnatural/wiki/OWL-based-configuration) editable in Protégé.. Look at the specification files of [the demos](https://github.com/sparna-git/sparnatural.eu/tree/main/demos) to get an idea.

Alternatively one can also use a [JSON(-LD) ontology file](https://github.com/sparna-git/Sparnatural/wiki/JSON-based-configuration). A JSON(-LD) configuration file contains :

### Class definition

Expand Down Expand Up @@ -169,7 +169,7 @@ It is possible to directly use font-awesome icons in place of icons embedded in

## How to integrate Sparnatural in a webpage

Have a look at `index.html` in the demos folder to see how the component is integrated in a webpage.
Look at [this page in the wiki documentation](https://github.com/sparna-git/Sparnatural/wiki/Javascript-integration).


## Map the query structure to a different graph structure
Expand Down

0 comments on commit 901185a

Please sign in to comment.