Editing Main Page

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
== Welcome to QAWiki ==
<strong>MediaWiki has been installed.</strong>


QAWiki is a repository of questions and queries that anyone can contribute to!
Consult the [https://www.mediawiki.org/wiki/Special:MyLanguage/Help:Contents User's Guide] for information on using the wiki software.


QAWiki collects questions in different languages, and queries over knowledge bases like [[wikidata:Wikidata:Main_Page|Wikidata]] that can answer them.
== Getting started ==
 
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Configuration_settings Configuration settings list]
Questions are typically factual so that they are answerable by knowledge bases. As some examples:
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:FAQ MediaWiki FAQ]
 
* [https://lists.wikimedia.org/postorius/lists/mediawiki-announce.lists.wikimedia.org/ MediaWiki release mailing list]
* "''[[Item:Q169|Which city has the most cathedrals?]]''" ([https://w.wiki/5zxx Answer on Wikidata])
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Localisation#Translation_resources Localise MediaWiki for your language]
* "''[[Item:Q194|What diseases are associated with the gene FGF14?]]''" ([https://w.wiki/5zxx Answer on Wikidata])
* [https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Combating_spam Learn how to combat spam on your wiki]
* "''[[Item:Q101|In which museums can I see paintings by El Greco?]]''" ([https://w.wiki/5zyA Answer on Wikidata])
* "''[[Item:Q103|Who is the youngest head of state in the world?]]''" ([https://w.wiki/5zyE Answer on Wikidata])
* "''[[Item:Q284|What was the last black and white movie to win an Academy Award for Best Picture?]]''" ([https://w.wiki/5zyG Answer on Wikidata])
* "''[[Item:Q314|How many dwarf planets orbit the Sun?]]''" ([https://w.wiki/5zyK Answer on Wikidata])
 
Here you can query for all the questions (and queries) [http://query.qawiki.org/#SELECT%20%3Fq%20%3FqLabel%20WHERE%20%7B%20%3Fq%20wdt%3AP1%20wd%3AQ1%20.%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%20%7D collected thus far by QAWiki].
 
== Why QAWiki? ==
 
Knowledge bases like Wikidata offer a wealth of knowledge that users (in theory) can use to answer all sorts of interesting questions/queries. But in order to take advantage of this power, users must typically have expertise on query languages like SPARQL, which excludes a lot of people. If we could build good ''Question Answering'' (''QA'') systems that directly answer a user's question expressed in the (natural) language they speak, this could bring the benefits of Wikidata to a much wider audience. And with advances in ''Deep Learning'', such a system is within reach. The main obstacle is the need for data to train such systems. While some public QA datasets do exist, they are static, may have errors, may lack diversity (being automatically generated), etc. (Probably the best QA datasets are proprietary, used internally by companies to build applications like Alexa, Siri, etc.)
 
The main goal of QAWiki is then to offer a platform for a rich and open QA dataset to be built collaboratively: a dataset that captures the interests of diverse users, being vetted, extended and improved by the community, and being made openly available for the community to use. (QAWiki data are licensed under [https://creativecommons.org/share-your-work/public-domain/cc0/ CC0].)
 
== Systems using QAWiki ==
 
A key ingredient in order to bootstrap QAWiki is to have applications using QAWiki. This will hopefully encourage users to improve such systems by adding questions and curating QAWiki, seeing their work in action. Here's a list of systems currently using QAWiki:
 
* [https://templet.dcc.uchile.cl/ Templet]: A system supporting template-based question answering over QAWiki ([https://templet.dcc.uchile.cl/question_template/Q102 see example]). If you add or modify a query in QAWiki, you can load it in Templet by copying <code>https://templet.dcc.uchile.cl/update_template/Q169</code>, replacing <code>Q169</code> with the ID of the question on QAWiki. (Queries are refreshed from QAWiki on an hourly basis.)
 
New systems using QAWiki are very welcome!
 
== How can I contribute? ==
 
There are many ways in which you can contribute to QAWiki (whether or not you are familiar with SPARQL, Wikidata, etc.)
 
=== Suggest new questions ===
 
QAWiki welcomes new questions relating to your interests! Other editors can then hopefully suggest a query, add mentions, translations, etc.
 
# Create a [[Special:NewItem|new item]].
# Add the question in the language(s) you prefer as the label of the new item.
# Optionally add other ways to ask the same question as aliases.
# Add the claim that the new item is an [[Property:P1|instance of]] [[Item:Q1|question]].
 
If you're looking for some tips, [[QAWiki:Guide/Questions|see the following guide]].
 
=== Translate questions ===
 
QAWiki aims to be a multilingual resource, so translations of questions and other elements into the languages you speak is very welcome!
 
# Use the [http://query.qawiki.org/#%23%20finds%20questions%20without%20versions%20in%20French%20%28change%20the%20%22fr%22%20code%20to%20find%20questions%20not%20in%20other%20languages%29%0ASELECT%20%3Fq%20%3FqLabel%20WHERE%20%7B%20%3Fq%20wdt%3AP1%20wd%3AQ1%20.%20MINUS%20%7B%20%3Fq%20rdfs%3Alabel%20%3Fqlab%20.%20FILTER%28lang%28%3FqlabEn%29%3D%22fr%22%29%20%7D%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%20%7D following query] to find questions without a translation (the example is for French, but you can change the two letter "fr" code to any language).
# Set your language in the top right where it indicates English.
# Visit the questions you like and translate the question to your language.
 
=== Add mentions for entities ===
 
Adding entity mentions is much appreciated, and will help systems using QAWiki to be more precise.
 
# Use the [http://query.qawiki.org/#%23%20finds%20questions%20with%20few%20entity%20mentions%20given%20for%20a%20language%20%28in%20this%20case%20English%2C%20but%20you%20can%20change%20the%20code%20%22en%22%20within%20the%20FILTER%20expression%0ASELECT%20%3Fq%20%3FqLabel%20%28COUNT%28DISTINCT%20%3Fo2%29%20AS%20%3FentityCount%29%20WHERE%20%7B%20%3Fq%20wdt%3AP1%20wd%3AQ1%20.%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%20OPTIONAL%20%7B%20%3Fq%20wdt%3AP47%2a%2Fp%3AP38%20%3Fo1%20.%20%3Fo1%20pq%3AP17%20%3Fo2%20.%20%3Fo1%20ps%3AP38%20%3Fo3%20.%20FILTER%28lang%28%3Fo3%29%20%3D%20%22fr%22%29%7D%20%7D%20GROUP%20BY%20%3Fq%20%3FqLabel%20ORDER%20BY%20%3FentityCount following query] to find questions ordered by the number of entity mentions annotated for a language (the example is French, but you can change the two letter "fr" code to any language).
# Visit the question(s) you like.
# Add new values for the [[Property:P38|mention]] property in the language of your choice. These should be substrings of a question or alias in the same language.
# Add one or more qualifier values for the [[Property:P17|Wikidata item ID]] property indicating the item on Wikidata that the mention(s) refer(s) to in the specific context of the question.
 
If you're looking for tips, [[QAWiki:Guide/Mentions|see the following guide]].
 
=== Add mentions for properties ===
 
Again, adding property mentions is very welcome, and will help systems using QAWiki to be more precise.
 
# Use the [http://query.qawiki.org/#%23%20finds%20questions%20with%20few%20property%20mentions%20given%20for%20a%20language%20%28in%20this%20case%20English%2C%20but%20you%20can%20change%20the%20code%20%22en%22%20within%20the%20FILTER%20expression%29%0ASELECT%20%3Fq%20%3FqLabel%20%28COUNT%28DISTINCT%20%3Fo2%29%20AS%20%3FentityCount%29%20WHERE%20%7B%20%3Fq%20wdt%3AP1%20wd%3AQ1%20.%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%20OPTIONAL%20%7B%20%3Fq%20wdt%3AP47%2a%2Fp%3AP38%20%3Fo1%20.%20%3Fo1%20%28pq%3AP18%7Cpq%3AP45%7Cpq%3AP48%7Cpq%3AP49%7Cpq%3AP50%7Cpq%3AP51%7Cpq%3AP52%7Cpq%3AP55%7Cpq%3AP56%7Cpq%3AP58%7Cpq%3AP59%29%20%3Fo2%20.%20%3Fo1%20ps%3AP38%20%3Fo3%20.%20FILTER%28lang%28%3Fo3%29%20%3D%20%22fr%22%29%7D%20%7D%20GROUP%20BY%20%3Fq%20%3FqLabel%20ORDER%20BY%20%3FentityCount following query] to find questions ordered by the number of property mentions annotated for a language (the example is French, but you can change the two letter "fr" code to any language).
# Visit the question(s) you like.
# Add new values for the [[Property:P38|mention]] property in the language of your choice. These should be substrings of a question or alias in the same language.
# Add one or more qualifier values for the [[Property:P18|Wikidata property ID]] property indicating the item on Wikidata that the mention(s) refer(s) to in the specific context of the question.
 
If you're looking for extra tips, [[QAWiki:Guide/Mentions|see the following guide]].
 
=== Add queries to answer questions ===
 
If you who are familiar with query languages like SPARQL you can also provide queries to answer questions on the [https://query.wikidata.org/ Wikidata Query Service].
 
# Use the [http://query.qawiki.org/#%23%20finds%20questions%20without%20a%20corresponding%20query%0ASELECT%20%3Fq%20%3FqLabel%20WHERE%20%7B%20%3Fq%20wdt%3AP1%20wd%3AQ1%20.%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22%5BAUTO_LANGUAGE%5D%2Cen%22.%20%7D%20MINUS%20%7B%20%3Fq%20wdt%3AP11%20%3Fo%20.%20%7D%20%7D following query] to find questions without a corresponding query.
# Visit the question(s) you like.
# Add the query to solve the question via the property [[Property:P11|query]].
# Add the qualifier [[Property:P13|dataset]] to indicate [[Item:Q12|Wikidata]] and the qualifier [[Property:P12|query language]] to indicate [[Item:Q13|SPARQL]].
 
If you're looking for extra tips, [[QAWiki:Guide/Queries|see the following guide]].
 
=== Other ways to help out ===
 
* You can also build tools and systems using QAWiki and [[Main_Page#Systems_using_QAWiki|add them to the list]]. (You can also consider adding a link back to QAWiki for users to add questions that your system struggled with.)
* Try out some of the queries, and if you see some dubious or missing answers, edit the query or [https://www.wikidata.org/wiki/Wikidata:Main_Page Wikidata] to improve those answers.
* You can help to curate QAWiki. See this [[QAWiki:Curation/Quality_Control_Queries|list of quality-control queries]] that help to detect potential issues to correct.

Please note that all contributions to QAWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Project:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)