|
From: Jem R. <jem...@ft...> - 2016-01-04 17:47:04
|
Hello, Is there a mechanism to retreive entailments which are inferred only by statements with a particular reification graph? Is it possible to retreive inferred statements for statements with RDR reification at all? For example. Insert --> # Transitive inference -> <http://www.ft.com/ontology/thing/prefLabel> rdf:type owl:DatatypeProperty ; rdfs:subPropertyOf thing:label, # Insert a label with RDR prov: @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix thing: <http://www.ft.com/ontology/thing/> . @prefix industry: <http://www.ft.com/ontology/industry/> . @prefix event: <http://www.ft.com/ontology/event/> . <<<http://api.ft.com/things/123> rdf:type industry:IndustryClassification>> event:prov <http://api.ft.com/things/345> . <<<http://api.ft.com/things/123> thing:prefLabel "Oil & Gas EDIT"@en-US >> event:prov <http://api.ft.com/things/345> . <http://api.ft.com/things/345> rdfs:label "prov one" . # Insert a label with RDR prov: @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix thing: <http://www.ft.com/ontology/thing/> . @prefix industry: <http://www.ft.com/ontology/industry/> . @prefix event: <http://www.ft.com/ontology/event/> . <<<http://api.ft.com/things/123> rdf:type industry:IndustryClassification>> event:prov <http://api.ft.com/things/3456> . <<<http://api.ft.com/things/123> thing:prefLabel "Oil & Gas EDIT"@en-US >> event:prov <http://api.ft.com/things/3456> . <http://api.ft.com/things/3456> rdfs:label "prov two" . Query --> PREFIX thing: <http://www.ft.com/ontology/thing/> PREFIX event: <http://www.ft.com/ontology/event/> SELECT ?thing ?label WHERE { <<?thing thing:label ?label >> event:prov <http://api.ft.com/things/345> . } Retreive ?label = "Oil & Gas" Any thoughts appreciated.. Cheers Jem -- *Jem Rayfield* Head of Solution Architecture Technology +44 (0)7709 332482 Number One Southwark Bridge, London SE1 9HL <https://www.facebook.com/financialtimes> <https://twitter.com/FT> <http://www.linkedin.com/company/financial-times> <https://plus.google.com/+FinancialTimes/posts> <http://www.youtube.com/user/FinancialTimesVideos> -- ------------------------------ *This email was sent by a company owned by Financial Times Group Limited ("FT Group <http://aboutus.ft.com/corporate-information/#axzz3rajCSIAt>"), registered office at Number One Southwark Bridge, London SE1 9HL. Registered in England and Wales with company number 879531. This e-mail may contain confidential information. If you are not the intended recipient, please notify the sender immediately, delete all copies and do not distribute it further. It could also contain personal views which are not necessarily those of the FT Group. We may monitor outgoing or incoming emails as permitted by law.* |