Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tenet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tetras MARS
tenet
Commits
be7b9751
Commit
be7b9751
authored
3 years ago
by
David Rouquet
Browse files
Options
Downloads
Patches
Plain Diff
1er post-processing pour traiter (temporairement ?)
#11
parent
baded25f
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
config/transduction-schemes.ttl
+41
-0
41 additions, 0 deletions
config/transduction-schemes.ttl
with
41 additions
and
0 deletions
config/transduction-schemes.ttl
+
41
−
0
View file @
be7b9751
...
@@ -609,6 +609,7 @@ cts:batch_execution
...
@@ -609,6 +609,7 @@ cts:batch_execution
sh:
rule
cts:
instantiate-classlist-by-extension-2
;
sh:
rule
cts:
instantiate-classlist-by-extension-2
;
sh:
rule
cts:
instantiate-entity-net
;
sh:
rule
cts:
instantiate-entity-net
;
sh:
rule
cts:
link-to-scope-entry
;
sh:
rule
cts:
link-to-scope-entry
;
sh:
rule
cts:
specify-objectProperty-domain-or-range
;
sh:
rule
cts:
typify-modlist-entity
;
sh:
rule
cts:
typify-modlist-entity
;
sh:
rule
cts:
typify-modlist-feature
;
sh:
rule
cts:
typify-modlist-feature
;
.
.
...
@@ -1633,6 +1634,12 @@ cts:net_extension
...
@@ -1633,6 +1634,12 @@ cts:net_extension
rdfs:
label
"net extension"
;
rdfs:
label
"net extension"
;
rdfs:
subClassOf
cts:
Transduction_Schemes
;
rdfs:
subClassOf
cts:
Transduction_Schemes
;
.
.
cts:
postprocessing
rdf:
type
owl:
Class
;
rdf:
type
sh:
NodeShape
;
rdfs:
subClassOf
cts:
Transduction_Schemes
;
sh:
rule
cts:
specify-objectProperty-domain-or-range
;
.
cts:
preprocessing
cts:
preprocessing
rdf:
type
owl:
Class
;
rdf:
type
owl:
Class
;
rdf:
type
sh:
NodeShape
;
rdf:
type
sh:
NodeShape
;
...
@@ -1642,6 +1649,40 @@ cts:preprocessing
...
@@ -1642,6 +1649,40 @@ cts:preprocessing
sh:
rule
cts:
define-uw-id
;
sh:
rule
cts:
define-uw-id
;
sh:
rule
cts:
link-to-scope-entry
;
sh:
rule
cts:
link-to-scope-entry
;
.
.
cts:
specify-objectProperty-domain-or-range
rdf:
type
sh:
SPARQLRule
;
sh:
construct
"""PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX unl: <https://unl.tetras-libre.fr/rdf/schema#>
PREFIX net: <https://unsel.tetras-libre.fr/tenet/semantic-net#>
PREFIX cprm: <https://unsel.tetras-libre.fr/tenet/config/parameters#>
PREFIX req: <https://unsel.tetras-libre.fr/tenet/frame/requirement-ontology#>
PREFIX sys: <https://unsel.tetras-libre.fr/tenet/frame/system-ontology/>
PREFIX fprm: <https://unsel.tetras-libre.fr/tenet/frame/parameters#>
CONSTRUCT{
?prop ?domainOrRange ?classNew .
?prop sys:from_structure ?sentence .
?prop ?keepDomainOrRange ?classNew .
?prop ?delDomainOrRange ?classInit .
}
WHERE {
{BIND(rdfs:domain AS ?domainOrRange)}
UNION
{BIND(rdfs:range AS ?domainOrRange)}
?domainOrRange rdfs:label ?domainOrRangeLabel .
BIND (URI(CONCAT('keep_',?domainOrRangeLabel)) AS ?keepDomainOrRange)
BIND (URI(CONCAT('del_',?domainOrRangeLabel)) AS ?delDomainOrRange)
?prop rdfs:subPropertyOf+ sys:eventObjectProperty ;
?domainOrRange ?classInit .
?inst a ?classInit , ?classNew ; sys:from_structure ?sentence .
?classNew rdfs:subClassOf* ?classInit .
FILTER ((NOT EXISTS {?classUnder rdfs:subClassOf ?classNew}) || (NOT EXISTS {?classUnder rdfs:subClassOf ?classNew. ?inst a ?classUnder}))
}"""
;
sh:
order
999.1
;
.
cts:
state_property_extraction
cts:
state_property_extraction
rdf:
type
owl:
Class
;
rdf:
type
owl:
Class
;
rdf:
type
sh:
NodeShape
;
rdf:
type
sh:
NodeShape
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment