Hi Andrea,

On 7/5/13 5:46 PM, Andrea Di Menna wrote:
> Hi Kasun,
>
> yes you can only use skos:broader property to detect child-parent
> relationships.
> If the extraction framework cannot get any parent for one category (e.g.
> http://dbpedia.org/resource/Category:1612_establishments_in_Mexico) then
> this category will be noted as a skos:Concept but no skos:broader
> relationships will be added in the triples file.
> This is correct and seems to be working ok.
>
> Maybe the problem you want to highlight is different:
> there are categories in Wikipedia which appear to have parents (again,
> in Wikipedia), but do not compare as subjects in any skos:broader
> relationships in the skos_categories file?
Exactly, that's the point.
>
> This is true (it is true for
> http://dbpedia.org/resource/Category:1612_establishments_in_Mexico) but
> I think this is because the current SkosCategoriesExtractor does not
> take into account category links which are added by templates (as in
> http://en.wikipedia.org/wiki/Category:1612_establishments_in_Mexico).
If you believe this may be seen as a SkosCategoriesExtractor issue, 
could you please report it on Github?
>
> In my opinion, you could maybe check which are the main templates used
> for this and add support in the extraction framework.
> So that all of us can benefit from yout work.
This is not the focus of Kasun's project. The main objective is to 
extract meaningful (both in terms of usage and semantics) Wikipedia 
categories in order to improve the overall resources type coverage.
Of course, if he has time, he will investigate the behavior of the SKOS 
extractor.
>
> Hope this is clear.
Thank you for all the clarifications, we may consider this thread closed.
Finally, I would like to invite you to the next Skype coaching session 
for Kasun. I'm currently getting in touch with some Wikipedia category 
system experts and will setup a poll to decide the date and time.
Cheers!
>
> Cheers
> Andrea
>
>
>
> 2013/7/5 kasun perera <[email protected]
> <mailto:[email protected]>>
>
>
>     Hi Andrea
>
>     I'm bit confused.
>
>     In a previous mail on this thread you mentioned that
>     dbp:A skos:broader dbp:B means that A is a sub-category of B; so I
>     can these relations to build a directed graph (e.g. B -> A) and then
>     find leaves.
>
>     So what I separated the triples having "skos:broader" and filter out
>     all other triples (this is mentioned here[1]); because I can only
>     use "skos:broader" relationship to detect child-parent relationship
>     right?
>
>         $ bzgrep "1612_establishments_in_Mexico" skos_categories_en.ttl.bz2
>         <http://dbpedia.org/resource/Category:1612_establishments_in_Mexico>
>         <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
>         <http://www.w3.org/2004/02/skos/core#Concept> .
>         <http://dbpedia.org/resource/Category:1612_establishments_in_Mexico>
>         <http://www.w3.org/2004/02/skos/core#prefLabel> "1612
>         establishments in Mexico"@en .
>
>         So the category referred to in the issue seems to be there in
>         the file.
>
>
>     Yes this is there in the file but it's not a type of "skos:broader",
>     which I can get the parent-child relationship.
>     So first tell me using only the triples with "skos:broader" is
>     wrong?  (Then we will come back to my claim "categories that don't
>     have a broader category are not included in dump 2")
>
>     [1] https://github.com/dbpedia/dbpedia-links/issues/16
>
>
>     --
>     Regards
>
>     Kasun Perera
>
>

-- 
Marco Fossati
http://about.me/marco.fossati
Twitter: @hjfocs
Skype: hell_j

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Dbpedia-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-developers

Reply via email to