Note that there are some explanatory texts on larger screens.

plurals
  1. POString manipulation in RDF/OWL
    text
    copied!<p>A Beginner question about the semantic web.</p> <p>I have a knowledge base of colors which includes similar colors, color modifiers (dark, light, ~ish, etc), color relations (darker, brighter), color synonyms, etc. I am trying to figure out if RDF/OWL is a good choice to manipulate (mainly query) this KB. Here are the queries I need to support.</p> <p>1) Find all colors similar to a given color. If I represent color similarity with a "similar" predicate, a simple Sparql query will do. Same for synonyms and relations. Good.</p> <p>2) The problem becomes more tricky when I need to find if a token or phrase x is a valid color. If x is an unmodified color, the problem can be solved by creating a Color class and making sure all the known colors are instances of that class. But what if x is a modified color like "redish" ? Obviously, one solution would be to have all the modified colors part of the KB by adding them explicitly.</p> <p>But, is it possible to add all the modified colors automatically to the RDF? In other words, is it possible to define a class of modified colors that would entail all modified colors? This requires some concatenation operator. Is that at all possible?</p> <p>Another solution would be to have some logic to decompose x and check a) if it contains a known modifier and b) if the modified thing is a valid color. Of course, I'd like this logic to be described in RDF/OWL as well. Any idea?</p> <p>Thanks in advance for any input or suggestion.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload