File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -547,9 +547,8 @@ export default class IndexController extends Controller {
547547 async isEventSubmitRule ( rule , prefixes ) {
548548 const options = { outputType : 'string' } ;
549549 const query = `${ prefixes ? prefixes . join ( '\n' ) : '' } \n${ rule } ` ;
550- // TODO: We should replace ?id with the actual form URI.
551550 const reasonerResult = await n3reasoner (
552- '?id <http://example.org/event> <http://example.org/Submit> .' ,
551+ `< ${ this . model . loadedFormUri } > <http://example.org/event> <http://example.org/Submit> .` ,
553552 query ,
554553 options ,
555554 ) ;
Original file line number Diff line number Diff line change @@ -98,9 +98,8 @@ export default class IndexRoute extends Route {
9898
9999 // Get policies from footprint tasks.
100100 const options = { outputType : 'string' } ;
101- // TODO: We should replace ?id with the actual form URI.
102101 const reasonerResult = await n3reasoner (
103- `?id <http://example.org/event> <http://example.org/Submit> .` ,
102+ `< ${ formUri } > <http://example.org/event> <http://example.org/Submit> .` ,
104103 content ,
105104 options ,
106105 ) ;
You can’t perform that action at this time.
0 commit comments