-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
70,106 additions
and
21 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
-------------------------- | ||
Workplace policy benchmark | ||
-------------------------- | ||
|
||
Testing scalability |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# ------------------ | ||
# Generating test dl | ||
# ------------------ | ||
|
||
@prefix e: <http://eulersharp.sourceforge.net/2003/03swap/log-rules#>. | ||
@prefix : <urn:example:>. | ||
|
||
# workplace data generation | ||
{(?F ?N) :gen true} <= { | ||
("open" ?F "write" ?FD) e:derive true. | ||
("tell" ?FD) e:derive true. | ||
("format" "@prefix : <urn:example:>.~n~n" ()) e:derive true. | ||
("between" 1 ?N ?I) e:derive true. | ||
("format" ":alice~d :does :log_off_at_end_of_shift.~n" (?I)) e:derive true. | ||
("format" ":bob~d :does :work_related_task.~n" (?I)) e:derive true. | ||
("format" ":bob~d :does :log_off_at_end_of_shift.~n" (?I)) e:derive true. | ||
("format" ":carol~d :does :access_social_media.~n" (?I)) e:derive true. | ||
("fail") e:derive true. | ||
}. | ||
{(?F ?N) :gen true} <= { | ||
("told") e:derive true. | ||
}. | ||
|
||
# immediate goal | ||
true <= { | ||
("workplace-data.ttl" 10000) :gen true. | ||
}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
eye --quiet gened.n3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#!/bin/bash | ||
eye --quiet --skolem-genid 8b98b360-9a70-4845-b52c-c675af60ad01 --wcache https://eyereasoner.github.io/eye/reasoning .. --nope https://eyereasoner.github.io/eye/reasoning/workplace-benchmark/workplace.n3 --turtle https://eyereasoner.github.io/eye/reasoning/workplace-benchmark/workplace-data.ttl --query https://eyereasoner.github.io/eye/reasoning/workplace-benchmark/workplace-query.n3 --output workplace-answer.n3 |
Oops, something went wrong.