smart-classic / smart_server

SMArt Bootstrap Server
Apache License 2.0
22 stars 10 forks source link

Lab result example does not pass API Verifier #22

Closed jmandel closed 12 years ago

jmandel commented 12 years ago

[testStructure] RDF structure check failed

Unexpected results (first 3 shown): DxyOzFZN612 Test: sp:Person must have at least one vcard:n property Fail condition: Query returns a non-empty result set Query: PREFIX rdf:http://www.w3.org/1999/02/22-rdf-syntax-ns# PREFIX sp:http://smartplatforms.org/terms# PREFIX vcard:http://www.w3.org/2006/vcard/ns# SELECT ?s WHERE { ?s rdf:type sp:Person . OPTIONAL { ?s vcard:n ?o . ?o rdf:type vcard:Name . } FILTER ( !BOUND(?o) ) } For further information: http://wiki.chip.org/smart-project/index.php/Developers_Documentation:_SMART_Data_Model#Person_RDF

jmandel commented 12 years ago

Fixed in https://github.com/chb/smart_server/commit/5069af2d30a0356009088edf6ecdcca747ff899b