eyeling 1.34.4 → 1.34.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -90
- package/bin/eyeling.cjs +4 -56
- package/dist/browser/eyeling.browser.js +0 -1
- package/examples/context-schema-audit.n3 +1 -1
- package/eyeling.js +0 -1
- package/index.d.ts +3 -37
- package/index.js +1 -90
- package/lib/cli.js +0 -1
- package/package.json +3 -12
- package/test/eyelang/conformance/README.md +9 -11
- package/test/eyelang/conformance/cases/001_fact_output.pl +4 -0
- package/test/eyelang/conformance/cases/002_rule_recursion.pl +7 -0
- package/test/eyelang/conformance/cases/002_rule_recursion.query +1 -0
- package/test/eyelang/conformance/cases/003_terms_and_readback.pl +16 -0
- package/test/eyelang/conformance/cases/003_terms_and_readback.query +1 -0
- package/test/eyelang/conformance/cases/004_conjunction_and_parentheses.pl +5 -0
- package/test/eyelang/conformance/cases/004_conjunction_and_parentheses.query +1 -0
- package/test/eyelang/conformance/cases/005_list_deconstruction.pl +6 -0
- package/test/eyelang/conformance/cases/005_list_deconstruction.query +1 -0
- package/test/eyelang/conformance/cases/006_comma_formula_data.pl +4 -0
- package/test/eyelang/conformance/cases/006_comma_formula_data.query +1 -0
- package/test/eyelang/conformance/cases/007_anonymous_variables.pl +5 -0
- package/test/eyelang/conformance/cases/007_anonymous_variables.query +1 -0
- package/test/eyelang/conformance/cases/008_graphic_atoms.pl +6 -0
- package/test/eyelang/conformance/cases/008_graphic_atoms.query +1 -0
- package/test/eyelang/conformance/cases/009_comments_and_whitespace.pl +5 -0
- package/test/eyelang/conformance/cases/009_comments_and_whitespace.query +1 -0
- package/test/eyelang/conformance/cases/010_variable_scope_and_reuse.pl +8 -0
- package/test/eyelang/conformance/cases/010_variable_scope_and_reuse.query +1 -0
- package/test/eyelang/conformance/cases/011_predicate_arity.pl +6 -0
- package/test/eyelang/conformance/cases/011_predicate_arity.query +1 -0
- package/test/eyelang/conformance/cases/012_nested_compound_unification.pl +5 -0
- package/test/eyelang/conformance/cases/012_nested_compound_unification.query +1 -0
- package/test/eyelang/conformance/cases/013_multiple_clauses_order.pl +6 -0
- package/test/eyelang/conformance/cases/013_multiple_clauses_order.query +1 -0
- package/test/eyelang/conformance/cases/014_failure_filters_answers.pl +7 -0
- package/test/eyelang/conformance/cases/014_failure_filters_answers.query +1 -0
- package/test/eyelang/conformance/cases/015_improper_list_unification.pl +6 -0
- package/test/eyelang/conformance/cases/015_improper_list_unification.query +1 -0
- package/test/eyelang/conformance/cases/016_zero_arity_compound.pl +4 -0
- package/test/eyelang/conformance/cases/016_zero_arity_compound.query +1 -0
- package/test/eyelang/conformance/cases/017_three_step_recursion.pl +8 -0
- package/test/eyelang/conformance/cases/017_three_step_recursion.query +1 -0
- package/test/eyelang/conformance/cases/018_quoted_atom_readback.pl +6 -0
- package/test/eyelang/conformance/cases/018_quoted_atom_readback.query +1 -0
- package/test/eyelang/conformance/cases/019_parenthesized_three_conjuncts.pl +7 -0
- package/test/eyelang/conformance/cases/019_parenthesized_three_conjuncts.query +1 -0
- package/test/eyelang/conformance/cases/020_nested_list_terms.pl +5 -0
- package/test/eyelang/conformance/cases/020_nested_list_terms.query +1 -0
- package/test/eyelang/conformance/cases/021_repeated_variable_head.pl +7 -0
- package/test/eyelang/conformance/cases/022_rule_head_structure.pl +5 -0
- package/test/eyelang/conformance/cases/023_quoted_escapes_readback.pl +5 -0
- package/test/eyelang/conformance/cases/024_numeric_literal_readback.pl +6 -0
- package/test/eyelang/conformance/cases/025_body_parentheses_with_formula_data.pl +5 -0
- package/test/eyelang/conformance/cases/026_underscore_named_variable_reuse.pl +5 -0
- package/test/eyelang/conformance/cases/027_default_derived_output.pl +5 -0
- package/test/eyelang/conformance/cases/028_materialize_focus.pl +5 -0
- package/test/eyelang/conformance/cases/029_arithmetic_and_comparison.pl +11 -0
- package/test/eyelang/conformance/cases/029_arithmetic_and_comparison.query +1 -0
- package/test/eyelang/conformance/cases/030_strings_and_atoms.pl +4 -0
- package/test/eyelang/conformance/cases/030_strings_and_atoms.query +1 -0
- package/test/eyelang/conformance/cases/031_lists_aggregation_ordering.pl +10 -0
- package/test/eyelang/conformance/cases/031_lists_aggregation_ordering.query +1 -0
- package/test/eyelang/conformance/cases/032_holds_parts.pl +4 -0
- package/test/eyelang/conformance/cases/033_negation_once_generators.pl +7 -0
- package/test/eyelang/conformance/cases/033_negation_once_generators.query +1 -0
- package/test/eyelang/conformance/cases/034_equality_and_inequality.pl +6 -0
- package/test/eyelang/conformance/cases/034_equality_and_inequality.query +1 -0
- package/test/eyelang/conformance/cases/035_list_relations.pl +5 -0
- package/test/eyelang/conformance/cases/035_list_relations.query +1 -0
- package/test/eyelang/conformance/cases/036_append_splits.pl +3 -0
- package/test/eyelang/conformance/cases/036_append_splits.query +1 -0
- package/test/eyelang/conformance/cases/037_matching_and_comparison.pl +7 -0
- package/test/eyelang/conformance/cases/037_matching_and_comparison.query +1 -0
- package/test/eyelang/conformance/cases/038_memoize_declaration.pl +8 -0
- package/test/eyelang/conformance/cases/038_memoize_declaration.query +1 -0
- package/test/eyelang/conformance/cases/039_numeric_functions.pl +9 -0
- package/test/eyelang/conformance/cases/039_numeric_functions.query +1 -0
- package/test/eyelang/conformance/cases/040_between_enumeration.pl +3 -0
- package/test/eyelang/conformance/cases/040_between_enumeration.query +1 -0
- package/test/eyelang/conformance/cases/041_smallest_divisor.pl +3 -0
- package/test/eyelang/conformance/cases/041_smallest_divisor.query +1 -0
- package/test/eyelang/conformance/cases/042_negation_filter.pl +7 -0
- package/test/eyelang/conformance/cases/042_negation_filter.query +1 -0
- package/test/eyelang/conformance/cases/043_once_user_predicate.pl +5 -0
- package/test/eyelang/conformance/cases/043_once_user_predicate.query +1 -0
- package/test/eyelang/conformance/cases/044_findall_user_goal.pl +6 -0
- package/test/eyelang/conformance/cases/044_findall_user_goal.query +1 -0
- package/test/eyelang/conformance/cases/045_sort_deduplicates_atoms.pl +3 -0
- package/test/eyelang/conformance/cases/045_sort_deduplicates_atoms.query +1 -0
- package/test/eyelang/conformance/cases/046_append_bound_prefix_suffix.pl +4 -0
- package/test/eyelang/conformance/cases/046_append_bound_prefix_suffix.query +1 -0
- package/test/eyelang/conformance/cases/047_nth0_index_generation.pl +3 -0
- package/test/eyelang/conformance/cases/047_nth0_index_generation.query +1 -0
- package/test/eyelang/conformance/cases/048_set_nth0_edges.pl +4 -0
- package/test/eyelang/conformance/cases/048_set_nth0_edges.query +1 -0
- package/test/eyelang/conformance/cases/049_select_duplicate_occurrences.pl +3 -0
- package/test/eyelang/conformance/cases/049_select_duplicate_occurrences.query +1 -0
- package/test/eyelang/conformance/cases/050_not_member_filter.pl +6 -0
- package/test/eyelang/conformance/cases/050_not_member_filter.query +1 -0
- package/test/eyelang/conformance/cases/051_nested_holds_parts.pl +4 -0
- package/test/eyelang/conformance/cases/052_holds_member.pl +3 -0
- package/test/eyelang/conformance/cases/053_materialize_excludes_source_fact.pl +6 -0
- package/test/eyelang/conformance/cases/054_numeric_and_lexical_comparison.pl +5 -0
- package/test/eyelang/conformance/cases/054_numeric_and_lexical_comparison.query +1 -0
- package/test/eyelang/conformance/cases/055_string_matching_filters.pl +6 -0
- package/test/eyelang/conformance/cases/055_string_matching_filters.query +1 -0
- package/test/eyelang/conformance/cases/056_string_and_atom_concat.pl +3 -0
- package/test/eyelang/conformance/cases/056_string_and_atom_concat.query +1 -0
- package/test/eyelang/conformance/cases/057_countall_empty_and_nonempty.pl +4 -0
- package/test/eyelang/conformance/cases/057_countall_empty_and_nonempty.query +1 -0
- package/test/eyelang/conformance/cases/058_sumall_numeric_template.pl +5 -0
- package/test/eyelang/conformance/cases/058_sumall_numeric_template.query +1 -0
- package/test/eyelang/conformance/cases/059_aggregate_min_template.pl +5 -0
- package/test/eyelang/conformance/cases/059_aggregate_min_template.query +1 -0
- package/test/eyelang/conformance/cases/060_aggregate_max_compound_key.pl +5 -0
- package/test/eyelang/conformance/cases/060_aggregate_max_compound_key.query +1 -0
- package/test/eyelang/conformance/cases/061_date_difference.pl +4 -0
- package/test/eyelang/conformance/cases/062_reusable_numeric_builtins.pl +10 -0
- package/test/eyelang/conformance/cases/063_reusable_list_builtins.pl +11 -0
- package/test/eyelang/conformance/cases/064_reusable_string_builtins.pl +12 -0
- package/test/eyelang/conformance/cases/065_reusable_term_control_builtins.pl +11 -0
- package/test/eyelang/conformance/cases/066_numeric_edges.pl +14 -0
- package/test/eyelang/conformance/cases/067_list_edges.pl +10 -0
- package/test/eyelang/conformance/cases/068_list_generation_order.pl +7 -0
- package/test/eyelang/conformance/cases/069_list_summaries_and_sets.pl +9 -0
- package/test/eyelang/conformance/cases/070_matches_named_captures.pl +13 -0
- package/test/eyelang/conformance/cases/071_string_edges.pl +10 -0
- package/test/eyelang/conformance/cases/072_string_conversions.pl +10 -0
- package/test/eyelang/conformance/cases/073_term_introspection_edges.pl +10 -0
- package/test/eyelang/conformance/cases/074_forall_edges.pl +10 -0
- package/test/eyelang/conformance/cases/075_aggregation_edges.pl +12 -0
- package/test/eyelang/conformance/cases/076_composed_reusable_builtins.pl +8 -0
- package/test/eyelang/conformance/cases/077_recursive_path_with_lists.pl +10 -0
- package/test/eyelang/conformance/cases/078_mutual_recursion_with_arithmetic.pl +7 -0
- package/test/eyelang/conformance/cases/079_big_integer_arithmetic.pl +8 -0
- package/test/eyelang/conformance/cases/080_rounding_modes.pl +10 -0
- package/test/eyelang/conformance/cases/081_zero_safe_numeric_functions.pl +9 -0
- package/test/eyelang/conformance/cases/082_comparison_semantics.pl +10 -0
- package/test/eyelang/conformance/cases/083_between_modes_and_empty_ranges.pl +8 -0
- package/test/eyelang/conformance/cases/084_append_and_select_composition.pl +7 -0
- package/test/eyelang/conformance/cases/085_nth_and_update_edges.pl +8 -0
- package/test/eyelang/conformance/cases/086_slicing_pipeline.pl +10 -0
- package/test/eyelang/conformance/cases/087_sort_reverse_length.pl +8 -0
- package/test/eyelang/conformance/cases/088_list_summaries_failures.pl +8 -0
- package/test/eyelang/conformance/cases/089_string_split_join_pipeline.pl +7 -0
- package/test/eyelang/conformance/cases/090_string_substring_replace_edges.pl +9 -0
- package/test/eyelang/conformance/cases/091_string_case_and_trim.pl +7 -0
- package/test/eyelang/conformance/cases/092_scalar_string_conversions.pl +9 -0
- package/test/eyelang/conformance/cases/093_regex_named_captures_context.pl +8 -0
- package/test/eyelang/conformance/cases/094_context_holds_enumeration.pl +7 -0
- package/test/eyelang/conformance/cases/095_term_introspection_roundtrip.pl +8 -0
- package/test/eyelang/conformance/cases/096_functor_scalar_edges.pl +8 -0
- package/test/eyelang/conformance/cases/097_control_negation_once_forall.pl +13 -0
- package/test/eyelang/conformance/cases/098_aggregation_nested_templates.pl +11 -0
- package/test/eyelang/conformance/cases/099_materialize_multiple_arities.pl +8 -0
- package/test/eyelang/conformance/cases/100_reusable_builtin_workflow.pl +10 -0
- package/test/eyelang/conformance/expected/001_fact_output.pl +1 -0
- package/test/eyelang/conformance/expected/002_rule_recursion.pl +2 -0
- package/test/eyelang/conformance/expected/003_terms_and_readback.pl +13 -0
- package/test/eyelang/conformance/expected/004_conjunction_and_parentheses.pl +1 -0
- package/test/eyelang/conformance/expected/005_list_deconstruction.pl +2 -0
- package/test/eyelang/conformance/expected/006_comma_formula_data.pl +1 -0
- package/test/eyelang/conformance/expected/007_anonymous_variables.pl +1 -0
- package/test/eyelang/conformance/expected/008_graphic_atoms.pl +3 -0
- package/test/eyelang/conformance/expected/009_comments_and_whitespace.pl +2 -0
- package/test/eyelang/conformance/expected/010_variable_scope_and_reuse.pl +2 -0
- package/test/eyelang/conformance/expected/011_predicate_arity.pl +2 -0
- package/test/eyelang/conformance/expected/012_nested_compound_unification.pl +2 -0
- package/test/eyelang/conformance/expected/013_multiple_clauses_order.pl +2 -0
- package/test/eyelang/conformance/expected/014_failure_filters_answers.pl +1 -0
- package/test/eyelang/conformance/expected/015_improper_list_unification.pl +3 -0
- package/test/eyelang/conformance/expected/016_zero_arity_compound.pl +1 -0
- package/test/eyelang/conformance/expected/017_three_step_recursion.pl +3 -0
- package/test/eyelang/conformance/expected/018_quoted_atom_readback.pl +3 -0
- package/test/eyelang/conformance/expected/019_parenthesized_three_conjuncts.pl +1 -0
- package/test/eyelang/conformance/expected/020_nested_list_terms.pl +2 -0
- package/test/eyelang/conformance/expected/021_repeated_variable_head.pl +2 -0
- package/test/eyelang/conformance/expected/022_rule_head_structure.pl +2 -0
- package/test/eyelang/conformance/expected/023_quoted_escapes_readback.pl +2 -0
- package/test/eyelang/conformance/expected/024_numeric_literal_readback.pl +3 -0
- package/test/eyelang/conformance/expected/025_body_parentheses_with_formula_data.pl +1 -0
- package/test/eyelang/conformance/expected/026_underscore_named_variable_reuse.pl +1 -0
- package/test/eyelang/conformance/expected/028_materialize_focus.pl +1 -0
- package/test/eyelang/conformance/expected/029_arithmetic_and_comparison.pl +9 -0
- package/test/eyelang/conformance/expected/030_strings_and_atoms.pl +2 -0
- package/test/eyelang/conformance/expected/031_lists_aggregation_ordering.pl +9 -0
- package/test/eyelang/conformance/expected/032_holds_parts.pl +3 -0
- package/test/eyelang/conformance/expected/033_negation_once_generators.pl +2 -0
- package/test/eyelang/conformance/expected/034_equality_and_inequality.pl +4 -0
- package/test/eyelang/conformance/expected/035_list_relations.pl +4 -0
- package/test/eyelang/conformance/expected/036_append_splits.pl +3 -0
- package/test/eyelang/conformance/expected/037_matching_and_comparison.pl +5 -0
- package/test/eyelang/conformance/expected/038_memoize_declaration.pl +2 -0
- package/test/eyelang/conformance/expected/039_numeric_functions.pl +7 -0
- package/test/eyelang/conformance/expected/040_between_enumeration.pl +3 -0
- package/test/eyelang/conformance/expected/041_smallest_divisor.pl +1 -0
- package/test/eyelang/conformance/expected/042_negation_filter.pl +2 -0
- package/test/eyelang/conformance/expected/043_once_user_predicate.pl +1 -0
- package/test/eyelang/conformance/expected/044_findall_user_goal.pl +1 -0
- package/test/eyelang/conformance/expected/045_sort_deduplicates_atoms.pl +1 -0
- package/test/eyelang/conformance/expected/046_append_bound_prefix_suffix.pl +2 -0
- package/test/eyelang/conformance/expected/047_nth0_index_generation.pl +1 -0
- package/test/eyelang/conformance/expected/048_set_nth0_edges.pl +2 -0
- package/test/eyelang/conformance/expected/049_select_duplicate_occurrences.pl +2 -0
- package/test/eyelang/conformance/expected/050_not_member_filter.pl +1 -0
- package/test/eyelang/conformance/expected/051_nested_holds_parts.pl +3 -0
- package/test/eyelang/conformance/expected/052_holds_member.pl +2 -0
- package/test/eyelang/conformance/expected/053_materialize_excludes_source_fact.pl +1 -0
- package/test/eyelang/conformance/expected/054_numeric_and_lexical_comparison.pl +3 -0
- package/test/eyelang/conformance/expected/055_string_matching_filters.pl +2 -0
- package/test/eyelang/conformance/expected/056_string_and_atom_concat.pl +1 -0
- package/test/eyelang/conformance/expected/057_countall_empty_and_nonempty.pl +1 -0
- package/test/eyelang/conformance/expected/058_sumall_numeric_template.pl +1 -0
- package/test/eyelang/conformance/expected/059_aggregate_min_template.pl +1 -0
- package/test/eyelang/conformance/expected/060_aggregate_max_compound_key.pl +1 -0
- package/test/eyelang/conformance/expected/061_date_difference.pl +2 -0
- package/test/eyelang/conformance/expected/062_reusable_numeric_builtins.pl +8 -0
- package/test/eyelang/conformance/expected/063_reusable_list_builtins.pl +9 -0
- package/test/eyelang/conformance/expected/064_reusable_string_builtins.pl +10 -0
- package/test/eyelang/conformance/expected/065_reusable_term_control_builtins.pl +6 -0
- package/test/eyelang/conformance/expected/066_numeric_edges.pl +12 -0
- package/test/eyelang/conformance/expected/067_list_edges.pl +8 -0
- package/test/eyelang/conformance/expected/068_list_generation_order.pl +10 -0
- package/test/eyelang/conformance/expected/069_list_summaries_and_sets.pl +7 -0
- package/test/eyelang/conformance/expected/070_matches_named_captures.pl +1 -0
- package/test/eyelang/conformance/expected/071_string_edges.pl +8 -0
- package/test/eyelang/conformance/expected/072_string_conversions.pl +8 -0
- package/test/eyelang/conformance/expected/073_term_introspection_edges.pl +8 -0
- package/test/eyelang/conformance/expected/074_forall_edges.pl +5 -0
- package/test/eyelang/conformance/expected/075_aggregation_edges.pl +7 -0
- package/test/eyelang/conformance/expected/076_composed_reusable_builtins.pl +5 -0
- package/test/eyelang/conformance/expected/077_recursive_path_with_lists.pl +3 -0
- package/test/eyelang/conformance/expected/078_mutual_recursion_with_arithmetic.pl +7 -0
- package/test/eyelang/conformance/expected/079_big_integer_arithmetic.pl +6 -0
- package/test/eyelang/conformance/expected/080_rounding_modes.pl +8 -0
- package/test/eyelang/conformance/expected/081_zero_safe_numeric_functions.pl +7 -0
- package/test/eyelang/conformance/expected/082_comparison_semantics.pl +8 -0
- package/test/eyelang/conformance/expected/083_between_modes_and_empty_ranges.pl +8 -0
- package/test/eyelang/conformance/expected/084_append_and_select_composition.pl +10 -0
- package/test/eyelang/conformance/expected/085_nth_and_update_edges.pl +8 -0
- package/test/eyelang/conformance/expected/086_slicing_pipeline.pl +7 -0
- package/test/eyelang/conformance/expected/087_sort_reverse_length.pl +6 -0
- package/test/eyelang/conformance/expected/088_list_summaries_failures.pl +6 -0
- package/test/eyelang/conformance/expected/089_string_split_join_pipeline.pl +4 -0
- package/test/eyelang/conformance/expected/090_string_substring_replace_edges.pl +7 -0
- package/test/eyelang/conformance/expected/091_string_case_and_trim.pl +5 -0
- package/test/eyelang/conformance/expected/092_scalar_string_conversions.pl +7 -0
- package/test/eyelang/conformance/expected/093_regex_named_captures_context.pl +5 -0
- package/test/eyelang/conformance/expected/094_context_holds_enumeration.pl +8 -0
- package/test/eyelang/conformance/expected/095_term_introspection_roundtrip.pl +6 -0
- package/test/eyelang/conformance/expected/096_functor_scalar_edges.pl +6 -0
- package/test/eyelang/conformance/expected/097_control_negation_once_forall.pl +5 -0
- package/test/eyelang/conformance/expected/098_aggregation_nested_templates.pl +5 -0
- package/test/eyelang/conformance/expected/099_materialize_multiple_arities.pl +4 -0
- package/test/eyelang/conformance/expected/100_reusable_builtin_workflow.pl +6 -0
- package/test/eyelang/run-conformance.mjs +20 -22
- package/test/packlist.test.js +0 -2
- package/test/run.js +0 -2
- package/docs/eyelang-guide.md +0 -535
- package/docs/eyelang-language-reference.md +0 -712
- package/examples/eyelang/access-control-policy.pl +0 -52
- package/examples/eyelang/ackermann.pl +0 -46
- package/examples/eyelang/age.pl +0 -28
- package/examples/eyelang/aliases-and-namespaces.pl +0 -22
- package/examples/eyelang/alignment-demo.pl +0 -44
- package/examples/eyelang/allen-interval-calculus.pl +0 -64
- package/examples/eyelang/ancestor.pl +0 -21
- package/examples/eyelang/animal.pl +0 -21
- package/examples/eyelang/annotation.pl +0 -34
- package/examples/eyelang/auroracare.pl +0 -309
- package/examples/eyelang/backward.pl +0 -12
- package/examples/eyelang/basic-monadic.pl +0 -10032
- package/examples/eyelang/bayes-diagnosis.pl +0 -108
- package/examples/eyelang/bayes-therapy.pl +0 -182
- package/examples/eyelang/beam-deflection.pl +0 -50
- package/examples/eyelang/blocks-world-planning.pl +0 -75
- package/examples/eyelang/bmi.pl +0 -232
- package/examples/eyelang/braking-safety-worlds.pl +0 -69
- package/examples/eyelang/buck-converter-design.pl +0 -78
- package/examples/eyelang/cache-performance.pl +0 -54
- package/examples/eyelang/canary-release.pl +0 -49
- package/examples/eyelang/cat-koko.pl +0 -24
- package/examples/eyelang/clinical-trial-screening.pl +0 -92
- package/examples/eyelang/combinatorics-findall-sort.pl +0 -37
- package/examples/eyelang/competitive-enzyme-kinetics.pl +0 -78
- package/examples/eyelang/complex.pl +0 -121
- package/examples/eyelang/composition-of-injective-functions-is-injective.pl +0 -50
- package/examples/eyelang/context-association.pl +0 -53
- package/examples/eyelang/context-schema-audit.pl +0 -46
- package/examples/eyelang/control-system.pl +0 -72
- package/examples/eyelang/cyclic-path.pl +0 -16
- package/examples/eyelang/d3-group.pl +0 -100
- package/examples/eyelang/dairy-energy-balance.pl +0 -65
- package/examples/eyelang/data-negotiation.pl +0 -39
- package/examples/eyelang/deep-taxonomy-10.pl +0 -115
- package/examples/eyelang/deep-taxonomy-100.pl +0 -385
- package/examples/eyelang/deep-taxonomy-1000.pl +0 -3085
- package/examples/eyelang/deep-taxonomy-10000.pl +0 -30094
- package/examples/eyelang/deep-taxonomy-100000.pl +0 -300184
- package/examples/eyelang/delfour.pl +0 -281
- package/examples/eyelang/deontic-logic.pl +0 -52
- package/examples/eyelang/derived-backward-rule.pl +0 -30
- package/examples/eyelang/derived-rule.pl +0 -27
- package/examples/eyelang/diamond-property.pl +0 -38
- package/examples/eyelang/dijkstra-findall-sort.pl +0 -44
- package/examples/eyelang/dijkstra-risk-path.pl +0 -86
- package/examples/eyelang/dijkstra.pl +0 -46
- package/examples/eyelang/dining-philosophers.pl +0 -140
- package/examples/eyelang/dog.pl +0 -25
- package/examples/eyelang/dpv-odrl-purpose-mapping.pl +0 -46
- package/examples/eyelang/drone-corridor-planner.pl +0 -51
- package/examples/eyelang/easter-computus.pl +0 -89
- package/examples/eyelang/electrical-rc-filter.pl +0 -36
- package/examples/eyelang/epidemic-policy.pl +0 -67
- package/examples/eyelang/equivalence-classes-overlap-implies-same-class.pl +0 -27
- package/examples/eyelang/eulerian-path.pl +0 -85
- package/examples/eyelang/ev-range-worlds.pl +0 -82
- package/examples/eyelang/existential-rule.pl +0 -18
- package/examples/eyelang/exoplanet-validation-worlds.pl +0 -88
- package/examples/eyelang/expression-eval.pl +0 -43
- package/examples/eyelang/family-cousins.pl +0 -65
- package/examples/eyelang/fastpow.pl +0 -53
- package/examples/eyelang/fft8-numeric.pl +0 -83
- package/examples/eyelang/fibonacci.pl +0 -53
- package/examples/eyelang/field-nitrogen-balance.pl +0 -70
- package/examples/eyelang/flandor.pl +0 -296
- package/examples/eyelang/floating-point.pl +0 -23
- package/examples/eyelang/four-color-map.pl +0 -127
- package/examples/eyelang/fundamental-theorem-arithmetic.pl +0 -113
- package/examples/eyelang/gd-step-certified.pl +0 -158
- package/examples/eyelang/gdpr-compliance.pl +0 -69
- package/examples/eyelang/good-cobbler.pl +0 -14
- package/examples/eyelang/gps.pl +0 -152
- package/examples/eyelang/graph-reachability.pl +0 -36
- package/examples/eyelang/gray-code-counter.pl +0 -48
- package/examples/eyelang/greatest-lower-bound-uniqueness.pl +0 -28
- package/examples/eyelang/group-inverse-uniqueness.pl +0 -34
- package/examples/eyelang/hamiltonian-path.pl +0 -49
- package/examples/eyelang/hamming-code.pl +0 -105
- package/examples/eyelang/hanoi.pl +0 -20
- package/examples/eyelang/heat-loss.pl +0 -51
- package/examples/eyelang/heron-theorem.pl +0 -36
- package/examples/eyelang/ideal-gas-law.pl +0 -37
- package/examples/eyelang/illegitimate-reasoning.pl +0 -88
- package/examples/eyelang/knowledge-engineering-alignment-flow.pl +0 -40
- package/examples/eyelang/law-of-cosines.pl +0 -31
- package/examples/eyelang/least-squares-regression.pl +0 -81
- package/examples/eyelang/list-collection.pl +0 -33
- package/examples/eyelang/lldm.pl +0 -78
- package/examples/eyelang/manufacturing-quality-control.pl +0 -73
- package/examples/eyelang/microgrid-dispatch.pl +0 -85
- package/examples/eyelang/monkey-bananas.pl +0 -45
- package/examples/eyelang/network-sla.pl +0 -48
- package/examples/eyelang/newton-raphson.pl +0 -49
- package/examples/eyelang/nixon-diamond.pl +0 -37
- package/examples/eyelang/observability-log-correlation.pl +0 -34
- package/examples/eyelang/odrl-dpv-fpv-trust-flow.pl +0 -43
- package/examples/eyelang/odrl-dpv-healthcare-risk-ranked.pl +0 -266
- package/examples/eyelang/odrl-dpv-risk-ranked.pl +0 -320
- package/examples/eyelang/orbital-transfer-design.pl +0 -113
- package/examples/eyelang/output/access-control-policy.pl +0 -2
- package/examples/eyelang/output/ackermann.pl +0 -12
- package/examples/eyelang/output/age.pl +0 -2
- package/examples/eyelang/output/aliases-and-namespaces.pl +0 -5
- package/examples/eyelang/output/alignment-demo.pl +0 -32
- package/examples/eyelang/output/allen-interval-calculus.pl +0 -154
- package/examples/eyelang/output/ancestor.pl +0 -6
- package/examples/eyelang/output/animal.pl +0 -4
- package/examples/eyelang/output/annotation.pl +0 -4
- package/examples/eyelang/output/auroracare.pl +0 -117
- package/examples/eyelang/output/backward.pl +0 -1
- package/examples/eyelang/output/basic-monadic.pl +0 -1518
- package/examples/eyelang/output/bayes-diagnosis.pl +0 -13
- package/examples/eyelang/output/bayes-therapy.pl +0 -23
- package/examples/eyelang/output/beam-deflection.pl +0 -5
- package/examples/eyelang/output/blocks-world-planning.pl +0 -4
- package/examples/eyelang/output/bmi.pl +0 -32
- package/examples/eyelang/output/braking-safety-worlds.pl +0 -18
- package/examples/eyelang/output/buck-converter-design.pl +0 -6
- package/examples/eyelang/output/cache-performance.pl +0 -4
- package/examples/eyelang/output/canary-release.pl +0 -5
- package/examples/eyelang/output/cat-koko.pl +0 -3
- package/examples/eyelang/output/clinical-trial-screening.pl +0 -9
- package/examples/eyelang/output/combinatorics-findall-sort.pl +0 -2
- package/examples/eyelang/output/competitive-enzyme-kinetics.pl +0 -6
- package/examples/eyelang/output/complex.pl +0 -1
- package/examples/eyelang/output/composition-of-injective-functions-is-injective.pl +0 -2
- package/examples/eyelang/output/context-association.pl +0 -3
- package/examples/eyelang/output/context-schema-audit.pl +0 -12
- package/examples/eyelang/output/control-system.pl +0 -6
- package/examples/eyelang/output/cyclic-path.pl +0 -16
- package/examples/eyelang/output/d3-group.pl +0 -2
- package/examples/eyelang/output/dairy-energy-balance.pl +0 -13
- package/examples/eyelang/output/data-negotiation.pl +0 -1
- package/examples/eyelang/output/deep-taxonomy-10.pl +0 -16
- package/examples/eyelang/output/deep-taxonomy-100.pl +0 -16
- package/examples/eyelang/output/deep-taxonomy-1000.pl +0 -16
- package/examples/eyelang/output/deep-taxonomy-10000.pl +0 -16
- package/examples/eyelang/output/deep-taxonomy-100000.pl +0 -16
- package/examples/eyelang/output/delfour.pl +0 -31
- package/examples/eyelang/output/deontic-logic.pl +0 -4
- package/examples/eyelang/output/derived-backward-rule.pl +0 -3
- package/examples/eyelang/output/derived-rule.pl +0 -2
- package/examples/eyelang/output/diamond-property.pl +0 -4
- package/examples/eyelang/output/dijkstra-findall-sort.pl +0 -2
- package/examples/eyelang/output/dijkstra-risk-path.pl +0 -29
- package/examples/eyelang/output/dijkstra.pl +0 -16
- package/examples/eyelang/output/dining-philosophers.pl +0 -350
- package/examples/eyelang/output/dog.pl +0 -1
- package/examples/eyelang/output/dpv-odrl-purpose-mapping.pl +0 -18
- package/examples/eyelang/output/drone-corridor-planner.pl +0 -17
- package/examples/eyelang/output/easter-computus.pl +0 -30
- package/examples/eyelang/output/electrical-rc-filter.pl +0 -3
- package/examples/eyelang/output/epidemic-policy.pl +0 -14
- package/examples/eyelang/output/equivalence-classes-overlap-implies-same-class.pl +0 -18
- package/examples/eyelang/output/eulerian-path.pl +0 -3
- package/examples/eyelang/output/ev-range-worlds.pl +0 -19
- package/examples/eyelang/output/existential-rule.pl +0 -2
- package/examples/eyelang/output/exoplanet-validation-worlds.pl +0 -22
- package/examples/eyelang/output/expression-eval.pl +0 -1
- package/examples/eyelang/output/family-cousins.pl +0 -28
- package/examples/eyelang/output/fastpow.pl +0 -6
- package/examples/eyelang/output/fft8-numeric.pl +0 -4
- package/examples/eyelang/output/fibonacci.pl +0 -6
- package/examples/eyelang/output/field-nitrogen-balance.pl +0 -21
- package/examples/eyelang/output/flandor.pl +0 -43
- package/examples/eyelang/output/floating-point.pl +0 -9
- package/examples/eyelang/output/four-color-map.pl +0 -3
- package/examples/eyelang/output/fundamental-theorem-arithmetic.pl +0 -9
- package/examples/eyelang/output/gd-step-certified.pl +0 -79
- package/examples/eyelang/output/gdpr-compliance.pl +0 -6
- package/examples/eyelang/output/good-cobbler.pl +0 -1
- package/examples/eyelang/output/gps.pl +0 -21
- package/examples/eyelang/output/graph-reachability.pl +0 -3
- package/examples/eyelang/output/gray-code-counter.pl +0 -1
- package/examples/eyelang/output/greatest-lower-bound-uniqueness.pl +0 -2
- package/examples/eyelang/output/group-inverse-uniqueness.pl +0 -2
- package/examples/eyelang/output/hamiltonian-path.pl +0 -121
- package/examples/eyelang/output/hamming-code.pl +0 -6
- package/examples/eyelang/output/hanoi.pl +0 -1
- package/examples/eyelang/output/heat-loss.pl +0 -5
- package/examples/eyelang/output/heron-theorem.pl +0 -4
- package/examples/eyelang/output/ideal-gas-law.pl +0 -3
- package/examples/eyelang/output/illegitimate-reasoning.pl +0 -15
- package/examples/eyelang/output/knowledge-engineering-alignment-flow.pl +0 -17
- package/examples/eyelang/output/law-of-cosines.pl +0 -3
- package/examples/eyelang/output/least-squares-regression.pl +0 -5
- package/examples/eyelang/output/list-collection.pl +0 -3
- package/examples/eyelang/output/lldm.pl +0 -6
- package/examples/eyelang/output/manufacturing-quality-control.pl +0 -6
- package/examples/eyelang/output/microgrid-dispatch.pl +0 -6
- package/examples/eyelang/output/monkey-bananas.pl +0 -5
- package/examples/eyelang/output/network-sla.pl +0 -4
- package/examples/eyelang/output/newton-raphson.pl +0 -3
- package/examples/eyelang/output/nixon-diamond.pl +0 -5
- package/examples/eyelang/output/observability-log-correlation.pl +0 -28
- package/examples/eyelang/output/odrl-dpv-fpv-trust-flow.pl +0 -9
- package/examples/eyelang/output/odrl-dpv-healthcare-risk-ranked.pl +0 -42
- package/examples/eyelang/output/odrl-dpv-risk-ranked.pl +0 -120
- package/examples/eyelang/output/orbital-transfer-design.pl +0 -7
- package/examples/eyelang/output/path-discovery.pl +0 -3
- package/examples/eyelang/output/peano-arithmetic.pl +0 -3
- package/examples/eyelang/output/peasant.pl +0 -10
- package/examples/eyelang/output/pendulum-period.pl +0 -4
- package/examples/eyelang/output/polynomial.pl +0 -14
- package/examples/eyelang/output/proof-contrapositive.pl +0 -3
- package/examples/eyelang/output/quadratic-formula.pl +0 -6
- package/examples/eyelang/output/radioactive-decay.pl +0 -5
- package/examples/eyelang/output/reusable-builtins.pl +0 -5
- package/examples/eyelang/output/riemann-hypothesis.pl +0 -12
- package/examples/eyelang/output/security-incident-correlation.pl +0 -3
- package/examples/eyelang/output/service-impact.pl +0 -11
- package/examples/eyelang/output/sieve.pl +0 -1
- package/examples/eyelang/output/skolem-functions.pl +0 -16
- package/examples/eyelang/output/socket-age.pl +0 -1
- package/examples/eyelang/output/socrates.pl +0 -2
- package/examples/eyelang/output/statistics-summary.pl +0 -4
- package/examples/eyelang/output/superdense-coding.pl +0 -6
- package/examples/eyelang/output/term-tools.pl +0 -6
- package/examples/eyelang/output/trust-flow-provenance-threshold.pl +0 -6
- package/examples/eyelang/output/turing.pl +0 -12
- package/examples/eyelang/output/vector-similarity.pl +0 -4
- package/examples/eyelang/output/vulnerability-impact.pl +0 -20
- package/examples/eyelang/output/witch.pl +0 -7
- package/examples/eyelang/output/wolf-goat-cabbage.pl +0 -3
- package/examples/eyelang/output/zebra.pl +0 -3
- package/examples/eyelang/path-discovery.pl +0 -45013
- package/examples/eyelang/peano-arithmetic.pl +0 -31
- package/examples/eyelang/peasant.pl +0 -30
- package/examples/eyelang/pendulum-period.pl +0 -50
- package/examples/eyelang/polynomial.pl +0 -124
- package/examples/eyelang/proof/age.pl +0 -71
- package/examples/eyelang/proof/aliases-and-namespaces.pl +0 -78
- package/examples/eyelang/proof/ancestor.pl +0 -140
- package/examples/eyelang/proof/animal.pl +0 -68
- package/examples/eyelang/proof/annotation.pl +0 -80
- package/examples/eyelang/proof/backward.pl +0 -22
- package/examples/eyelang/proof/cat-koko.pl +0 -86
- package/examples/eyelang/proof/data-negotiation.pl +0 -76
- package/examples/eyelang/proof/derived-rule.pl +0 -43
- package/examples/eyelang/proof/dog.pl +0 -31
- package/examples/eyelang/proof/electrical-rc-filter.pl +0 -105
- package/examples/eyelang/proof/existential-rule.pl +0 -40
- package/examples/eyelang/proof/floating-point.pl +0 -160
- package/examples/eyelang/proof/good-cobbler.pl +0 -16
- package/examples/eyelang/proof/group-inverse-uniqueness.pl +0 -84
- package/examples/eyelang/proof/list-collection.pl +0 -52
- package/examples/eyelang/proof/proof-contrapositive.pl +0 -78
- package/examples/eyelang/proof/socket-age.pl +0 -32
- package/examples/eyelang/proof/socket-family.pl +0 -59
- package/examples/eyelang/proof/socrates.pl +0 -38
- package/examples/eyelang/proof-contrapositive.pl +0 -27
- package/examples/eyelang/quadratic-formula.pl +0 -54
- package/examples/eyelang/radioactive-decay.pl +0 -56
- package/examples/eyelang/reusable-builtins.pl +0 -32
- package/examples/eyelang/riemann-hypothesis.pl +0 -110
- package/examples/eyelang/security-incident-correlation.pl +0 -69
- package/examples/eyelang/service-impact.pl +0 -41
- package/examples/eyelang/sieve.pl +0 -20
- package/examples/eyelang/skolem-functions.pl +0 -52
- package/examples/eyelang/socket-age.pl +0 -39
- package/examples/eyelang/socket-family.pl +0 -28
- package/examples/eyelang/socrates.pl +0 -19
- package/examples/eyelang/statistics-summary.pl +0 -54
- package/examples/eyelang/superdense-coding.pl +0 -84
- package/examples/eyelang/term-tools.pl +0 -23
- package/examples/eyelang/trust-flow-provenance-threshold.pl +0 -40
- package/examples/eyelang/turing.pl +0 -67
- package/examples/eyelang/vector-similarity.pl +0 -56
- package/examples/eyelang/vulnerability-impact.pl +0 -70
- package/examples/eyelang/witch.pl +0 -38
- package/examples/eyelang/wolf-goat-cabbage.pl +0 -56
- package/examples/eyelang/zebra.pl +0 -44
- package/eyelang.d.ts +0 -80
- package/lib/eyelang/bin.js +0 -7
- package/lib/eyelang/builtins/aggregation.js +0 -81
- package/lib/eyelang/builtins/arithmetic.js +0 -208
- package/lib/eyelang/builtins/context.js +0 -42
- package/lib/eyelang/builtins/control.js +0 -34
- package/lib/eyelang/builtins/core.js +0 -78
- package/lib/eyelang/builtins/lists.js +0 -283
- package/lib/eyelang/builtins/registry.js +0 -48
- package/lib/eyelang/builtins/strings.js +0 -234
- package/lib/eyelang/builtins/terms.js +0 -66
- package/lib/eyelang/cli.js +0 -180
- package/lib/eyelang/explain.js +0 -324
- package/lib/eyelang/hash.js +0 -294
- package/lib/eyelang/index.js +0 -47
- package/lib/eyelang/package.json +0 -3
- package/lib/eyelang/parser.js +0 -428
- package/lib/eyelang/program.js +0 -237
- package/lib/eyelang/solver.js +0 -237
- package/lib/eyelang/term.js +0 -328
- /package/{examples/eyelang/output/socket-family.pl → test/eyelang/conformance/expected/027_default_derived_output.pl} +0 -0
|
@@ -1,320 +0,0 @@
|
|
|
1
|
-
% ODRL + DPV ranked-risk assessment adapted from Eyeling odrl-dpv-risk-ranked.n3.
|
|
2
|
-
% Eyeling keeps the ODRL rules inside an N3 quoted policy formula and prints a
|
|
3
|
-
% Markdown report. This eyelang translation also keeps the
|
|
4
|
-
% policy as a formula-valued term, projects local predicates from that formula for
|
|
5
|
-
% reasoning, and materializes the derived DPV risks as relation output.
|
|
6
|
-
|
|
7
|
-
% Consumer profile and needs.
|
|
8
|
-
% Output declarations: materialize/2 selects the relations written to this example's golden output.
|
|
9
|
-
materialize(dct_title, 2).
|
|
10
|
-
materialize(dpv_hasRisk, 2).
|
|
11
|
-
materialize(type, 2).
|
|
12
|
-
materialize(policyGraph, 2).
|
|
13
|
-
materialize(contains, 2).
|
|
14
|
-
materialize(source, 2).
|
|
15
|
-
materialize(profile, 2).
|
|
16
|
-
materialize(firstRisk, 2).
|
|
17
|
-
materialize(before, 2).
|
|
18
|
-
materialize(dct_source, 2).
|
|
19
|
-
materialize(risk_hasRiskSource, 2).
|
|
20
|
-
materialize(dpv_hasConsequence, 2).
|
|
21
|
-
materialize(dpv_hasImpact, 2).
|
|
22
|
-
materialize(aboutClause, 2).
|
|
23
|
-
materialize(violatesNeed, 2).
|
|
24
|
-
materialize(scoreRaw, 2).
|
|
25
|
-
materialize(score, 2).
|
|
26
|
-
materialize(dpv_hasSeverity, 2).
|
|
27
|
-
materialize(dpv_hasRiskLevel, 2).
|
|
28
|
-
materialize(dct_description, 2).
|
|
29
|
-
materialize(reportKey, 2).
|
|
30
|
-
materialize(dpv_isMitigatedByMeasure, 2).
|
|
31
|
-
materialize(dpv_mitigatesRisk, 2).
|
|
32
|
-
materialize(clauseId, 2).
|
|
33
|
-
materialize(text, 2).
|
|
34
|
-
|
|
35
|
-
% Program structure: facts set up the scenario, and rules derive the materialized conclusions.
|
|
36
|
-
consumer(consumerExample).
|
|
37
|
-
title(consumerExample, "Example consumer profile").
|
|
38
|
-
has_need(consumerExample, need_DataCannotBeRemoved).
|
|
39
|
-
has_need(consumerExample, need_ChangeOnlyWithPriorNotice).
|
|
40
|
-
has_need(consumerExample, need_NoSharingWithoutConsent).
|
|
41
|
-
has_need(consumerExample, need_DataPortability).
|
|
42
|
-
|
|
43
|
-
importance(need_DataCannotBeRemoved, 20).
|
|
44
|
-
description(need_DataCannotBeRemoved, "Provider must not remove the consumer account/data.").
|
|
45
|
-
importance(need_ChangeOnlyWithPriorNotice, 15).
|
|
46
|
-
min_notice_days(need_ChangeOnlyWithPriorNotice, 14).
|
|
47
|
-
description(need_ChangeOnlyWithPriorNotice, "Agreement may change only with prior notice (>= 14 days).").
|
|
48
|
-
importance(need_NoSharingWithoutConsent, 12).
|
|
49
|
-
description(need_NoSharingWithoutConsent, "No data sharing without explicit consent.").
|
|
50
|
-
importance(need_DataPortability, 10).
|
|
51
|
-
description(need_DataPortability, "Consumer must be able to export their data.").
|
|
52
|
-
|
|
53
|
-
% Agreement and ODRL-style policy structure.
|
|
54
|
-
agreement(agreement1).
|
|
55
|
-
title(agreement1, "Example Agreement").
|
|
56
|
-
process_context(processContext1, agreement1).
|
|
57
|
-
title(processContext1, "Service operation under Agreement1").
|
|
58
|
-
|
|
59
|
-
% The ODRL policy is kept as a graph value. The clauses below are not asserted
|
|
60
|
-
% globally as permission/2, prohibition/2, action/2, ... facts; they are
|
|
61
|
-
% binary terms inside policyGraph1. The local projection predicates below read from the
|
|
62
|
-
% formula when evaluating this agreement. This mirrors N3 quoted formulae and avoids
|
|
63
|
-
% making policy statements true outside the formula that contains them.
|
|
64
|
-
policy_graph(policyGraph1, (
|
|
65
|
-
type(policy1, odrl_Policy),
|
|
66
|
-
odrl_appliesTo(policy1, agreement1),
|
|
67
|
-
odrl_permission(policy1, permDeleteAccount),
|
|
68
|
-
odrl_permission(policy1, permChangeTerms),
|
|
69
|
-
odrl_permission(policy1, permShareData),
|
|
70
|
-
odrl_prohibition(policy1, prohibitExportData),
|
|
71
|
-
|
|
72
|
-
odrl_assigner(permDeleteAccount, provider),
|
|
73
|
-
odrl_assignee(permDeleteAccount, consumerExample),
|
|
74
|
-
odrl_action(permDeleteAccount, tosl_removeAccount),
|
|
75
|
-
odrl_target(permDeleteAccount, userAccount),
|
|
76
|
-
clause(permDeleteAccount, clauseC1),
|
|
77
|
-
|
|
78
|
-
odrl_assigner(permChangeTerms, provider),
|
|
79
|
-
odrl_assignee(permChangeTerms, consumerExample),
|
|
80
|
-
odrl_action(permChangeTerms, tosl_changeTerms),
|
|
81
|
-
odrl_target(permChangeTerms, agreementText),
|
|
82
|
-
clause(permChangeTerms, clauseC2),
|
|
83
|
-
odrl_duty(permChangeTerms, odrl_inform),
|
|
84
|
-
noticeDays(permChangeTerms, 3),
|
|
85
|
-
|
|
86
|
-
odrl_assigner(permShareData, provider),
|
|
87
|
-
odrl_assignee(permShareData, consumerExample),
|
|
88
|
-
odrl_action(permShareData, tosl_shareData),
|
|
89
|
-
odrl_target(permShareData, userData),
|
|
90
|
-
clause(permShareData, clauseC3),
|
|
91
|
-
|
|
92
|
-
odrl_assigner(prohibitExportData, provider),
|
|
93
|
-
odrl_assignee(prohibitExportData, consumerExample),
|
|
94
|
-
odrl_action(prohibitExportData, tosl_exportData),
|
|
95
|
-
odrl_target(prohibitExportData, userData),
|
|
96
|
-
clause(prohibitExportData, clauseC4)
|
|
97
|
-
)).
|
|
98
|
-
|
|
99
|
-
% Derivation rules: each rule below contributes one logical step toward the displayed results.
|
|
100
|
-
policy_statement(Subject, Predicate, Object) :-
|
|
101
|
-
policy_graph(_Graph, Context),
|
|
102
|
-
holds(Context, Predicate, [Subject, Object]).
|
|
103
|
-
|
|
104
|
-
policy(Policy, Agreement) :- policy_statement(Policy, odrl_appliesTo, Agreement).
|
|
105
|
-
permission(Policy, Rule) :- policy_statement(Policy, odrl_permission, Rule).
|
|
106
|
-
prohibition(Policy, Rule) :- policy_statement(Policy, odrl_prohibition, Rule).
|
|
107
|
-
assigner(Rule, Party) :- policy_statement(Rule, odrl_assigner, Party).
|
|
108
|
-
assignee(Rule, Party) :- policy_statement(Rule, odrl_assignee, Party).
|
|
109
|
-
action(Rule, Action) :- policy_statement(Rule, odrl_action, Action).
|
|
110
|
-
target(Rule, Target) :- policy_statement(Rule, odrl_target, Target).
|
|
111
|
-
clause(Rule, Clause) :- policy_statement(Rule, clause, Clause).
|
|
112
|
-
duty(Rule, Duty) :- policy_statement(Rule, odrl_duty, Duty).
|
|
113
|
-
notice_days(Rule, Days) :- policy_statement(Rule, noticeDays, Days).
|
|
114
|
-
consent_constraint(Rule, Value) :- policy_statement(Rule, consentConstraint, Value).
|
|
115
|
-
|
|
116
|
-
clause_id(clauseC1, "C1").
|
|
117
|
-
clause_text(clauseC1, "Provider may remove the user account (and associated data) at its discretion.").
|
|
118
|
-
clause_id(clauseC2, "C2").
|
|
119
|
-
clause_text(clauseC2, "Provider may change terms by informing users at least 3 days in advance.").
|
|
120
|
-
clause_id(clauseC3, "C3").
|
|
121
|
-
clause_text(clauseC3, "Provider may share user data with partners for business purposes.").
|
|
122
|
-
clause_id(clauseC4, "C4").
|
|
123
|
-
clause_text(clauseC4, "Users are not permitted to export their data.").
|
|
124
|
-
|
|
125
|
-
% Missing-safeguard checks corresponding to the log_notIncludes tests in N3.
|
|
126
|
-
missing_notice_constraint(Perm) :-
|
|
127
|
-
permission(policy1, Perm),
|
|
128
|
-
not(notice_days(Perm, _Days)).
|
|
129
|
-
|
|
130
|
-
missing_inform_duty(Perm) :-
|
|
131
|
-
permission(policy1, Perm),
|
|
132
|
-
not(duty(Perm, odrl_inform)).
|
|
133
|
-
|
|
134
|
-
missing_consent_constraint(Perm) :-
|
|
135
|
-
permission(policy1, Perm),
|
|
136
|
-
action(Perm, tosl_shareData),
|
|
137
|
-
not(consent_constraint(Perm, true)).
|
|
138
|
-
|
|
139
|
-
% ODRL -> DPV risk derivation.
|
|
140
|
-
risk(risk1) :-
|
|
141
|
-
has_need(consumerExample, need_DataCannotBeRemoved),
|
|
142
|
-
permission(policy1, permDeleteAccount),
|
|
143
|
-
action(permDeleteAccount, tosl_removeAccount),
|
|
144
|
-
missing_notice_constraint(permDeleteAccount),
|
|
145
|
-
missing_inform_duty(permDeleteAccount).
|
|
146
|
-
|
|
147
|
-
risk_source(risk1, src1).
|
|
148
|
-
risk_class(risk1, risk_UnwantedDataDeletion).
|
|
149
|
-
risk_class(risk1, risk_DataUnavailable).
|
|
150
|
-
risk_class(risk1, risk_DataErasureError).
|
|
151
|
-
risk_class(risk1, risk_DataLoss).
|
|
152
|
-
risk_source_class(src1, risk_LegalComplianceRisk).
|
|
153
|
-
risk_source_of(src1, permDeleteAccount).
|
|
154
|
-
risk_consequence(risk1, risk_DataLoss).
|
|
155
|
-
risk_consequence(risk1, risk_DataUnavailable).
|
|
156
|
-
risk_consequence(risk1, risk_CustomerConfidenceLoss).
|
|
157
|
-
risk_impact(risk1, risk_FinancialLoss).
|
|
158
|
-
risk_impact(risk1, risk_NonMaterialDamage).
|
|
159
|
-
about_clause(risk1, clauseC1).
|
|
160
|
-
violates_need(risk1, need_DataCannotBeRemoved).
|
|
161
|
-
risk_description(risk1, "Risk: account/data removal is permitted without notice safeguards (no notice constraint and no duty to inform). Clause C1: Provider may remove the user account (and associated data) at its discretion.").
|
|
162
|
-
base_score(risk1, 90).
|
|
163
|
-
mitigation(risk1, m11, "Add a notice constraint (minimum noticeDays) before account removal.").
|
|
164
|
-
mitigation(risk1, m21, "Add a duty to inform the consumer prior to account removal.").
|
|
165
|
-
|
|
166
|
-
risk(risk2) :-
|
|
167
|
-
has_need(consumerExample, need_ChangeOnlyWithPriorNotice),
|
|
168
|
-
min_notice_days(need_ChangeOnlyWithPriorNotice, Required),
|
|
169
|
-
permission(policy1, permChangeTerms),
|
|
170
|
-
action(permChangeTerms, tosl_changeTerms),
|
|
171
|
-
duty(permChangeTerms, odrl_inform),
|
|
172
|
-
notice_days(permChangeTerms, Days),
|
|
173
|
-
lt(Days, Required).
|
|
174
|
-
|
|
175
|
-
risk_source(risk2, src2).
|
|
176
|
-
risk_class(risk2, risk_PolicyRisk).
|
|
177
|
-
risk_class(risk2, risk_CustomerConfidenceLoss).
|
|
178
|
-
risk_source_class(src2, risk_PolicyRisk).
|
|
179
|
-
risk_source_of(src2, permChangeTerms).
|
|
180
|
-
risk_consequence(risk2, risk_CustomerConfidenceLoss).
|
|
181
|
-
risk_impact(risk2, risk_NonMaterialDamage).
|
|
182
|
-
about_clause(risk2, clauseC2).
|
|
183
|
-
violates_need(risk2, need_ChangeOnlyWithPriorNotice).
|
|
184
|
-
risk_description(risk2, "Risk: terms may change with notice (3 days) below consumer requirement (14 days). Clause C2: Provider may change terms by informing users at least 3 days in advance.").
|
|
185
|
-
base_score(risk2, 70).
|
|
186
|
-
mitigation(risk2, m12, "Increase minimum noticeDays in the inform duty to meet the consumer requirement.").
|
|
187
|
-
|
|
188
|
-
risk(risk3) :-
|
|
189
|
-
has_need(consumerExample, need_NoSharingWithoutConsent),
|
|
190
|
-
permission(policy1, permShareData),
|
|
191
|
-
action(permShareData, tosl_shareData),
|
|
192
|
-
missing_consent_constraint(permShareData).
|
|
193
|
-
|
|
194
|
-
risk_source(risk3, src3).
|
|
195
|
-
risk_class(risk3, risk_UnwantedDisclosureData).
|
|
196
|
-
risk_class(risk3, risk_CustomerConfidenceLoss).
|
|
197
|
-
risk_source_class(src3, risk_PolicyRisk).
|
|
198
|
-
risk_source_of(src3, permShareData).
|
|
199
|
-
risk_consequence(risk3, risk_CustomerConfidenceLoss).
|
|
200
|
-
risk_impact(risk3, risk_NonMaterialDamage).
|
|
201
|
-
risk_impact(risk3, risk_FinancialLoss).
|
|
202
|
-
about_clause(risk3, clauseC3).
|
|
203
|
-
violates_need(risk3, need_NoSharingWithoutConsent).
|
|
204
|
-
risk_description(risk3, "Risk: user data sharing is permitted without an explicit consent constraint. Clause C3: Provider may share user data with partners for business purposes.").
|
|
205
|
-
base_score(risk3, 85).
|
|
206
|
-
mitigation(risk3, m13, "Add an explicit consent constraint before data sharing.").
|
|
207
|
-
|
|
208
|
-
risk(risk4) :-
|
|
209
|
-
has_need(consumerExample, need_DataPortability),
|
|
210
|
-
prohibition(policy1, prohibitExportData),
|
|
211
|
-
action(prohibitExportData, tosl_exportData).
|
|
212
|
-
|
|
213
|
-
risk_source(risk4, src4).
|
|
214
|
-
risk_class(risk4, risk_PolicyRisk).
|
|
215
|
-
risk_class(risk4, risk_CustomerConfidenceLoss).
|
|
216
|
-
risk_source_class(src4, risk_PolicyRisk).
|
|
217
|
-
risk_source_of(src4, prohibitExportData).
|
|
218
|
-
risk_consequence(risk4, risk_CustomerConfidenceLoss).
|
|
219
|
-
risk_impact(risk4, risk_NonMaterialDamage).
|
|
220
|
-
about_clause(risk4, clauseC4).
|
|
221
|
-
violates_need(risk4, need_DataPortability).
|
|
222
|
-
risk_description(risk4, "Risk: portability is restricted because exporting user data is prohibited. Clause C4: Users are not permitted to export their data.").
|
|
223
|
-
base_score(risk4, 60).
|
|
224
|
-
mitigation(risk4, m14, "Add a permission allowing data export (or remove the prohibition) to support portability.").
|
|
225
|
-
|
|
226
|
-
score_raw(Risk, Raw) :-
|
|
227
|
-
risk(Risk),
|
|
228
|
-
base_score(Risk, Base),
|
|
229
|
-
violates_need(Risk, Need),
|
|
230
|
-
importance(Need, Weight),
|
|
231
|
-
add(Base, Weight, Raw).
|
|
232
|
-
|
|
233
|
-
score(Risk, 100) :-
|
|
234
|
-
score_raw(Risk, Raw),
|
|
235
|
-
gt(Raw, 100).
|
|
236
|
-
|
|
237
|
-
score(Risk, Raw) :-
|
|
238
|
-
score_raw(Risk, Raw),
|
|
239
|
-
ge(100, Raw).
|
|
240
|
-
|
|
241
|
-
severity(Risk, risk_HighSeverity) :-
|
|
242
|
-
score(Risk, Score),
|
|
243
|
-
gt(Score, 79).
|
|
244
|
-
|
|
245
|
-
risk_level(Risk, risk_HighRisk) :-
|
|
246
|
-
score(Risk, Score),
|
|
247
|
-
gt(Score, 79).
|
|
248
|
-
|
|
249
|
-
severity(Risk, risk_ModerateSeverity) :-
|
|
250
|
-
score(Risk, Score),
|
|
251
|
-
lt(Score, 80),
|
|
252
|
-
gt(Score, 49).
|
|
253
|
-
|
|
254
|
-
risk_level(Risk, risk_ModerateRisk) :-
|
|
255
|
-
score(Risk, Score),
|
|
256
|
-
lt(Score, 80),
|
|
257
|
-
gt(Score, 49).
|
|
258
|
-
|
|
259
|
-
severity(Risk, risk_LowSeverity) :-
|
|
260
|
-
score(Risk, Score),
|
|
261
|
-
lt(Score, 50).
|
|
262
|
-
|
|
263
|
-
risk_level(Risk, risk_LowRisk) :-
|
|
264
|
-
score(Risk, Score),
|
|
265
|
-
lt(Score, 50).
|
|
266
|
-
|
|
267
|
-
report_key(Risk, key(InvScore, ClauseId)) :-
|
|
268
|
-
risk(Risk),
|
|
269
|
-
score(Risk, Score),
|
|
270
|
-
sub(1000, Score, InvScore),
|
|
271
|
-
about_clause(Risk, Clause),
|
|
272
|
-
clause_id(Clause, ClauseId).
|
|
273
|
-
|
|
274
|
-
ranked_before(Left, Right) :-
|
|
275
|
-
report_key(Left, key(LeftInv, _LeftClause)),
|
|
276
|
-
report_key(Right, key(RightInv, _RightClause)),
|
|
277
|
-
lt(LeftInv, RightInv).
|
|
278
|
-
|
|
279
|
-
ranked_before(Left, Right) :-
|
|
280
|
-
report_key(Left, key(Inv, LeftClause)),
|
|
281
|
-
report_key(Right, key(Inv, RightClause)),
|
|
282
|
-
not_matches(LeftClause, RightClause),
|
|
283
|
-
lt(LeftClause, RightClause).
|
|
284
|
-
|
|
285
|
-
% Output layer.
|
|
286
|
-
dct_title(agreement1, Title) :- title(agreement1, Title).
|
|
287
|
-
dct_title(consumerExample, Title) :- title(consumerExample, Title).
|
|
288
|
-
dct_title(processContext1, Title) :- title(processContext1, Title).
|
|
289
|
-
dpv_hasRisk(processContext1, Risk) :- risk(Risk).
|
|
290
|
-
type(policyGraph1, policyGraph).
|
|
291
|
-
policyGraph(agreement1, policyGraph1).
|
|
292
|
-
contains(policyGraph1, statement(Subject, Predicate, Object)) :-
|
|
293
|
-
policy_statement(Subject, Predicate, Object).
|
|
294
|
-
source(report, agreement1).
|
|
295
|
-
profile(report, consumerExample).
|
|
296
|
-
firstRisk(report, Risk) :- risk(Risk), not(ranked_before(_Other, Risk)).
|
|
297
|
-
before(riskRanking, pair(Left, Right)) :- ranked_before(Left, Right).
|
|
298
|
-
|
|
299
|
-
type(Risk, dpv_Risk) :- risk(Risk).
|
|
300
|
-
type(Risk, Class) :- risk(Risk), risk_class(Risk, Class).
|
|
301
|
-
dct_source(Risk, Source) :- risk(Risk), risk_source(Risk, Src), risk_source_of(Src, Source).
|
|
302
|
-
risk_hasRiskSource(Risk, Src) :- risk(Risk), risk_source(Risk, Src).
|
|
303
|
-
type(Src, risk_RiskSource) :- risk_source(_Risk, Src).
|
|
304
|
-
type(Src, Class) :- risk_source_class(Src, Class).
|
|
305
|
-
dct_source(Src, Source) :- risk_source_of(Src, Source).
|
|
306
|
-
dpv_hasConsequence(Risk, Consequence) :- risk(Risk), risk_consequence(Risk, Consequence).
|
|
307
|
-
dpv_hasImpact(Risk, Impact) :- risk(Risk), risk_impact(Risk, Impact).
|
|
308
|
-
aboutClause(Risk, Clause) :- risk(Risk), about_clause(Risk, Clause).
|
|
309
|
-
violatesNeed(Risk, Need) :- risk(Risk), violates_need(Risk, Need).
|
|
310
|
-
scoreRaw(Risk, Raw) :- score_raw(Risk, Raw).
|
|
311
|
-
dpv_hasSeverity(Risk, Severity) :- severity(Risk, Severity).
|
|
312
|
-
dpv_hasRiskLevel(Risk, Level) :- risk_level(Risk, Level).
|
|
313
|
-
dct_description(Risk, Text) :- risk(Risk), risk_description(Risk, Text).
|
|
314
|
-
reportKey(Risk, Key) :- report_key(Risk, Key).
|
|
315
|
-
dpv_isMitigatedByMeasure(Risk, Measure) :- mitigation(Risk, Measure, _Text).
|
|
316
|
-
type(Measure, dpv_RiskMitigationMeasure) :- mitigation(_Risk, Measure, _Text).
|
|
317
|
-
dpv_mitigatesRisk(Measure, Risk) :- mitigation(Risk, Measure, _Text).
|
|
318
|
-
dct_description(Measure, Text) :- mitigation(_Risk, Measure, Text).
|
|
319
|
-
clauseId(Clause, Id) :- clause_id(Clause, Id).
|
|
320
|
-
text(Clause, Text) :- clause_text(Clause, Text).
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
% Ambitious STEM example: Hohmann transfer design from Earth orbit to Mars orbit.
|
|
2
|
-
%
|
|
3
|
-
% The rules combine orbital mechanics, numerical math, and engineering-style
|
|
4
|
-
% mission constraints. Distances are in kilometres, speeds in kilometres per
|
|
5
|
-
% second, and time in days.
|
|
6
|
-
|
|
7
|
-
% Output declarations: materialize/2 selects the relations written to this example's golden output.
|
|
8
|
-
materialize(transferSemiMajorAxis_km, 2).
|
|
9
|
-
materialize(departureDeltaV_km_s, 2).
|
|
10
|
-
materialize(arrivalDeltaV_km_s, 2).
|
|
11
|
-
materialize(totalDeltaV_km_s, 2).
|
|
12
|
-
materialize(transferTime_days, 2).
|
|
13
|
-
materialize(status, 2).
|
|
14
|
-
materialize(reason, 2).
|
|
15
|
-
|
|
16
|
-
% Program structure: facts set up the scenario, and rules derive the materialized conclusions.
|
|
17
|
-
mission(mars_hohmann, centralBodyMu_km3_s2, 132712440018.0).
|
|
18
|
-
mission(mars_hohmann, departureOrbitRadius_km, 149597870.7).
|
|
19
|
-
mission(mars_hohmann, arrivalOrbitRadius_km, 227939200.0).
|
|
20
|
-
mission(mars_hohmann, deltaVBudget_km_s, 6.0).
|
|
21
|
-
mission(mars_hohmann, pi, 3.141592653589793).
|
|
22
|
-
mission(mars_hohmann, secondsPerDay, 86400.0).
|
|
23
|
-
|
|
24
|
-
% Derivation rules: each rule below contributes one logical step toward the displayed results.
|
|
25
|
-
semi_major_axis(Mission, Axis) :-
|
|
26
|
-
mission(Mission, departureOrbitRadius_km, R1),
|
|
27
|
-
mission(Mission, arrivalOrbitRadius_km, R2),
|
|
28
|
-
add(R1, R2, Sum),
|
|
29
|
-
div(Sum, 2.0, Axis).
|
|
30
|
-
|
|
31
|
-
circular_speed_at_departure(Mission, Speed) :-
|
|
32
|
-
mission(Mission, centralBodyMu_km3_s2, Mu),
|
|
33
|
-
mission(Mission, departureOrbitRadius_km, Radius),
|
|
34
|
-
div(Mu, Radius, SpeedSquared),
|
|
35
|
-
pow(SpeedSquared, 0.5, Speed).
|
|
36
|
-
|
|
37
|
-
circular_speed_at_arrival(Mission, Speed) :-
|
|
38
|
-
mission(Mission, centralBodyMu_km3_s2, Mu),
|
|
39
|
-
mission(Mission, arrivalOrbitRadius_km, Radius),
|
|
40
|
-
div(Mu, Radius, SpeedSquared),
|
|
41
|
-
pow(SpeedSquared, 0.5, Speed).
|
|
42
|
-
|
|
43
|
-
transfer_speed_at_departure(Mission, Speed) :-
|
|
44
|
-
mission(Mission, centralBodyMu_km3_s2, Mu),
|
|
45
|
-
mission(Mission, departureOrbitRadius_km, Radius),
|
|
46
|
-
semi_major_axis(Mission, Axis),
|
|
47
|
-
div(2.0, Radius, TwiceOverRadius),
|
|
48
|
-
div(1.0, Axis, OneOverAxis),
|
|
49
|
-
sub(TwiceOverRadius, OneOverAxis, Bracket),
|
|
50
|
-
mul(Mu, Bracket, SpeedSquared),
|
|
51
|
-
pow(SpeedSquared, 0.5, Speed).
|
|
52
|
-
|
|
53
|
-
transfer_speed_at_arrival(Mission, Speed) :-
|
|
54
|
-
mission(Mission, centralBodyMu_km3_s2, Mu),
|
|
55
|
-
mission(Mission, arrivalOrbitRadius_km, Radius),
|
|
56
|
-
semi_major_axis(Mission, Axis),
|
|
57
|
-
div(2.0, Radius, TwiceOverRadius),
|
|
58
|
-
div(1.0, Axis, OneOverAxis),
|
|
59
|
-
sub(TwiceOverRadius, OneOverAxis, Bracket),
|
|
60
|
-
mul(Mu, Bracket, SpeedSquared),
|
|
61
|
-
pow(SpeedSquared, 0.5, Speed).
|
|
62
|
-
|
|
63
|
-
departure_delta_v(Mission, DeltaV) :-
|
|
64
|
-
transfer_speed_at_departure(Mission, TransferSpeed),
|
|
65
|
-
circular_speed_at_departure(Mission, CircularSpeed),
|
|
66
|
-
sub(TransferSpeed, CircularSpeed, DeltaV).
|
|
67
|
-
|
|
68
|
-
arrival_delta_v(Mission, DeltaV) :-
|
|
69
|
-
circular_speed_at_arrival(Mission, CircularSpeed),
|
|
70
|
-
transfer_speed_at_arrival(Mission, TransferSpeed),
|
|
71
|
-
sub(CircularSpeed, TransferSpeed, DeltaV).
|
|
72
|
-
|
|
73
|
-
total_delta_v(Mission, Total) :-
|
|
74
|
-
departure_delta_v(Mission, Depart),
|
|
75
|
-
arrival_delta_v(Mission, Arrive),
|
|
76
|
-
add(Depart, Arrive, Total).
|
|
77
|
-
|
|
78
|
-
transfer_time_days(Mission, Days) :-
|
|
79
|
-
semi_major_axis(Mission, Axis),
|
|
80
|
-
mission(Mission, centralBodyMu_km3_s2, Mu),
|
|
81
|
-
mission(Mission, pi, Pi),
|
|
82
|
-
mission(Mission, secondsPerDay, SecondsPerDay),
|
|
83
|
-
pow(Axis, 3.0, AxisCubed),
|
|
84
|
-
div(AxisCubed, Mu, TimeFactor),
|
|
85
|
-
pow(TimeFactor, 0.5, HalfPeriodBase),
|
|
86
|
-
mul(Pi, HalfPeriodBase, Seconds),
|
|
87
|
-
div(Seconds, SecondsPerDay, Days).
|
|
88
|
-
|
|
89
|
-
within_delta_v_budget(Mission) :-
|
|
90
|
-
total_delta_v(Mission, Total),
|
|
91
|
-
mission(Mission, deltaVBudget_km_s, Budget),
|
|
92
|
-
le(Total, Budget).
|
|
93
|
-
|
|
94
|
-
transferSemiMajorAxis_km(Mission, Axis) :-
|
|
95
|
-
semi_major_axis(Mission, Axis).
|
|
96
|
-
|
|
97
|
-
departureDeltaV_km_s(Mission, DeltaV) :-
|
|
98
|
-
departure_delta_v(Mission, DeltaV).
|
|
99
|
-
|
|
100
|
-
arrivalDeltaV_km_s(Mission, DeltaV) :-
|
|
101
|
-
arrival_delta_v(Mission, DeltaV).
|
|
102
|
-
|
|
103
|
-
totalDeltaV_km_s(Mission, Total) :-
|
|
104
|
-
total_delta_v(Mission, Total).
|
|
105
|
-
|
|
106
|
-
transferTime_days(Mission, Days) :-
|
|
107
|
-
transfer_time_days(Mission, Days).
|
|
108
|
-
|
|
109
|
-
status(Mission, feasible_reference_transfer) :-
|
|
110
|
-
within_delta_v_budget(Mission).
|
|
111
|
-
|
|
112
|
-
reason(Mission, "total Hohmann transfer delta-v is within the mission budget") :-
|
|
113
|
-
within_delta_v_budget(Mission).
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
ackermann([0, 0], 1).
|
|
2
|
-
ackermann([0, 6], 7).
|
|
3
|
-
ackermann([1, 2], 4).
|
|
4
|
-
ackermann([1, 7], 9).
|
|
5
|
-
ackermann([2, 2], 7).
|
|
6
|
-
ackermann([2, 9], 21).
|
|
7
|
-
ackermann([3, 4], 125).
|
|
8
|
-
ackermann([3, 1000], 85720688574901385675874003924800144844912384936442688595500031069628084089994889799455870305255668650207573833404251746014971622855385123487876620597588598431476542198593847883368596840498969135023633457224371799868655530139190140473324351568616503316569571821492337341283438653220995094697645344555005).
|
|
9
|
-
ackermann([4, 0], 13).
|
|
10
|
-
ackermann([4, 1], 65533).
|
|
11
|
-
ackermann([4, 2], 2003529930406846464979072351560255750447825475569751419265016973710894059556311453089506130880933348101038234342907263181822949382118812668869506364761547029165041871916351587966347219442930927982084309104855990570159318959639524863372367203002916969592156108764948889254090805911457037675208500206671563702366126359747144807111774815880914135742720967190151836282560618091458852699826141425030123391108273603843767876449043205960379124490905707560314035076162562476031863793126484703743782954975613770981604614413308692118102485959152380195331030292162800160568670105651646750568038741529463842244845292537361442533614373729088303794601274724958414864915930647252015155693922628180691650796381064132275307267143998158508811292628901134237782705567421080070065283963322155077831214288551675554073345107213112427399562982719769150054883905223804357045848197956393157853510018992000024141963706813559840464039472194016069517690156119726982337890017641517190051133466306898140219383481435426387306539552969691388024158161859561100640362119796101859534802787167200122604642492385111393400464351623867567078745259464670903886547743483217897012764455529409092021959585751622973333576159552394885297579954028471943529913543763705986928913757153740001986394332464890052543106629669165243419174691389632476560289415199775477703138064781342309596190960654591300890188887588084733625956065444888501447335706058817090162108499714529568344061979690565469813631162053579369791403236328496233046421066136200220175787851857409162050489711781820400187282939943446186224328009837323764931814789848119452713007440220765680910376203999203492023906626264491909167985461515778839060397720759279378852241294301017458086862263369284725851403039615558564330385450688652213114813638408384778263790459607186876728509763471271988890680478243230394718650525660978150729861141430305816927924971409161059417185352275887504477592218301158780701975535722241400019548102005661773589781499532325208589753463547007786690406429016763808161740550405117670093673202804549339027992491867306539931640720492238474815280619166900933805732120816350707634351669869625020969023162859350071874190579161241536897514808261904847946571736601005892476655445840838334790544144817684255327207315586349347605137419779525190365032198020108764738368682531025183377533908861426184800374008082238104076468878471647552945326947661700424461063311238021134588694532200116564076327023074292426051582811070387018345324567635625951430032037432740780879056283663406965030844225855967039271869461158513793386475699748568670079823960604393478850861649260304945061743412365828352144806726676841807083754862211408236579802961200027441324438432402331257403545019352428776430880232850855886089962774458164680857875115807014743763867976955049991643998284357290415378143438847303484261903388841494031366139854257635577105335580206622185577060082551288893332226436281984838613239570676191409638533832374343758830859233722284644287996245605476932428998432652677378373173288063210753211238680604674708428051166488709084770291208161104912555598322366244868556651402684641209694982590565519216188104341226838996283071654868525536914850299539675503954938371853405900096187489473992880432496373165753803673586710175783994818471798498246948060532081996066183434012476096639519778021441199752546704080608499344178256285092726523709898651539462193004607364507926212975917698293892367015170992091531567814439791248475706237804600009918293321306880570046591458387208088016887445835557926258465124763087148566313528934166117490617526671492672176128330845273936469244582892571388877839056300482483799839692029222215486145902373478222682521639957440801727144146179559226175083889020074169926238300282286249284182671243405751424188569994272331606998712986882771820617214453142574944015066139463169197629181506579745526236191224848063890033669074365989226349564114665503062965960199720636202603521917776740668777463549375318899587866282125469797102065747232721372918144666659421872003474508942830911535189271114287108376159222380276605327823351661555149369375778466670145717971901227117812780450240026384758788339396817962950690798817121690686929538248529830023476068454114178139110648560236549754227497231007615131870024053910510913817843721791422528587432098524957878034683703337818421444017138688124249984418618129271198533315382567321870421530631197748535214670955334626336610864667332292409879849256691109516143618601548909740241913509623043612196128165950518666022030715613684732364660868905014263913906515063908199378852318365059897299125404479443425166774299659811849233151555272883274028352688442408752811283289980625912673699546247341543333500147231430612750390307397135252069338173843322950701049061867539433130784798015655130384758155685236218010419650255596181934986315913233036096461905990236112681196023441843363334594927631946101716652913823717182394299216272538461776065694542297877071383198817036964588689811863210976900355735884624464835706291453052757101278872027965364479724025405448132748391794128826423835171949197209797145936887537198729130831738033911016128547415377377715951728084111627597186384924222802373441925469991983672192131287035585307966942713416391033882754318613643490100943197409047331014476299861725424423355612237435715825933382804986243892498222780715951762757847109475119033482241412025182688713728193104253478196128440176479531505057110722974314569915223451643121848657575786528197564843508958384722923534559464521215831657751471298708225909292655638836651120681943836904116252668710044560243704200663709001941185557160472044643696932850060046928140507119069261393993902735534545567470314903886022024639948260501762431969305640666366626090207048887438898907498152865444381862917382901051820869936382661868303915273264581286782806601337500096593364625146091723180312930347877421234679118454791311109897794648216922505629399956793483801699157439700537542134485874586856047286751065423341893839099110586465595113646061055156838541217459801807133163612573079611168343863767667307354583494789788316330129240800836356825939157113130978030516441716682518346573675934198084958947940983292500086389778563494693212473426103062713745077286156922596628573857905533240641849018451328284632709269753830867308409142247659474439973348130810986399417379789657010687026734161967196591599588537834822988270125605842365589539690306474965584147981310997157542043256395776070485100881578291408250777738559790129129407309462785944505859412273194812753225152324801503466519048228961406646890305102510916237770448486230229488966711380555607956620732449373374027836767300203011615227008921843515652121379215748206859356920790214502277133099987729459596952817044582181956080965811702798062669891205061560742325686842271306295009864421853470810407128917646906550836129916694778023822502789667843489199409657361704586786242554006942516693979292624714524945408858422726153755260071904336329196375777502176005195800693847635789586878489536872122898557806826518192703632099480155874455575175312736471421295536494084385586615208012115079075068553344489258693283859653013272046970694571546959353658571788894862333292465202735853188533370948455403336565356988172582528918056635488363743793348411845580168331827676834646291995605513470039147876808640322629616641560667508153710646723108461964247537490553744805318226002710216400980584497526023035640038083472053149941172965736785066421400842696497103241919182121213206939769143923368374709228267738708132236680086924703491586840991153098315412063566123187504305467536983230827966457417620806593177265685841681837966106144963432544111706941700222657817358351259821080769101961052229263879745049019254311900620561906577452416191913187533984049343976823310298465893318373015809592522829206820862230332585280119266496314441316442773003237792274712330696417149945532261035475145631290668854345426869788447742981777493710117614651624183616680254815296335308490849943006763654806102940094693750609845588558043970485914449584445079978497045583550685408745163316464118083123079704389849190506587586425810738422420591191941674182490452700288263983057950057341711487031187142834184499153456702915280104485145176055306971441761368582384102787659324662689978418319620312262421177391477208004883578333569204533935953254564897028558589735505751235129536540502842081022785248776603574246366673148680279486052445782673626230852978265057114624846595914210278122788941448163994973881884622768244851622051817076722169863265701654316919742651230041757329904473537672536845792754365412826553581858046840069367718605020070547247548400805530424951854495267247261347318174742180078574693465447136036975884118029408039616746946288540679172138601225419503819704538417268006398820656328792839582708510919958839448297775647152026132871089526163417707151642899487953564854553553148754978134009964854498635824847690590033116961303766127923464323129706628411307427046202032013368350385425360313636763575212604707425311209233402837482949453104727418969287275572027615272268283376741393425652653283068469997597097750005560889932685025049212884068274139881631540456490350775871680074055685724021758685439053228133770707415830756269628316955687424060527726485853050611356384851965918968649596335568216975437621430778665934730450164822432964891270709898076676625671517269062058815549666382573829274182082278960684488222983394816670984039024283514306813767253460126007269262969468672750794346190439996618979611928750519442356402644303271737341591281496056168353988188569484045342311424613559925272330064881627466723523751234311893442118885085079358163848994487544756331689213869675574302737953785262542329024881047181939037220666894702204258836895840939998453560948869946833852579675161882159410981624918741813364726965123980677561947912557957446471427868624053750576104204267149366084980238274680575982591331006919941904651906531171908926077949119217946407355129633864523035673345588033313197080365457184791550432654899559705862888286866606618021882248602144999973122164138170653480175510438406624412822803616648904257377640956326482825258407669045608439490325290526337532316509087681336614242398309530806549661879381949120033919489494065132398816642080088395554942237096734840072642705701165089075196155370186264797456381187856175457113400473810762763014953309735174180655479112660938034311378532532883533352024934365979129341284854970946826329075830193072665337782559314331110963848053940859283988907796210479847919686876539987477095912788727475874439806779824968278272200926449944559380414608770641941810440758269805688038949654616587983904660587645341810289907194293021774519976104495043196841503455514044820928933378657363052830619990077748726922998608279053171691876578860908941817057993404890218441559791092676862796597583952483926734883634745651687016166240642424241228961118010615682342539392180052483454723779219911228595914191877491793823340010078128326506710281781396029120914720100947878752551263372884222353869490067927664511634758101193875319657242121476038284774774571704578610417385747911301908583877890152334343013005282797038580359815182929600305682612091950943737325454171056383887047528950563961029843641360935641632589408137981511693338619797339821670761004607980096016024823096943043806956620123213650140549586250615282588033022908385812478469315720323233601899469437647726721879376826431828382603564520699468630216048874528424363593558622333506235945002890558581611275341783750455936126130852640828051213873177490200249552738734585956405160830583053770732533971552620444705429573538361113677523169972740292941674204423248113875075631319078272188864053374694213842169928862940479635305150560788126366206497231257579019598873041195626227343728900516561111094111745277965482790471250581999077498063821559376885546498822938985408291325129076478386322494781016753491693489288104203015610283386143827378160946341335383578340765314321417150655877547820252454780657301342277470616744241968952613164274104695474621483756288299771804186785084546965619150908695874251184435837306590951460980451247409411373899927822492983367796011015387096129749705566301637307202750734759922943792393824427421186158236161317886392553095117188421298508307238259729144142251579403883011359083331651858234967221259621812507058113759495525022747274674369887131926670769299199084467161228738858457584622726573330753735572823951616964175198675012681745429323738294143824814377139861906716657572945807804820559511881687188075212971832636442155336787751274766940790117057509819575084563565217389544179875074523854455200133572033332379895074393905312918212255259833790909463630202185353848854825062897715616963860712382771725621313460549401770413581731931763370136332252819127547191443450920711848838366818174263342949611870091503049165339464763717766439120798347494627397822171502090670190302469762151278521956142070806461631373236517853976292092025500288962012970141379640038055734949269073535145961208674796547733692958773628635660143767964038430796864138563447801328261284589184898528048048844180821639423974014362903481665458114454366460032490618763039502356402044530748210241366895196644221339200757479128683805175150634662569391937740283512075666260829890491877287833852178522792045771846965855278790447562192663992008409302075673925363735628390829817577902153202106409617373283598494066652141198183810884515459772895164572131897797907491941013148368544639616904607030107596818933741217575988165127000761262789169510406315857637534787420070222051070891257612361658026806815858499852631465878086616800733264676830206391697203064894405628195406190685242003053463156621891327309069687353181641094514288036605995220248248886711554429104721929134248346438705368508648749099178812670565665387191049721820042371492740164460943459845392536706132210616533085662021188968234005752675486101476993688738209584552211571923479686888160853631615862880150395949418529489227074410828207169303387818084936204018255222271010985653444817207470756019245915599431072949578197878590578940052540122867517142511184356437184053563024181225473266093302710397968091064939272722683035410467632591355279683837705019855234621222858410557119921731717969804339317707750755627056047831779844447637560254637033369247114220815519973691371975163241302748712199863404548248524570118553342675264715978310731245663429805221455494156252724028915333354349341217862037007260315279870771872491234494477147909520734761385425485311552773301030342476835865496093722324007154518129732692081058424090557725645803681462234493189708138897143299831347617799679712453782310703739151473878692119187566700319321281896803322696594459286210607438827416919465162267632540665070881071030394178860564893769816734159025925194611823642945652669372203155504700213598846292758012527715422016629954863130324912311029627923723899766416803497141226527931907636326136814145516376656559839788489381733082668779901962886932296597379951931621187215455287394170243669885593888793316744533363119541518404088283815193421234122820030950313341050704760159987985472529190665222479319715440331794836837373220821885773341623856441380700541913530245943913502554531886454796252260251762928374330465102361057583514550739443339610216229675461415781127197001738611494279501411253280621254775810512972088465263158094806633687670147310733540717710876615935856814098212967730759197382973441445256688770855324570888958320993823432102718224114763732791357568615421252849657903335093152776925505845644010552192644505312073756287744998163646332835816140330175813967359427327690448920361880386754955751806890058532927201493923500525845146706982628548257883267398735220457228239290207144822219885587102896991935873074277815159757620764023951243860202032596596250212578349957710085626386118233813318509014686577064010676278617583772772895892746039403930337271873850536912957126715066896688493880885142943609962012966759079225082275313812849851526902931700263136328942095797577959327635531162066753488651317323872438748063513314512644889967589828812925480076425186586490241111127301357197181381602583178506932244007998656635371544088454866393181708395735780799059730839094881804060935959190907473960904410150516321749681412100765719177483767355751000733616922386537429079457803200042337452807566153042929014495780629634138383551783599764708851349004856973697965238695845994595592090709058956891451141412684505462117945026611750166928260250950770778211950432617383223562437601776799362796099368975191394965033358507155418436456852616674243688920371037495328425927131610537834980740739158633817967658425258036737206469351248652238481341663808061505704829059890696451936440018597120425723007316410009916987524260377362177763430621616744884930810929901009517974541564251204822086714586849255132444266777127863728211331536224301091824391243380214046242223349153559516890816288487989988273630445372432174280215755777967021666317047969728172483392841015642274507271779269399929740308072770395013581545142494049026536105825409373114653104943382484379718606937214444600826798002471229489405761853892203425608302697052876621377373594394224114707074072902725461307358541745691419446487624357682397065703184168467540733466346293673983620004041400714054277632480132742202685393698869787607009590048684650626771363070979821006557285101306601010780633743344773073478653881742681230743766066643312775356466578603715192922768440458273283243808212841218776132042460464900801054731426749260826922155637405486241717031027919996942645620955619816454547662045022411449404749349832206807191352767986747813458203859570413466177937228534940031631599544093684089572533438702986717829770373332806801764639502090023941931499115009105276821119510999063166150311585582835582607179410052528583611369961303442790173811787412061288182062023263849861515656451230047792967563618345768105043341769543067538041113928553792529241347339481050532025708728186307291158911335942014761872664291564036371927602306283840650425441742335464549987055318726887926424102147363698625463747159744354943443899730051742525110877357886390946812096673428152585919924857640488055071329814299359911463239919113959926752576359007446572810191805841807342227734721397723218231771716916400108826112549093361186780575722391018186168549108500885272274374212086524852372456248697662245384819298671129452945515497030585919307198497105414181636968976131126744027009648667545934567059936995464500558921628047976365686133316563907395703272034389175415267500915011198856872708848195531676931681272892143031376818016445477367518353497857924276463354162433601125960252109501612264110346083465648235597934274056868849224458745493776752120324703803035491157544831295275891939893680876327685438769557694881422844311998595700727521393176837831770339130423060958999137314684569010422095161967070506420256733873446115655276175992727151877660010238944760539789516945708802728736225121076224091810066700883474737605156285533943565843756271241244457651663064085939507947550920463932245202535463634444791755661725962187199279186575490857852950012840229035061514937310107009446151011613712423761426722541732055959202782129325725947146417224977321316381845326555279604270541871496236585252458648933254145062642337885651464670604298564781968461593663288954299780722542264790400616019751975007460545150060291806638271497016110987951336633771378434416194053121445291855180136575558667615019373029691932076120009255065081583275508499340768797252369987023567931026804136745718956641431852679054717169962990363015545645090044802789055701968328313630718997699153166679208958768572290600915472919636381673596673959975710326015571920237348580521128117458610065152598883843114511894880552129145775699146577530041384717124577965048175856395072895337539755822087777506072339445587895905719156733).
|
|
12
|
-
ackermann([5, 0], 65533).
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
broader(tel_car, ref_car).
|
|
2
|
-
broader(tel_heavy_vehicle, ref_car).
|
|
3
|
-
broader(anpr_vehicle_with_plate, ref_car).
|
|
4
|
-
broader(anpr_passenger_car, anpr_vehicle_with_plate).
|
|
5
|
-
narrower(ref_car, tel_car).
|
|
6
|
-
narrower(ref_car, tel_heavy_vehicle).
|
|
7
|
-
narrower(ref_car, anpr_vehicle_with_plate).
|
|
8
|
-
narrower(anpr_vehicle_with_plate, anpr_passenger_car).
|
|
9
|
-
broaderTransitive(tel_car, ref_car).
|
|
10
|
-
broaderTransitive(tel_heavy_vehicle, ref_car).
|
|
11
|
-
broaderTransitive(anpr_vehicle_with_plate, ref_car).
|
|
12
|
-
broaderTransitive(anpr_passenger_car, anpr_vehicle_with_plate).
|
|
13
|
-
broaderTransitive(anpr_passenger_car, ref_car).
|
|
14
|
-
narrowerTransitive(ref_car, tel_car).
|
|
15
|
-
narrowerTransitive(ref_car, tel_heavy_vehicle).
|
|
16
|
-
narrowerTransitive(ref_car, anpr_vehicle_with_plate).
|
|
17
|
-
narrowerTransitive(anpr_vehicle_with_plate, anpr_passenger_car).
|
|
18
|
-
narrowerTransitive(ref_car, anpr_passenger_car).
|
|
19
|
-
narrowerOrEqualOf(ref_car, ref_car).
|
|
20
|
-
narrowerOrEqualOf(tel_car, tel_car).
|
|
21
|
-
narrowerOrEqualOf(tel_heavy_vehicle, tel_heavy_vehicle).
|
|
22
|
-
narrowerOrEqualOf(anpr_vehicle_with_plate, anpr_vehicle_with_plate).
|
|
23
|
-
narrowerOrEqualOf(anpr_passenger_car, anpr_passenger_car).
|
|
24
|
-
narrowerOrEqualOf(tel_car, ref_car).
|
|
25
|
-
narrowerOrEqualOf(tel_heavy_vehicle, ref_car).
|
|
26
|
-
narrowerOrEqualOf(anpr_vehicle_with_plate, ref_car).
|
|
27
|
-
narrowerOrEqualOf(anpr_passenger_car, anpr_vehicle_with_plate).
|
|
28
|
-
narrowerOrEqualOf(anpr_passenger_car, ref_car).
|
|
29
|
-
rollsUpTo(tel_car, ref_car).
|
|
30
|
-
rollsUpTo(tel_heavy_vehicle, ref_car).
|
|
31
|
-
rollsUpTo(anpr_vehicle_with_plate, ref_car).
|
|
32
|
-
rollsUpTo(anpr_passenger_car, ref_car).
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
start(a, 10).
|
|
2
|
-
start(b, 13).
|
|
3
|
-
start(c, 12).
|
|
4
|
-
start(d, 11).
|
|
5
|
-
start(e, 10).
|
|
6
|
-
start(f, 10).
|
|
7
|
-
start(g, 11).
|
|
8
|
-
start(h, 9).
|
|
9
|
-
start(i, 16).
|
|
10
|
-
start(j, 15).
|
|
11
|
-
start(k, 13).
|
|
12
|
-
end(a, 12).
|
|
13
|
-
end(b, 15).
|
|
14
|
-
end(c, 14).
|
|
15
|
-
end(d, 13).
|
|
16
|
-
end(e, 12).
|
|
17
|
-
end(f, 11).
|
|
18
|
-
end(g, 12).
|
|
19
|
-
end(h, 16).
|
|
20
|
-
end(i, 18).
|
|
21
|
-
end(j, 16).
|
|
22
|
-
end(k, 14).
|
|
23
|
-
duration(a, 2).
|
|
24
|
-
duration(b, 2).
|
|
25
|
-
duration(c, 2).
|
|
26
|
-
duration(d, 2).
|
|
27
|
-
duration(e, 2).
|
|
28
|
-
duration(f, 1).
|
|
29
|
-
duration(g, 1).
|
|
30
|
-
duration(h, 7).
|
|
31
|
-
duration(i, 2).
|
|
32
|
-
duration(j, 1).
|
|
33
|
-
duration(k, 1).
|
|
34
|
-
statement(a, before, b).
|
|
35
|
-
statement(a, before, i).
|
|
36
|
-
statement(a, before, j).
|
|
37
|
-
statement(a, before, k).
|
|
38
|
-
statement(b, before, i).
|
|
39
|
-
statement(c, before, i).
|
|
40
|
-
statement(c, before, j).
|
|
41
|
-
statement(d, before, i).
|
|
42
|
-
statement(d, before, j).
|
|
43
|
-
statement(e, before, b).
|
|
44
|
-
statement(e, before, i).
|
|
45
|
-
statement(e, before, j).
|
|
46
|
-
statement(e, before, k).
|
|
47
|
-
statement(f, before, b).
|
|
48
|
-
statement(f, before, c).
|
|
49
|
-
statement(f, before, i).
|
|
50
|
-
statement(f, before, j).
|
|
51
|
-
statement(f, before, k).
|
|
52
|
-
statement(g, before, b).
|
|
53
|
-
statement(g, before, i).
|
|
54
|
-
statement(g, before, j).
|
|
55
|
-
statement(g, before, k).
|
|
56
|
-
statement(k, before, i).
|
|
57
|
-
statement(k, before, j).
|
|
58
|
-
statement(a, meets, c).
|
|
59
|
-
statement(b, meets, j).
|
|
60
|
-
statement(d, meets, b).
|
|
61
|
-
statement(d, meets, k).
|
|
62
|
-
statement(e, meets, c).
|
|
63
|
-
statement(f, meets, d).
|
|
64
|
-
statement(f, meets, g).
|
|
65
|
-
statement(g, meets, c).
|
|
66
|
-
statement(h, meets, i).
|
|
67
|
-
statement(j, meets, i).
|
|
68
|
-
statement(a, overlaps, d).
|
|
69
|
-
statement(c, overlaps, b).
|
|
70
|
-
statement(d, overlaps, c).
|
|
71
|
-
statement(e, overlaps, d).
|
|
72
|
-
statement(f, starts, a).
|
|
73
|
-
statement(f, starts, e).
|
|
74
|
-
statement(g, starts, d).
|
|
75
|
-
statement(k, starts, b).
|
|
76
|
-
statement(a, during, h).
|
|
77
|
-
statement(b, during, h).
|
|
78
|
-
statement(c, during, h).
|
|
79
|
-
statement(d, during, h).
|
|
80
|
-
statement(e, during, h).
|
|
81
|
-
statement(f, during, h).
|
|
82
|
-
statement(g, during, h).
|
|
83
|
-
statement(k, during, h).
|
|
84
|
-
statement(g, finishes, a).
|
|
85
|
-
statement(g, finishes, e).
|
|
86
|
-
statement(j, finishes, h).
|
|
87
|
-
statement(k, finishes, c).
|
|
88
|
-
statement(a, equals, a).
|
|
89
|
-
statement(a, equals, e).
|
|
90
|
-
statement(b, equals, b).
|
|
91
|
-
statement(c, equals, c).
|
|
92
|
-
statement(d, equals, d).
|
|
93
|
-
statement(e, equals, a).
|
|
94
|
-
statement(e, equals, e).
|
|
95
|
-
statement(f, equals, f).
|
|
96
|
-
statement(g, equals, g).
|
|
97
|
-
statement(h, equals, h).
|
|
98
|
-
statement(i, equals, i).
|
|
99
|
-
statement(j, equals, j).
|
|
100
|
-
statement(k, equals, k).
|
|
101
|
-
statement(b, after, a).
|
|
102
|
-
statement(i, after, a).
|
|
103
|
-
statement(j, after, a).
|
|
104
|
-
statement(k, after, a).
|
|
105
|
-
statement(i, after, b).
|
|
106
|
-
statement(i, after, c).
|
|
107
|
-
statement(j, after, c).
|
|
108
|
-
statement(i, after, d).
|
|
109
|
-
statement(j, after, d).
|
|
110
|
-
statement(b, after, e).
|
|
111
|
-
statement(i, after, e).
|
|
112
|
-
statement(j, after, e).
|
|
113
|
-
statement(k, after, e).
|
|
114
|
-
statement(b, after, f).
|
|
115
|
-
statement(c, after, f).
|
|
116
|
-
statement(i, after, f).
|
|
117
|
-
statement(j, after, f).
|
|
118
|
-
statement(k, after, f).
|
|
119
|
-
statement(b, after, g).
|
|
120
|
-
statement(i, after, g).
|
|
121
|
-
statement(j, after, g).
|
|
122
|
-
statement(k, after, g).
|
|
123
|
-
statement(i, after, k).
|
|
124
|
-
statement(j, after, k).
|
|
125
|
-
statement(c, metBy, a).
|
|
126
|
-
statement(j, metBy, b).
|
|
127
|
-
statement(b, metBy, d).
|
|
128
|
-
statement(k, metBy, d).
|
|
129
|
-
statement(c, metBy, e).
|
|
130
|
-
statement(d, metBy, f).
|
|
131
|
-
statement(g, metBy, f).
|
|
132
|
-
statement(c, metBy, g).
|
|
133
|
-
statement(i, metBy, h).
|
|
134
|
-
statement(i, metBy, j).
|
|
135
|
-
statement(d, overlappedBy, a).
|
|
136
|
-
statement(b, overlappedBy, c).
|
|
137
|
-
statement(c, overlappedBy, d).
|
|
138
|
-
statement(d, overlappedBy, e).
|
|
139
|
-
statement(a, startedBy, f).
|
|
140
|
-
statement(e, startedBy, f).
|
|
141
|
-
statement(d, startedBy, g).
|
|
142
|
-
statement(b, startedBy, k).
|
|
143
|
-
statement(h, contains, a).
|
|
144
|
-
statement(h, contains, b).
|
|
145
|
-
statement(h, contains, c).
|
|
146
|
-
statement(h, contains, d).
|
|
147
|
-
statement(h, contains, e).
|
|
148
|
-
statement(h, contains, f).
|
|
149
|
-
statement(h, contains, g).
|
|
150
|
-
statement(h, contains, k).
|
|
151
|
-
statement(a, finishedBy, g).
|
|
152
|
-
statement(e, finishedBy, g).
|
|
153
|
-
statement(h, finishedBy, j).
|
|
154
|
-
statement(c, finishedBy, k).
|