Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

statistics - properties incorrectly shown as not in template or not used #74

Open
CaptSolo opened this issue Oct 23, 2015 · 0 comments
Open

Comments

@CaptSolo
Copy link

Statistics shows incorrect information about some infobox properties:

  • these properties are marked as "property is mapped but not found in the template definition" (and the number of occurrences is not counted) even though they are both included in the infobox template and actually used in Wikipedia pages

Example:

It was suggested on dbpedia-discuss that this status is displayed because the properties are not actually used in Wikipedia pages. That is not the case for the example above - it can be verified that properties shown with this status are used in instances of Rakstnieka_infokaste infobox (using a Wikipedia dump from some months ago to avoid the possibility that they might be added after DBPedia stats were generated):

> bunzip2 -c lvwiki-20150702-pages-meta-current.xml.bz2 |  awk '/{{Rakstnieka infokaste/,/}}/' - | egrep "alma_mater\s*=\s*(\w+|[\['])" | wc
      15     112    1087

All 3 properties shown with this status (= blue color code) are used in infobox instances:

  • 15 matches for "alma_mater"
  • 27 matches for "apbalvojumi"
  • 21 matches for "periods"

Related mailing list discussion: http://sourceforge.net/p/dbpedia/mailman/message/34541728/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant