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 best solutions below
Related Questions in RDF
- Trying to understand "expected types" and "type.property.schema" properties in Freebase
- Reasoning and datatypes of Literals
- Query multiple models within same Dataset in TDB Jena
- SPARQL Group-Concat not working
- Convert a statement with adjective in RDF triple
- importing rdf in 4store
- Resources on OWL and Building Ontologies
- sparql how to search on label's value without the language indicator
- Converting database to RDF using D2RQ
- Count resources having a property of a certain type in SPARQL
- Fuseki s-query Query cancelled
- OWL. How to express that siblings has common parent?
- HACluster Config for Stardog
- Selecting nodes with conditions
- range function in sparql
Related Questions in OWL
- Reasoning and datatypes of Literals
- property chaine for a data property
- Loading owl file with Jena
- Loading an ontology from string using OWL API
- Resources on OWL and Building Ontologies
- UnloadableImportException when loading ontology file with OWLAPI
- sparql how to search on label's value without the language indicator
- How to load a owl file to neo4j using eclipse
- OWL. How to express that siblings has common parent?
- Check ontology consistency & satisifiability with OWL API 4
- How to get a single name for multiple name properties in DBPedia with SPARQL?
- OWL reasoning: Necessary and sufficient conditions for inferring a property
- How to reason or make inferences using hermit reasoner in command line
- What does partial mean in owl
- Understanding Extential and Universal restriction use case (Pizza ontology use case)
Related Questions in ONTOLOGY
- Query multiple models within same Dataset in TDB Jena
- Loading owl file with Jena
- Sparql Query on GeoNames Ontology using Nearby
- Loading an ontology from string using OWL API
- Resources on OWL and Building Ontologies
- Ontologies, OWL, Sparql: Modelling that "something is not there" and performance considerations
- How to properly merge 2 ontologies with OWL API 4 or 3.5
- Check ontology consistency & satisifiability with OWL API 4
- OutOfMemory in Protege when classifying ontology with Pellet
- Neo4j Avoiding circular results in cypher query
- Understanding Extential and Universal restriction use case (Pizza ontology use case)
- What's the name for this evidence grouping method on an ontology
- What is the difference between XML and RDF
- OWL 2 ontology consistency check
- Explanations for Inconsistency in OWL 2 ontology in Java
Related Questions in RDFS
- Trying to understand "expected types" and "type.property.schema" properties in Freebase
- sparql how to search on label's value without the language indicator
- Installing Silk Workbench on windows 10?
- SPARQL : Find Difference and Common Elements in 2 Sets
- add RDFS inference rules support in endpoint SPARQL
- Why a class is written as rdfs:Class and a property is written as rdf:Property
- Property with blank node as range
- How can i parse a Resource Description Framework Schema file?
- Issues with xpath that contained namespaces in Java (Dom parser)
- Open world assumption and SPARQL in triple stores
- Using the 'GRAPH' keyword in SPARQL to fetch remote graphs
- How to query Classes with Object Property in Sparql
- RDF : Is it possible to set the range of a property to a literal in Turtle
- Difference between domain and range in rdf schema?
- Avoid specifying number of explicitly enumerated resources?
Related Questions in BLANK-NODES
- Property with blank node as range
- Sparql query with Blank node can be complex
- Produce the same blank node in CONSTRUCT across multiple solutions
- How to merge blank nodes in Jena without duplication
- SPARQL Blank node skolemization with incremental Variable
- RDFlib Blank node update query
- Sparql query returns undesired results when using blank nodes (rdflib)
- JSON-LD: Assign custom URIs to blank nodes within context
- Protege 4 - Saving RDF reformats nested blank nodes
- How to delete blank node and its associated triples one sparql query?
- Controlling conversion of RDF to "prettier" JSON-LD
- ARQ query for blank node
- RDFlib adding blank nodes in triples
- Issue when updating triple with blank nodes using sqarql
- RDF/XML Representing address with blank nodes
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 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?
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