msalvadores/4sr — Issue #1: Test with rdfs:range, error ?
Author: BorderCloud
Created: 2011-11-20 16:14:01+00:00
State: open

Hi

I tested this example :

@prefix rdf: .
@prefix rdfs: .
@prefix ex: .
@prefix zoo: .
ex:dog1 rdf:type ex:animal .
ex:cat1 rdf:type ex:cat .
ex:cat rdfs:subClassOf ex:animal .
ex:host rdfs:range ex:animal .
ex:zoo1 zoo:host ex:cat2 .

After I use :

4s-httpd -R N -p 8080 demo
curl -T zoo.ttl -H 'Content-Type: application/x-turtle' http://localhost:8080/data/http://example.org/

But with this request

PREFIX rdf:
PREFIX rdfs:

prefix ex:
select * where {
?animal a ex:animal .
}

I had this result :
http://example.org/cat1
http://example.org/dog1

4SR forgot this triple. No ?
http://example.org/cat2

Thanks
Karima