I'm trying to create a simple ontology that has two classes: class1 and class2,- and two instances that have simple text data property with the same name (hasName: "string1"^^xsd:string and hasName "string2"^^xsd:string respectivly). I want to classify these instances with reasoner to the respective classes based on regular expression (for example, the restriction for class 1 would be hasName some xsd:string[pattern "string1"], and such, the reasoner should infer that instance1 belongs to class1, but instance2 is not). How can it be done?
Creating regex restriction on OWL class
400 Views Asked by Андрей Барышников At
1
There are 1 best solutions below
Related Questions in XSD
- Delphi can not compile the unit create by its "XML Data Binding Wizard"
- In XSD do you have to import the standard schema in order to use it?
- XML default namespace vs prefix namespace declarations
- write xml using xsd using xmlschema_from_json giving error: Reason: unable to select an element for decoding data, provide a valid 'path' argument
- eclipse xml validation, https certificate SunCertPathBuilderException
- Cannot Find The Declaration Of Element 'Document'., Line '1', Column '11'
- ORA-31043: Element '' not globally defined in schema ''
- xmltype.schemaValidate changes timestamp values resulting in regex validation failure
- Jaxb inheritance with multiple XSD files fails when 1 XSD file doesn't contain a tag
- How to move namespace declaration from inner element to upper element?
- how to iterate and print logger xml object response data value we don't have java class for that object it's XSD and there is no toString()
- Re-Serialize a C# Dataset through an XSD to a XML file
- Dataweave script or function to transform unordered JSON payload to ordered XML payload?
- Imported XSD elements are always "invalid"
- XML validation Cannot Resolve The Name
Related Questions in OWL
- RDF: when a property is used the thing in the object position is a literal of datatype X
- Error with OWLEntityRenamer in renaming IRIs
- Self-restriction in Protégé reasoner
- owl api non-buffering reasoner still needs a flush
- Problem with setting up config for Fuseki server - Exception in initialization: org/apache/jena/reasoner/BaseInfGraph$InfFindSafeCapabilities
- Use of OWL inferences
- ontology versioning: Link both versionIRI#MyClassIRI and ontologyIRI#MyClass123 to same resource in rdf / owl
- uniqueness of owl n-ary relationships
- Load an ontology in R
- Read an owl file in R as dataframe
- Parse an OWL file using RDFLib generetes errors
- Get explanations with OWL API + Openllet
- Get explanations with OWL API + Pellet
- Protégé export explanation
- Transfer axioms from two ontologies into a third one
Related Questions in PELLET
- Problem with setting up config for Fuseki server - Exception in initialization: org/apache/jena/reasoner/BaseInfGraph$InfFindSafeCapabilities
- Get explanations with OWL API + Openllet
- Get explanations with OWL API + Pellet
- Extend OWL class and check for inconsistencies
- Inconsistencies in OWL classes
- OWL reasoners in owlready2 : how to reduce computation time
- How to generate specific inference using owlapi?
- How to use Pellet reasoner in OWL API
- Finding Protege + owl api + pellet ignazio1977 configurations
- Why is Protege not able to infer all implicit axioms in one operation?
- Stardog raises ConcurrentModificationException upon reasoned query on graph with SWRL Rules
- OWLAPI: Reasoning over ontology with disjunctions
- Problem with 'getInstanceExplanations' when using OWL-API and Pellet reasoner
- Protege Pellet Reasoner with error but not HermiT
- What flavors of reasoning are supported in VOS?
Related Questions in HERMIT
- Find what creates the inconsistency using OWLAPI
- How to perform existential quantification inferences in ontologies?
- OWL reasoners in owlready2 : how to reduce computation time
- OWLAPI and HermiT reasoner: non-asserted deleted individuals are still inferred
- OWL API, Hermit materialization
- OWLAPI and HermiT reasoner: can not force irreflexive transitive object property
- Using Hermit Reasoner to check if an Ontology is Consistant
- HermiT entailments that contain negation
- How to model Logical Expression using Protege OWL
- Create reasoner does not work on Tomcat deployment
- Why is Protege not able to infer all implicit axioms in one operation?
- OWLAPI: Reasoning over ontology with disjunctions
- Inferring the existence of individuals using Protege
- Infer non-trivial OWL superclasses (or subclasses) assertions using a Java reasoner
- Using only constraint in owl leads to inconsistency
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Using Openllet(2.6.2-SNAPSHOT) you can do things like that :
As you can see the line :
is the one that add the "regexp" to the classification algorithm.
Here the pattern is 'A.A', pattern follow 'java-regexp'enter link description here rules.