
Company News
/Security News
Socket Selected for OpenAI's Cybersecurity Grant Program
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.
EYE mock solving your n3 reasoning on a server instead of client side Prolog execution
EYE mock solving your n3 reasoning on a server instead of client side Prolog execution
Install the package via NPM
npm install eye-mock
Import and use the function in your code
import { n3reasoner } from 'eye-mock';
const data = `
@prefix : <urn:example.org:> .
:Alice a :Person .
{ ?S a :Person } => { ?S a :Human } .
`;
const query = `{?S ?P ?O . } => {?S ?P ?O . } .`;
const options = { output: "derivations", outputType: "string", bnodeRelabeling: true };
const result = await n3reasoner(data, query, options);
The options parameter is optional and can be used to configure the reasoning process. The following options are available:
output: What to output with implicit queries.
none: no implicit query is passedderivations: output only new derived triples, a.k.a --pass-only-new (default)deductive_closure: output deductive closure, a.k.a --passdeductive_closure_plus_rules: output deductive closure plus rules, a.k.a --pass-allgrounded_deductive_closure_plus_rules: ground the rules and output deductive closure plus rules, a.k.a --pass-all-groundoutputType: The type of output
string: output as string (default)quads: output as array of RDF/JS QuadsbnodeRelabeling: Whether or not to perform bnodeRelabeling
true: perform bnodeRelabeling (default)false: do not perform bnodeRelabelingFAQs
EYE mock solving your n3 reasoning on a server instead of client side Prolog execution
The npm package eye-mock receives a total of 3 weekly downloads. As such, eye-mock popularity was classified as not popular.
We found that eye-mock 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.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.