Hi,

There was a typo in the query, so only the inverse path results were
shown.  Here is a link to the results for the subject to object path that
is limited at 5000.  http://tinyurl.com/zhw77eu

Cheers,
Christopher Johnson

On 24 April 2016 at 13:49, Christopher Johnson <chjohnso...@gmail.com>
wrote:

> Hi,
>
> It is worth noting that I understand with property paths (SPARQL 1.1), one
> can do transitive queries simply by adding a + to the property (z.B.
> wdt:P171+).  However, this rule set method for Virtuoso also adds cohesion
> of different subclass properties under rdfs:subClassOf, so it is much more
> simple to use and scales better.
>
> Here is an example of a "downward expansion" of the taxonomic rank tree
> starting from "domain"  that does not use the input:inference method, but
> rather property paths and the transitive query option of Virtuoso.  The
> result set expands the tree along the P361 property path.
> http://tinyurl.com/h5hv2f6
>
> select distinct ?s ?o ?label where {
> { select ?s where { VALUES(?s) {(wd:Q146481)} } }
> { select ?s ?o ?label where { ?s wdt:361|^wdt:P361 ?o .
> ?o rdfs:label ?label FILTER (lang(?label) = "en") } } option
> (TRANSITIVE, T_IN (?s), T_OUT (?o), T_DISTINCT) }
>
> I do not think that this transitive class expansion method is possible to
> do with the DBpedia taxonomic ontology (please correct me if I am mistaken
> about this).  However, it might be possible to UNION multiple property path
> result sets with TPF.
>
> Cheers,
> Christopher Johnson
>
>
> On 23 April 2016 at 14:35, Christopher Johnson <chjohnso...@gmail.com>
> wrote:
>
>> Hi Dimitris,
>>
>> Thank you for your reply and assistance.  I have solved the subclass
>> inference problem with Wikidata that is a problem for comparison of
>> taxonomic terms between Wikidata and DBpedia.  The method is quite simple
>> and it might be useful for DBpedia to implement for the taxon classes and
>> for other ontological subclass relationships.  The main problem is with
>> transitivity.  In order to enable transitive inferencing in Virtuoso, a
>> rule set needs to be created.  For the Wikidata taxons, this looks like
>> this:
>>
>> rdfs:subClassOf  rdf:type owl:TransitiveProperty .
>> wdt:P171 rdf:type owl:TransitiveProperty .
>> wdt:P279 rdf:type owl:TransitiveProperty .
>> wdt:P361 rdf:type owl:TransitiveProperty .
>> wdt:P171 owl:sameAs rdfs:subClassOf .
>> wdt:P279 owl:sameAs rdfs:subClassOf .
>> wdt:P361 owl:sameAs rdfs:subClassOf .
>>
>> to add it to virtuoso, use the rdfs_ruleset() command.  I have enabled it
>> on my test instance http://wdm-rdf.wmflabs.org/sparql.
>>
>> An example query, is this http://tiny.cc/38j0ay that finds all of the
>> subclasses of the "domain" taxon rank.
>> The query looks like this:
>>
>> DEFINE input:inference 'http://wdm-rdf.wmflabs.org/w3/rule_set/rdfs/trans
>> '
>> SELECT DISTINCT ?taxon ?label WHERE {?taxon rdfs:subClassOf wd:Q146481;
>> rdfs:label ?label FILTER (lang(?label) = "en")}
>>
>> Hope this is useful.
>>
>> Best Regards,
>> Christopher Johnson
>>
>> On 20 April 2016 at 11:41, Dimitris Kontokostas <jimk...@gmail.com>
>> wrote:
>>
>>> Hi Christopher,
>>>
>>> this definitely looks promising. I posted some comments on your idea to
>>> give you some direction.
>>> We recently created wikidata.dbpedia.org that can help with the diffing
>>> / merging etc
>>> here's a version http://arxiv.org/abs/1507.04180 (we plan an updated
>>> version soon)
>>>
>>> please have a look at that work and we can discuss ways to improve /
>>> collaborate etc
>>>
>>> On Thu, Apr 14, 2016 at 7:10 PM, Christopher Johnson <
>>> chjohnso...@gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I have posted my idea for federating wikidata and dbpedia here:
>>>> http://wiki.dbpedia.org/ideas/idea/248/federating-wikidata-and-dbpedia-with-triple-pattern-fragments/
>>>>
>>>> The method works.  I think that this could provide a helpful supplement
>>>> to both Wikidata and DBpedia.  The primary use case is for diffing,
>>>> comparison and merging of Wikidata values with DBpedia values for the same
>>>> resource concept.  An inexpensive validation method is definitely needed to
>>>> ensure balance between these increasingly disparate data sources.
>>>>
>>>> Much work still remains, but this seems to offer a promising way
>>>> forward.
>>>>
>>>> Christopher Johnson
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Find and fix application performance issues faster with Applications
>>>> Manager
>>>> Applications Manager provides deep performance insights into multiple
>>>> tiers of
>>>> your business applications. It resolves application problems quickly and
>>>> reduces your MTTR. Get your free trial!
>>>> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
>>>> _______________________________________________
>>>> Dbpedia-developers mailing list
>>>> Dbpedia-developers@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/dbpedia-developers
>>>>
>>>>
>>>
>>>
>>> --
>>> Kontokostas Dimitris
>>>
>>
>>
>
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Dbpedia-developers mailing list
Dbpedia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to