--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
Hi Héctor,Many thanks for your reply.I tried a naive implementation of your suggestion: query "hTest;reasoning=SL" "select distinct ?predicate ?object where { product:Samsung_UE40F6270 ?predicate ?object . ?predicate a owl:DatatypeProperty }"But get the following result: value already present: -3I've attached my test case.On your suggestion of allowing SL reasoning to handle the hierarchy I was unable to get annotations returned on the child properties - or their parent properties.I'm using: "select distinct ?label ?dataprop ?description ?value ?unit ?groupname ?parentprop where { product:LG_47LM765S ?dataprop ?value . ?dataprop rdfs:subPropertyOf* product:hasUntestedDisplayProperties . ?dataprop rdfs:subPropertyOf ?parentprop. OPTIONAL { ?dataprop skos:prefLabel ?label } . OPTIONAL { ?dataprop terms:description ?description } . OPTIONAL { ?dataprop product:Units ?unit } . OPTIONAL { ?parentprop skos:prefLabel ?groupname } . FILTER (?parentprop != product:hasTelevisionProperties) }"But I admit the query feels a little unwieldy. Would be great to lose the rdfs:subPropertyOf* and use reasoning to walk the hierarchy but can I do so and still return the annotations (and ?parentprop)?Thanks,
Ben
On Friday, 4 April 2014 13:58:54 UTC+1, Hector Perez Urbina wrote:
CONFIDENTIAL NOTICEThis communication contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient please note that any distribution, copying or use of this communication or the information in it is strictly prohibited. If you received this communication in error, please notify us by e-mail or by telephone (020 7770 7000) and then delete the e-mail and any copies of it. (v.9)Which? is the business name of Which? Limited, registered in England and Wales No. 677665. Registered office: 2 Marylebone Road, London NW1 4DF.
--
-- --
You received this message because you are subscribed to the C&P "Stardog" group.
To post to this group, send email to sta...@clarkparsia.com
To unsubscribe from this group, send email to
stardog+u...@clarkparsia.com
For more options, visit this group at
http://groups.google.com/a/clarkparsia.com/group/stardog?hl=en
To unsubscribe from this group and stop receiving emails from it, send an email to stardog+u...@clarkparsia.com.