Project:Home: Difference between revisions

links
(→‎Properties: sorting)
(links)
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
Internet domain names, like [[Item:Q1|wikibase.cloud]], have peculiar properties. They are nominally ''identifiers'' to underlying resources, like ''nytimes.com'' and ''The New York Times''. However, they are not ''persistent'' identifiers, as their value can change. Rather, publications and their owners are more like tenants over the domain name, and can decide to vacate the domain, eventually leading to a new owner.
Internet domain names, like [[Item:Q1|wikibase.cloud]], have peculiar properties. They are nominally ''identifiers'' to underlying resources, like ''[[Item:Q38|nytimes.com]]'' and ''[https://wikidata.org/entity/Q9684 The New York Times]''. However, they are not ''persistent'' identifiers, as their value can change. Rather, publications and their owners are more like tenants over the domain name, and can decide to vacate the domain, eventually leading to the domain describing a different resource than it did before.


This poses a significant challenge to modeling information sources. If a URL is identified as a reference in a Wikipedia article, and that URL is associated with a domain that has changed owners, the URL in question may or may not be a reliable source depending on when it was published.
This poses a significant challenge to modeling information sources. If a URL is identified as a reference in a Wikipedia article, and that URL is associated with a domain that has changed owners, the URL in question may or may not be a reliable source depending on when it was published.


As an interim solution, we have created the '''''Internet Domains Wikibase''''', which creates items for individual domain names and then seeks to associate those with the publication or conceptual website they describe (via Wikidata item). Wikibase allows us to create nuanced statements through qualifiers, which is useful for describing the history of a domain name's ownership.
As an interim solution, we have created the '''''Internet Domains Wikibase''''', which creates items for individual domain names and then seeks to associate those with the publication or conceptual website they describe (via Wikidata item). Wikibase allows us to create nuanced statements through qualifiers, which is useful for describing the history of a domain name's ownership.
==Queries==
* '''[https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0ASELECT%20DISTINCT%20%3Furl%0AWHERE%20%7B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20SELECT%20%3Furl%0A%20%20%20%20%20%20%20%20WHERE%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP1%20%3Furl%20.%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP28%20%22ua%22%20.%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20UNION%20%7B%0A%20%20%20%20%20%20%20%20SELECT%20%3Furl%0A%20%20%20%20%20%20%20%20WHERE%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP1%20%3Furl%20.%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP28%20%3Ftld%20.%0A%20%20%20%20%20%20%20%20%20%20%20%20FILTER%20%28strEnds%28%3Ftld%2C%20%22.ua%22%29%29%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20UNION%20%7B%0A%20%20%20%20%20%20%20%20SELECT%20%3Furl%0A%20%20%20%20%20%20%20%20WHERE%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP1%20%3Furl%20.%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP27%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ212%3E%20.%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%7D Ukraine websites]'''
* '''[https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0ASELECT%20DISTINCT%20%3Furl%0AWHERE%20%7B%0A%20%20%20%20%7B%0A%20%20%20%20%20%20%20%20SELECT%20%3Furl%0A%20%20%20%20%20%20%20%20WHERE%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP1%20%3Furl%20.%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP28%20%22et%22%20.%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%20UNION%20%7B%0A%20%20%20%20%20%20%20%20SELECT%20%3Furl%0A%20%20%20%20%20%20%20%20WHERE%20%7B%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP1%20%3Furl%20.%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Fitem%20wdt%3AP27%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2FQ115%3E%20.%0A%20%20%20%20%20%20%20%20%7D%0A%20%20%20%20%7D%0A%7D Ethiopia websites]'''
* [https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%3FP1_value%0AWHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP1%20%3FP1_value%20.%0A%7D Domains and their item numbers]
* [https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fdomain%20%3Fwikidata_id%20%3Fdomains_id%0AWHERE%20%7B%0A%20%20%3Fdomains_id%20wdt%3AP1%20%3Fdomain%20.%0A%20%20%3Fdomains_id%20wdt%3AP2%20%3Fwikidata_id%20.%0A%7D Domains mapped to Wikidata items]
* [https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%3FP1_value%20%3FP7_value%0AWHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP1%20%3FP1_value%20.%0A%20%20%3Fitem%20wdt%3AP7%20%3FP7_value%20.%0A%7D Domains appearing on source lists]
* [https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%3Fdomain%0AWHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP1%20%3Fdomain%20.%0A%20%20%3Fitem%20wdt%3AP7%20%3Chttps%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWikipedia%3AVaccine_safety%2FPerennial_sources%3E%20.%0A%20%20%3Fitem%20wdt%3AP7%20%3Chttps%3A%2F%2Fen.wikipedia.org%2Fwiki%2FWikipedia%3AReliable_sources%2FPerennial_sources%3E%20.%0A%7D Domains appearing on both the Wikipedia-wide and vaccine safety-specific perennial sources lists]
* [https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%28COUNT%28%3FP7%29%20AS%20%3FP7Count%29%20WHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP7%20%3FP7%20.%0A%7D%20%0AGROUP%20BY%20%3Fitem%0AORDER%20BY%20DESC%28%3FP7Count%29%0A Domains appearing on the most source lists]
In order for the merger with the World News Wikibase to be complete, this should also be able to support querying domains by identified country. Also adding queryability by top-level domain would be useful as well.


==Items==
==Items==
Line 9: Line 20:


Domains can then be associated with the publication or product contained at that domain with [[Property:P2|P2]], with qualifiers as necessary.
Domains can then be associated with the publication or product contained at that domain with [[Property:P2|P2]], with qualifiers as necessary.
[[Item:Q20419]] (label <code>-</code>, description <code>domain</code>) is a honey trap for bad data. Somehow, data without domain names end up in imports, even though this is a wiki for domain names. They tend to use a single hyphen for the domain field. This item is useful in keeping track of this odd data, and should generally be left alone. (Changing the label or description affects its usability, as that is part of how data ends up on it.)


==Properties==
==Properties==
Line 19: Line 28:
* [[Property:P9|formatter URL]] (P9)
* [[Property:P9|formatter URL]] (P9)
* [[Property:P22|data record available at URL]] (P22)
* [[Property:P22|data record available at URL]] (P22)
* [[Property:P27|country or region URI]] (P27)
* [[Property:P28|top-level domain]] (P28)


===Source Metadata===
===Source Metadata===
* [[Property:P10|title]] (P10)
* [[Property:P10|title]] (P10)
* [[Property:P18|language used]] (P18)
* [[Property:P18|language URI]] (P30)


===Assessments===
===Assessments===
Line 33: Line 44:
===Relations===
===Relations===
* [[Property:P2|Wikidata item of associated publication or product]] (P2)
* [[Property:P2|Wikidata item of associated publication or product]] (P2)
* [[Property:P5|exact equivalent Wikidata item]] (P5)
* [[Property:P29|exact match]] (P29)
* [[Property:P6|exact equivalent Wikidata property]] (P6)
** Do not use this to associate domain name items to Wikidata items; use P2 instead


===Time===
===Time===
Line 55: Line 66:
* [[Property:P21|two-letter language code]] (P21)
* [[Property:P21|two-letter language code]] (P21)


==Queries==
{{cwbn}}
* [https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%3FP1_value%0AWHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP1%20%3FP1_value%20.%0A%7D Domains and their item numbers]
* [https://domains.wikibase.cloud/query/#PREFIX%20wdt%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttps%3A%2F%2Fdomains.wikibase.cloud%2Fentity%2F%3E%0A%0ASELECT%20%3Fitem%20%3FP1_value%20%3FP7_value%0AWHERE%20%7B%0A%20%20%3Fitem%20wdt%3AP1%20%3FP1_value%20.%0A%20%20%3Fitem%20wdt%3AP7%20%3FP7_value%20.%0A%7D Domains appearing on source lists]