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

Figure out a way to support VN #12

Closed
gaurav opened this issue Jun 16, 2014 · 5 comments
Closed

Figure out a way to support VN #12

gaurav opened this issue Jun 16, 2014 · 5 comments

Comments

@gaurav
Copy link
Owner

gaurav commented Jun 16, 2014

VN (http://commons.wikimedia.org/wiki/Template:VN) is used on 54,608 pages, and is pretty easy to model: each property is an rdfs:label, but with a different language string. We should modify MappingExtractor to support this.

@jimkont
Copy link
Collaborator

jimkont commented Jun 16, 2014

For now you can create the mapping and use only the English property

@gaurav
Copy link
Owner Author

gaurav commented Jun 16, 2014

Would need to modify https://github.com/jimkont/extraction-framework/blob/server_test_extraction/core/src/main/scala/org/dbpedia/extraction/mappings/SimplePropertyMapping.scala#L27-27 -- but will require more testing. This is called from https://github.com/jimkont/extraction-framework/blob/server_test_extraction/core/src/main/scala/org/dbpedia/extraction/mappings/MappingsLoader.scala#L138 -- our goal is to end up with something like:

  • {{PropertyMapping | templateProperty = en | ontologyProperty = refs:label | language = en}}

@gaurav
Copy link
Owner Author

gaurav commented Jun 16, 2014

  • That might already be implemented! Try it and see what happens for 'de'.

@gaurav
Copy link
Owner Author

gaurav commented Jun 18, 2014

@gaurav gaurav closed this as completed Jun 18, 2014
@jimkont
Copy link
Collaborator

jimkont commented Jun 19, 2014

perfect! I updated the template page to make it visible

gaurav pushed a commit that referenced this issue Jul 9, 2014
…biguations

Added some languages to the Disambiguations title part map (partially answers issue #12)
gaurav pushed a commit that referenced this issue Jul 9, 2014
- Used in GenerateWikiSettings.scala (through generate-settings scala launcher)
- Moved old disambiguation template to CuratedDisambiguation.scala
- Old/manually curated templates get merged with automatically downloaded ones
gaurav pushed a commit that referenced this issue Jul 9, 2014
…templates

Issue #12: automatic download of disambiguation templates
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants