-
Notifications
You must be signed in to change notification settings - Fork 10
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
78 additions
and
31 deletions.
There are no files selected for viewing
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
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
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
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
4 changes: 2 additions & 2 deletions
4
relaxng/indep_valid_modules/oriented_default_expansion_module.rnc
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include "../modules/oriented_default_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" | ||
include "../modules/oriented_default_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" |
4 changes: 2 additions & 2 deletions
4
relaxng/indep_valid_modules/oriented_non-default_expansion_module.rnc
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include "../modules/oriented_non-default_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" | ||
include "../modules/oriented_non-default_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" |
4 changes: 2 additions & 2 deletions
4
relaxng/indep_valid_modules/val_non-default_expansion_module.rnc
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include "../modules/val_non-default_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" | ||
include "../modules/val_non-default_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
include "../modules/xml_lang_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" | ||
include "../modules/xml_lang_expansion_module.rnc" | ||
include "../modules/init_expansion_module.rnc" |
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
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
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
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
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
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
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
47 changes: 47 additions & 0 deletions
47
test/rnc-test-suites/web-test-suite/naffologeq_curies_variants.ruleml
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,47 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<?xml-model href="../../../relaxng/drivers/naffologeq_relaxed.rnc" | ||
type="application/relax-ng-compact-syntax"?> | ||
<RuleML xmlns="http://ruleml.org/spec" | ||
xmlns:this="http://deliberation.ruleml.org/1.02/test/iri-test-suite/datalog_curies.ruleml" | ||
xmlns:sort="http://example.org/ontology#" | ||
xmlns:ext="http://example.org/ruleml-extension/vocab#" | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<!-- dc:rights [ 'Copyright 2015 RuleML Inc. - Licensed under the RuleML Specification License, Version 1.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://ruleml.org/licensing/RSL1.0-RuleML. Disclaimer: THIS SPECIFICATION IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, ..., EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. See the License for the specifics governing permissions and limitations under the License.' ]--> | ||
<!-- note the addition of the XML Schema namespace because a built-in datatype is used --> | ||
<!-- a syntactic example rulebase for testing the Datalog RuleML sublanguage --> | ||
<act index="1"> | ||
<Assert node="this:#assert1" mapClosure="ext:exists!" mapDirection="ext:greencut" mapMaterial="ext:intuitionistic"> | ||
<formula> | ||
<Implies node="http://example.org#rule1" closure="ext:none" material="ext:indicative" direction="ext:cut"> | ||
<if> | ||
<And> | ||
<formula> | ||
<Atom> | ||
<op><Rel iri="_:" node="this:#rel1">friend</Rel></op> | ||
<arg index=" 1"><Ind iri="d:e" node="e:f">Jane</Ind></arg> | ||
<arg index="2 "><Skolem node="this:#sk1">constant b</Skolem></arg> | ||
<arg index=" 3 "><Data xsi:type="xs:string">test</Data></arg> | ||
<arg index="4"><Data xsi:type="xs:integer">12</Data></arg> | ||
<arg index="5"><Data node="this:#data1" xsi:type="integer">12</Data></arg> | ||
<arg index="6"><Data node="this:#data2">12a <xs:integer/></Data></arg> | ||
<arg index="7"><Data>tomorrow</Data></arg> | ||
<arg index="8"><Data xsi:type="xs:dateTime">2002-10-10T17:00:00Z</Data></arg> | ||
<arg index="9"><Data>test12</Data></arg> | ||
<arg index="10"><Ind type="sort:person">Jack</Ind></arg> | ||
<arg index="11"><Var type="sort:car">y</Var></arg> | ||
<arg index="12"><Expr><Fun per="ext:lazy" val="ext:0..2"></Fun></Expr></arg> | ||
</Atom> | ||
</formula> | ||
</And> | ||
</if> | ||
<then> | ||
<Equal oriented="ext:reverse"> | ||
<Ind>a</Ind> | ||
<Expr><Fun>f</Fun><Var>x</Var></Expr> | ||
</Equal> | ||
</then> | ||
</Implies> | ||
</formula> | ||
</Assert> | ||
</act> | ||
</RuleML> |