Difference between revisions of "Main Page"
Tag: Undo |
|||
(40 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Welcome to QAWiki == | |||
QAWiki is a repository of questions and queries that anyone can contribute to! | |||
* [http://query.qawiki.dcc.uchile.cl/# | QAWiki collects questions in different languages, and queries over knowledge bases like [[wikidata:Wikidata:Main_Page|Wikidata]] that can answer them. | ||
Questions are typically factual so that they are answerable by knowledge bases. As some examples: | |||
* [[ | |||
* [[ | * "''[[Item:Q169|Which city has the most cathedrals?]]''" ([https://w.wiki/5zxx Answer on Wikidata]) | ||
* "''[[Item:Q194|What diseases are associated with the gene FGF14?]]''" ([https://w.wiki/5zxx Answer on Wikidata]) | |||
* "''[[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. |
Latest revision as of 19:59, 24 December 2024
Welcome to QAWiki[edit | edit source]
QAWiki is a repository of questions and queries that anyone can contribute to!
QAWiki collects questions in different languages, and queries over knowledge bases like Wikidata that can answer them.
Questions are typically factual so that they are answerable by knowledge bases. As some examples:
- "Which city has the most cathedrals?" (Answer on Wikidata)
- "What diseases are associated with the gene FGF14?" (Answer on Wikidata)
- "In which museums can I see paintings by El Greco?" (Answer on Wikidata)
- "Who is the youngest head of state in the world?" (Answer on Wikidata)
- "What was the last black and white movie to win an Academy Award for Best Picture?" (Answer on Wikidata)
- "How many dwarf planets orbit the Sun?" (Answer on Wikidata)
Here you can query for all the questions (and queries) collected thus far by QAWiki.
Why QAWiki?[edit | edit source]
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 CC0.)
Systems using QAWiki[edit | edit source]
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:
- Templet: A system supporting template-based question answering over QAWiki (see example). If you add or modify a query in QAWiki, you can load it in Templet by copying
https://templet.dcc.uchile.cl/update_template/Q169
, replacingQ169
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?[edit | edit source]
There are many ways in which you can contribute to QAWiki (whether or not you are familiar with SPARQL, Wikidata, etc.)
Suggest new questions[edit | edit source]
QAWiki welcomes new questions relating to your interests! Other editors can then hopefully suggest a query, add mentions, translations, etc.
- Create a 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 instance of question.
If you're looking for some tips, see the following guide.
Translate questions[edit | edit source]
QAWiki aims to be a multilingual resource, so translations of questions and other elements into the languages you speak is very welcome!
- Use the 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[edit | edit source]
Adding entity mentions is much appreciated, and will help systems using QAWiki to be more precise.
- Use the 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 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 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, see the following guide.
Add mentions for properties[edit | edit source]
Again, adding property mentions is very welcome, and will help systems using QAWiki to be more precise.
- Use the 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 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 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, see the following guide.
Add queries to answer questions[edit | edit source]
If you who are familiar with query languages like SPARQL you can also provide queries to answer questions on the Wikidata Query Service.
- Use the 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 query.
- Add the qualifier dataset to indicate Wikidata and the qualifier query language to indicate SPARQL.
If you're looking for extra tips, see the following guide.
Other ways to help out[edit | edit source]
- You can also build tools and systems using QAWiki and 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 Wikidata to improve those answers.
- You can help to curate QAWiki. See this list of quality-control queries that help to detect potential issues to correct.