Dear all,

Property http://dbpedia.org/ontology/productionEndYear shouldn't be a
functional property? Any instance is the subject of a triple ?instance <
http://dbpedia.org/ontology/productionEndYear> ?year shouldn't have only
one year value?

Besides, when I execute next query:
SELECT DISTINCT ?prop_theEntity_1 ?data_property ?data_value
WHERE {
?prop_theEntity_1 a <http://dbpedia.org/ontology/Automobile> .
FILTER ( ?prop_theEntity_1 = <http://dbpedia.org/resource/Porsche_997> )
OPTIONAL { ?prop_theEntity_1 ?data_property ?data_value. }
} ORDER BY ?prop_theEntity_1 ?data_property ?data_value

http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=SELECT+DISTINCT+%3Fprop_theEntity_1+%3Fdata_property+%3Fdata_value%0D%0AWHERE+%7B%0D%0A%3Fprop_theEntity_1+a+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FAutomobile%3E+.%0D%0AFILTER+%28+%3Fprop_theEntity_1+%3D+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FPorsche_997%3E+%29%0D%0AOPTIONAL+%7B+%3Fprop_theEntity_1+%3Fdata_property+%3Fdata_value.+%7D%0D%0A%7D+ORDER+BY+%3Fprop_theEntity_1+%3Fdata_property+%3Fdata_value&format=text%2Fhtml&timeout=0&debug=on

I got two rows describing property productionEndYear

http://dbpedia.org/resource/Porsche_997
http://dbpedia.org/ontology/productionEndYear"2011-01-01T00:00:00+02:00"^^<
http://www.w3.org/2001/XMLSchema#gYear>
http://dbpedia.org/resource/Porsche_997
http://dbpedia.org/ontology/productionEndYear"2012-01-01T00:00:00+01:00"^^<
http://www.w3.org/2001/XMLSchema#gYear>
http://dbpedia.org/page/Porsche_997 defines 2011 and 2011.
However if I rewrite query variable names I got only one value for
productionEndYear.

SELECT DISTINCT ?e ?p ?v
WHERE {
?e a <http://dbpedia.org/ontology/Automobile> .
FILTER ( ?e = <http://dbpedia.org/resource/Porsche_997> )
OPTIONAL { ?e ?p ?v. }
} ORDER BY ?e ?p ?v

http://dbpedia.org/sparql?default-graph-uri=http%3A%2F%2Fdbpedia.org&query=SELECT+DISTINCT+%3Fe+%3Fp+%3Fv%0D%0AWHERE+%7B%0D%0A%3Fe+a+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FAutomobile%3E+.%0D%0AFILTER+%28+%3Fe+%3D+%3Chttp%3A%2F%2Fdbpedia.org%2Fresource%2FPorsche_997%3E+%29%0D%0AOPTIONAL+%7B+%3Fe+%3Fp+%3Fv.+%7D%0D%0A%7D+ORDER+BY+%3Fe+%3Fp+%3Fv&format=text%2Fhtml&timeout=0&debug=on

http://dbpedia.org/resource/Porsche_997
http://dbpedia.org/ontology/productionEndYear"2011-01-01T00:00:00+02:00"^^<
http://www.w3.org/2001/XMLSchema#gYear>
Am I missing something?

Regards,
Martin
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to