Configuration de LinkedWiki
Aller à la navigation
Aller à la recherche
SPARQL services are configurated by the file LinkedWiki/extension.json and the file LocalSettings.php of wiki. Details
configurated SPARQL services
Configuration: https://data.escr.fr/schema
| Key | Value |
|---|---|
| debug | Disable |
| isReadOnly | Disable |
| proxyHost | |
| proxyPort | 0 |
| endpointRead | http://127.0.0.1:8890/sparql/ |
| endpointWrite | http://127.0.0.1:8890/sparql-auth/ |
| login | see file: LocalSettings.php |
| password | see file: LocalSettings.php |
| getTypeRDFDatabase | virtuoso |
| HTTPMethodForRead | POST |
| HTTPMethodForWrite | POST |
| nameParameterRead | query |
| nameParameterWrite | update |
| storageMethodClass | DatabaseWikiESCRSchema |
| getQueryDeleteSubject | DELETE
{GRAPH <https://data.escr.fr/schema>
{ ?subject ?property ?value . }
}
WHERE
{GRAPH <https://data.escr.fr/schema>
{ ?subject ?property ?value . }
} |
| getQueryInsertValue | INSERT DATA
{GRAPH <https://data.escr.fr/schema>
{
?subject ?property ?value .
}
} |
| getQueryReadValue | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr/schema>
{
?subject ?property ?value .
}
} |
| getQueryReadStringWithTagLang | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr/schema>
{
?subject ?property ?value .
}
FILTER langMatches( lang(?value), ?lang )
} |
| getQueryReadStringWithoutTagLang | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr/schema>
{
?subject ?property ?value .
}
FILTER ( lang(?value) = "" )
} |
| getQueryLoadData | LOAD <http://example.org/file.ttl> INTO GRAPH <https://data.escr.fr/schema> |
| lang | fr |
Configuration: https://data.escr.fr/data
| Key | Value |
|---|---|
| debug | Disable |
| isReadOnly | Disable |
| proxyHost | |
| proxyPort | 0 |
| endpointRead | http://127.0.0.1:8890/sparql/ |
| endpointWrite | http://127.0.0.1:8890/sparql-auth/ |
| login | see file: LocalSettings.php |
| password | see file: LocalSettings.php |
| getTypeRDFDatabase | virtuoso |
| HTTPMethodForRead | POST |
| HTTPMethodForWrite | POST |
| nameParameterRead | query |
| nameParameterWrite | update |
| storageMethodClass | DatabaseWikiESCRData |
| getQueryDeleteSubject | DELETE
{GRAPH <https://data.escr.fr/data>
{ ?subject ?property ?value . }
}
WHERE
{GRAPH <https://data.escr.fr/data>
{ ?subject ?property ?value . }
} |
| getQueryInsertValue | INSERT DATA
{GRAPH <https://data.escr.fr/data>
{
?subject ?property ?value .
}
} |
| getQueryReadValue | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr/data>
{
?subject ?property ?value .
}
} |
| getQueryReadStringWithTagLang | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr/data>
{
?subject ?property ?value .
}
FILTER langMatches( lang(?value), ?lang )
} |
| getQueryReadStringWithoutTagLang | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr/data>
{
?subject ?property ?value .
}
FILTER ( lang(?value) = "" )
} |
| getQueryLoadData | LOAD <http://example.org/file.ttl> INTO GRAPH <https://data.escr.fr/data> |
| lang | fr |
Configuration by default: https://data.escr.fr
| Key | Value |
|---|---|
| debug | Disable |
| isReadOnly | Enable |
| proxyHost | |
| proxyPort | 0 |
| endpointRead | https://data.escr.fr/sparql/ |
| endpointWrite | |
| login | see file: LocalSettings.php |
| password | see file: LocalSettings.php |
| getTypeRDFDatabase | virtuoso |
| HTTPMethodForRead | POST |
| HTTPMethodForWrite | POST |
| nameParameterRead | query |
| nameParameterWrite | update |
| storageMethodClass | DatabaseWikiESCR |
| getQueryDeleteSubject | DELETE
{GRAPH <https://data.escr.fr>
{ ?subject ?property ?value . }
}
WHERE
{GRAPH <https://data.escr.fr>
{ ?subject ?property ?value . }
} |
| getQueryInsertValue | INSERT DATA
{GRAPH <https://data.escr.fr>
{
?subject ?property ?value .
}
} |
| getQueryReadValue | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr>
{
?subject ?property ?value .
}
} |
| getQueryReadStringWithTagLang | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr>
{
?subject ?property ?value .
}
FILTER langMatches( lang(?value), ?lang )
} |
| getQueryReadStringWithoutTagLang | SELECT DISTINCT ?value
WHERE
{GRAPH <https://data.escr.fr>
{
?subject ?property ?value .
}
FILTER ( lang(?value) = "" )
} |
| getQueryLoadData | LOAD <http://example.org/file.ttl> INTO GRAPH <https://data.escr.fr> |
| lang | fr |
Configuration by default with the parameter "ConfigSPARQLServices"
| Key | Value |
|---|---|
| debug | Disable |
| isReadOnly | Enable |
| proxyHost | |
| proxyPort | 0 |
| endpointRead | http://www.example.org/sparql |
| endpointWrite | |
| login | see file: LocalSettings.php |
| password | see file: LocalSettings.php |
| getTypeRDFDatabase | virtuoso |
| HTTPMethodForRead | POST |
| HTTPMethodForWrite | POST |
| nameParameterRead | query |
| nameParameterWrite | update |
| storageMethodClass | SimpleStorageMethod |
| getQueryDeleteSubject | DELETE
{ ?subject ?property ?value . }
WHERE
{ ?subject ?property ?value . } |
| getQueryInsertValue | INSERT DATA
{
?subject ?property ?value .
} |
| getQueryReadValue | SELECT DISTINCT ?value
WHERE
{
?subject ?property ?value .
} |
| getQueryReadStringWithTagLang | SELECT DISTINCT ?value
WHERE
{
?subject ?property ?value .
FILTER langMatches( lang(?value), ?lang )
} |
| getQueryReadStringWithoutTagLang | SELECT DISTINCT ?value
WHERE
{
?subject ?property ?value .
FILTER ( lang(?value) = "" )
} |
| getQueryLoadData | LOAD <http://example.org/file.ttl> |
| lang | en |
Configuration: http://www.wikidata.org
| Key | Value |
|---|---|
| debug | Disable |
| isReadOnly | Enable |
| proxyHost | |
| proxyPort | 0 |
| endpointRead | https://query.wikidata.org/sparql |
| endpointWrite | |
| login | see file: LocalSettings.php |
| password | see file: LocalSettings.php |
| getTypeRDFDatabase | blazegraph |
| HTTPMethodForRead | GET |
| HTTPMethodForWrite | POST |
| nameParameterRead | query |
| nameParameterWrite | update |
| storageMethodClass | WikidataStorageMethod |
| getQueryDeleteSubject | |
| getQueryInsertValue | |
| getQueryReadValue | SELECT DISTINCT ?value
WHERE
{
?subject ?property ?value .
} |
| getQueryReadStringWithTagLang | SELECT DISTINCT ?value
WHERE
{
?subject ?property ?value .
FILTER ( lang(?value) = ?lang )
} |
| getQueryReadStringWithoutTagLang | SELECT DISTINCT ?value
WHERE
{
?subject ?property ?value .
FILTER ( lang(?value) = "" )
} |
| getQueryLoadData | |
| lang | en |
Other options
| Key | Value |
|---|---|
| SPARQLServiceByDefault ($wgLinkedWikiSPARQLServiceByDefault) | https://data.escr.fr |
| SPARQLServiceSaveDataOfWiki ($wgLinkedWikiSPARQLServiceSaveDataOfWiki) | https://data.escr.fr/schema |
| CheckRDFPage ($wgLinkedWikiCheckRDFPage) | Enable |
| QuerySparqlInSpecialPage ($wgLinkedWikiQuerySparqlInSpecialPage) | SELECT * WHERE
{ ?x ?y ?z . }
LIMIT 15 |
| SPARQLParserTableByDefault ($wgLinkedWikiSPARQLParserTableByDefault) | html |