Wikidata:Property proposal/IP address or range

From Wikidata
Jump to navigation Jump to search

IP address or range[edit]

Return to Wikidata:Property proposal/Organization

   Under discussion
Descriptionsingle IP address or range of IP addresses
RepresentsIP address (Q11135)
Data typeIP address (phab:T235389)-invalid datatype (not in Module:i18n/datatype)
Domainorganization (Q43229),
Example 1University of Oxford (Q34433) → 2001:630:440::/44
Example 2Wikimedia Foundation (Q180) →
Example 3Johns Hopkins University (Q193727) →
Example 4University of Chicago (Q131252) → 2a03:b600:640::/107
Planned useMove existing values of IPv4 routing prefix (P3761) and IPv6 routing prefix (P3793) into the new field
See alsoIPv4 routing prefix (P3761) and IPv6 routing prefix (P3793)


I would like to make a tool in toolforge that will allow a user to input an IP address and get the organization (Q43229) associated for that IP address. Unfortunately, you cannot query a range unless you have the start and end of that range. Based on the discussion in the previous proposal it seems best that a new datatype would be created for this property, one that extends from Quantity. Then organizations will be able to be queried by the IP address. U+1F360 (talk) 20:59, 1 November 2019 (UTC)


  • After the property is created, the old properties should be deprecated. Once all of the data has been migrated, the old properties can be removed. U+1F360 (talk) 21:03, 1 November 2019 (UTC)
  • Symbol support vote.svg Support. --Tinker Bell 04:56, 2 November 2019 (UTC)
  • Pictogram voting comment.svg Comment if you want to make a tool anyway, then I suggest you do the indexing there. Looking at the Phabricator ticket, there is not a huge appetite for deploying a dedicated datatype for this. − Pintoch (talk) 18:58, 3 November 2019 (UTC)