Difference between revisions of "Main Page"
Jump to navigation
Jump to search
(adding a guide for how new users can contribute) |
(minor edits to clarify meaning of queries, etc.) |
||
Line 12: | Line 12: | ||
* "''[[Item:Q314|How many dwarf planets orbit the Sun?]]''" ([https://w.wiki/5zyK 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.dcc.uchile.cl/#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 | Here you can query for all the questions (and queries) [http://query.qawiki.dcc.uchile.cl/#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]. | ||
== How can I contribute? == | == How can I contribute? == | ||
Line 20: | Line 20: | ||
Users who are not familiar with query languages like SPARQL can: | Users who are not familiar with query languages like SPARQL can: | ||
* | * '''Suggest new questions''', thus requesting a query from another user. | ||
# Create a [[Special:NewItem|new item]]. | # Create a [[Special:NewItem|new item]]. | ||
# Add the question in the language(s) you prefer as the label of the 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. | # 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]]. | # Add the claim that the new item is an [[Property:P1|instance of]] [[Item:Q1|question]]. | ||
* Translate questions (or other items/properties) for the language you speak. | * '''Translate questions''' (or other items/properties) for the language(s) you speak. | ||
# Use the [http://query.qawiki.dcc.uchile.cl/#%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 | # Use the [http://query.qawiki.dcc.uchile.cl/#%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). | ||
# Visit the questions you like and translate the question to your language. | # Visit the questions you like and translate the question to your language. | ||
* Add mentions for entities found in questions for languages you speak. | * '''Add mentions for entities''' found in questions for languages you speak. | ||
# Use the [http://query.qawiki.dcc.uchile.cl/#%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%22en%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 English, but you can change the two letter "en" code to any language). | # Use the [http://query.qawiki.dcc.uchile.cl/#%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%22en%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 English, but you can change the two letter "en" code to any language). | ||
# Visit the question(s) you like. | # 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 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. | # 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. | ||
* Add mentions for properties found in questions for languages you speak. | * '''Add mentions for properties''' found in questions for languages you speak. | ||
# Use the [http://query.qawiki.dcc.uchile.cl/#%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%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%3AP50%29%20%3Fo2%20.%20%3Fo1%20ps%3AP38%20%3Fo3%20.%20FILTER%28lang%28%3Fo3%29%20%3D%20%22en%22%29%7D%20%7D%20GROUP%20BY%20%3Fq%20%3FqLabel%20ORDER%20BY%20%3FentityCountt following query] to find questions ordered by the number of property mentions annotated for a language (the example is English, but you can change the two letter "en" code to any language). | # Use the [http://query.qawiki.dcc.uchile.cl/#%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%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%3AP50%29%20%3Fo2%20.%20%3Fo1%20ps%3AP38%20%3Fo3%20.%20FILTER%28lang%28%3Fo3%29%20%3D%20%22en%22%29%7D%20%7D%20GROUP%20BY%20%3Fq%20%3FqLabel%20ORDER%20BY%20%3FentityCountt following query] to find questions ordered by the number of property mentions annotated for a language (the example is English, but you can change the two letter "en" code to any language). | ||
# Visit the question(s) you like. | # Visit the question(s) you like. | ||
Line 40: | Line 40: | ||
Users who are familiar with query languages like SPARQL can also: | Users who are familiar with query languages like SPARQL can also: | ||
* Provide | * '''Provide queries to answer questions''' on the [https://query.wikidata.org/ Wikidata Query Service]. | ||
# Use the [http://query.qawiki.dcc.uchile.cl/#%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. | # Use the [http://query.qawiki.dcc.uchile.cl/#%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. | # Visit the question(s) you like. | ||
# Add the query to solve the question via the property [[Property:P11|query]]. | # 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]]. | # Add the qualifier [[Property:P13|dataset]] to indicate [[Item:Q12|Wikidata]] and the qualifier [[Property:P12|query language]] to indicate [[Item:Q13|SPARQL]]. |
Revision as of 05:12, 28 November 2022
Welcome to QAWiki: 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.
How can I contribute?
There are many ways in which you can contribute to QAWiki.
Users who are not familiar with query languages like SPARQL can:
- Suggest new questions, thus requesting a query from another user.
- 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.
- Translate questions (or other items/properties) for the language(s) you speak.
- 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).
- Visit the questions you like and translate the question to your language.
- Add mentions for entities found in questions for languages you speak.
- Use the following query to find questions ordered by the number of entity mentions annotated for a language (the example is English, but you can change the two letter "en" 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.
- Add mentions for properties found in questions for languages you speak.
- Use the following query to find questions ordered by the number of property mentions annotated for a language (the example is English, but you can change the two letter "en" 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.
Users who are familiar with query languages like SPARQL 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.