When I define property in ontology, how would I define that range of this property is a "blank" node? For example I want to define property hasPhoneNumber with domain Person. Than I know that person can have more than one phone numbers, so instance of Person will have blank node attached to hasPhoneNumber property and then phone numbers attached to this blank node.
Property with blank node as range
1k views Asked by user3024710 At
1
There are 1 answers
Related Questions in RDF
- How to structure json-ld for export/import
- RDF: when a property is used the thing in the object position is a literal of datatype X
- In the UML diagram, in the Class diagram, what does stereotype mean <<compound>>?
- Expansive path expressions in quoted triples?
- RDFlib serlialization in json-ld without blank node ids
- How to extract the language tags from Turtle RDF data?
- ontology versioning: Link both versionIRI#MyClassIRI and ontologyIRI#MyClass123 to same resource in rdf / owl
- uniqueness of owl n-ary relationships
- How to select only direct subClassOf element in a GraphDB custom ruleset?
- Is it possible to directly run SPARQL query against webpages with JSON-LD data?
- Weird behavior on LIMIT and OFFSET when querying DBPedia
- Querying Office for National Statistics data using SPARQL
- Problem with Java when using Apache Jena Fuseki?
- Expressing in json-ld the type of a value embedded within an id
- Filter RDF file using SPARQL
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 ONTOLOGY
- How to structure json-ld for export/import
- Error with OWLEntityRenamer in renaming IRIs
- Self-restriction in Protégé reasoner
- Find what creates the inconsistency using OWLAPI
- Use of OWL inferences
- ontology versioning: Link both versionIRI#MyClassIRI and ontologyIRI#MyClass123 to same resource in rdf / owl
- How to perform SWRL rule based reasoning on an ontology owl file in Python to infer individuals into subclasses
- Clarification on DBpedia Class and Namespace Differences - Beginner Inquiry
- Protege reasoner highlighting class with red colour
- Convert a string into an OWLAxiom object
- "insert data" query in jena
- Transfer axioms from two ontologies into a third one
- Save parts of an ontology into different files
- Extract a fraction of an ontology that is expressed by OWL-Full
- Querying individual classes within two versions of an ontology in OwlReady2
Related Questions in RDFS
- RDF: when a property is used the thing in the object position is a literal of datatype X
- How to select only direct subClassOf element in a GraphDB custom ruleset?
- How to structure an OWL property that be "Nobody"?
- Jena Riot infers invalid RDF (with literals as subjects)
- changing cism: Stereotype rdf:resource when exporting RDFS File
- When to use rdf:Type vs rdfs:subClassOf
- Validating an JSON-LD JSON object against RDF
- How to handle multiple graphs in Blazegraph?
- What is the preferred approach to express pure SHACL shape inheritance
- RDF vs. RDF Model vs. RDF Data Model
- How to correctly query the Pizza Ontology with SPARQL?
- RDFS subClassOf: Can a class be a subclass of itself?
- Not able to get all subclasses from Protégé query
- Why are rdfs and owl not working in this query?
- How to infer a property depending on a comparison between two (transitive) properties on two individuals?
Related Questions in BLANK-NODES
- RDFlib serlialization in json-ld without blank node ids
- Blank nodes vs variables in SPARQL queries
- How to write a correct SPARQL update statement with blank nodes?
- Sparql query returns undesired results when using blank nodes (rdflib)
- SPARQL Join based on blank RDF nodes
- How can I nest my list of blank nodes rather than have each one in a different graph
- Is it possible to convert some IRIs to blank nodes in SPARQL?
- Convert blank node in URI in sparql
- Converting a bnode to a string in graphdb
- RDF/XML Representing address with blank nodes
- Issue when updating triple with blank nodes using sqarql
- Adding rdf:type to a blank node in Ontorefine
- What is the blank nodes utility in SPARQL queries?
- GraphDB Visual Graph not showing blank nodes
- JSON-LD: Assign custom URIs to blank nodes within context
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?
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)
In short, you can't do this. Blank nodes are just another type of resource. Blank nodes act as existential variables in RDF; use of a blank node in a graph says that some resource exists and stands in certain relationships to other. For instance, the graph (with no blank nodes):
entails the following graph (with blank nodes):
For more about this treatment, see 1.5. Blank Nodes as Existential Variables from the W3C recommendation, RDF Semantics.
At the RDF and RDFS level, (where you'd be defining domains and ranges of properties) to distinguish whether a resource is a URI resource or a blank node. It's not really clear what it would mean either, if you could. By saying that
what you're saying is that any time you see a use of
:p, e.g.,that you can add the following triples to the graph:
Notice since
rdfs:domainandrdfs:rangeare about adding more triples to the graph, it doesn't really matter whether the subject and object of a triple using:p(:aand:bin this case) are blank nodes or URI nodes.If you want to have more than one phone number for a person, you could just use multiple triples, and have something like:
which is the three triples:
Alternatively, if you want to model that a person can have some collection of phone numbers, you might use an RDF container. E.g., with an
rdf:List:which can be written in full as