[Pellet-users] NO RESULTS with someValuesFrom?

Yoshio FUKUSHIGE fukushige.yoshio at jp.panasonic.com
Wed May 23 08:24:25 UTC 2007


Hi, I'm new to Pellet, and encountered an unexpected result 
with someValuesFrom restriction.

i.e. with my DB including
--------
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix kd: <http://ont.example.org/Kaden#>.
@prefix pana: <http://prod.example.com/Panasonic#>.

pana:Ex200 a owl:Class;
	rdfs:subClassOf
		[a owl:Restriction;
		 owl:onProperty kd:supportConnection;
		 owl:someValuesFrom kd:HDMIConnection].

kd:supportConnection a owl:ObjectProperty.

kd:HDMIConnection a owl:Class.
--------
when I asked a SPARQL query
--------
PREFIX kd: <http://ont.example.org/Kaden#>
PREFIX pana: <http://prod.example.com/Panasonic#>
SELECT ?c
WHERE 
  {
	[a pana:Ex200] kd:supportConnection [a ?c].
  }
-------
I got NO RESULTS (0 answers).

I expected ?c to match kd:HDMIConnection (and owl:Class).

Do I miss something or is this a type of queries Pellet
doesn't support now?

When I say
--------
pana:Ex200 a owl:Class;
	rdfs:subClassOf
		[a owl:Restriction;
		 owl:onProperty kd:supportConnection;
		 owl:hasValue [a kd:HDMIConnection]].
------
instead,
it worked...

I'm using Pellet version 1.4

Best,
Yoshio Fukushige

-- 
Yoshio FUKUSHIGE <fukushige.yoshio at jp.panasonic.com>
Network Development Center,
Matsushita Electric Industrial Co., Ltd.




More information about the Pellet-users mailing list