
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@ezs/sparql
Advanced tools
Ce plugin propose une série d'instructions liée à l’usage d’un SPARQL Endpoint.
npm install @ezs/sparql
Take a query share link from a YASGUI editor and convert it into an object
which contains the query and the endpoint. Then, it could be used by
SPARQLQuery instruction.
{
"linkQuery": "https://data.istex.fr/triplestore/sparql/#query=SELECT+DISTINCT+%3Fg%2C+count(*)+AS+%3Fnb+%0AWHERE+%0A%7B+%0A%09graph+%3Fg+%7B+%3Fs+%3Fp+%3Fo+%7D+%0A%7D+%0ALIMIT+3&contentTypeConstruct=text%2Fturtle&endpoint=https%3A%2F%2Fdata.istex.fr%2Fsparql%2F&outputFormat=table"
}
Output:
{
"query": "SELECT DISTINCT ?g, count(*) AS ?nb WHERE { graph ?g { ?s ?p ?o } } LIMIT 3",
"endpoint": "https://data.istex.fr/sparql/"
}
Take a SPARQL query and endpoint and send in output the execution result in JSON format.
Input:{
"query": "SELECT DISTINCT ?g, count(*) AS ?nb WHERE { graph ?g { ?s ?p ?o } } LIMIT 3",
"endpoint": "https://data.istex.fr/sparql/"
}
Ouput:
{ "head": { "link": [], "vars": ["g", "nb"] },
"results": { "distinct": false, "ordered": true, "bindings": [
{ "g": {
"type": "uri",
"value": "http://www.openlinksw.com/schemas/virtrdf#"
},
"nb": {
"type": "typed-literal",
"datatype": "http://www.w3.org/2001/XMLSchema#integer",
"value": "2477"
}},
{ "g": {
"type": "uri",
"value": "https://bibliography.data.istex.fr/notice/graph"
},
"nb": {
"type": "typed-literal",
"datatype": "http://www.w3.org/2001/XMLSchema#integer",
"value": "308023584"
}},
{ "g": {
"type": "uri",
"value": "https://scopus-category.data.istex.fr/graph"
},
"nb": {
"type": "typed-literal",
"datatype": "http://www.w3.org/2001/XMLSchema#integer",
"value": "2542"
}}
]}
}
Format SPARQLQuery result as a LODEX routine.
The input should contain at least two fields:
Warning: input's second field value should contain an integer
See SPARQLQuery
Input:{ "head": { "link": [], "vars": ["g", "nb"] },
"results": { "distinct": false, "ordered": true, "bindings": [
{ "g": {
"type": "uri",
"value": "http://www.openlinksw.com/schemas/virtrdf#"
},
"nb": {
"type": "typed-literal",
"datatype": "http://www.w3.org/2001/XMLSchema#integer",
"value": "2477"
}},
{ "g": {
"type": "uri",
"value": "https://bibliography.data.istex.fr/notice/graph" },
"nb": {
"type": "typed-literal",
"datatype": "http://www.w3.org/2001/XMLSchema#integer",
"value": "308023584" }},
{ "g": {
"type": "uri",
"value": "https://scopus-category.data.istex.fr/graph"},
"nb": {
"type":
"typed-literal",
"datatype": "http://www.w3.org/2001/XMLSchema#integer",
"value": "2542"
}}
]}
}
Output:
{
"total": 3,
"data": [{
"_id": "http://www.openlinksw.com/schemas/virtrdf#",
"value": 2477
}, {
"_id": "https://bibliography.data.istex.fr/notice/graph",
"value": 308023584
}, {
"_id": "https://scopus-category.data.istex.fr/graph",
"value": 2542
}
]
}
FAQs
SPARQL module for ezs
We found that @ezs/sparql demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.