Property talk:P4223

From Wikidata
Jump to navigation Jump to search

Documentation

Treccani's Enciclopedia Italiana ID
identifier for the Enciclopedia Italiana on Treccani website
Associated itemInstitute of the Italian Encyclopaedia (Q3803714)
Applicable "stated in" valueEnciclopedia Treccani (Q731361)
Data typeExternal identifier
Corresponding templateno label (Q26089421)
Template parameter"1" in w:it:Template:Enciclopedia italiana
Allowed values[a-z0-9]+(-[a-z0-9]+)*(_res-[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12})?
ExampleGermany (Q183)germania
Niccolò Machiavelli (Q1399)niccolo-machiavelli
column (Q4817)colonna_res-644ccd22-8bad-11dc-8e9d-0016357eee51
Sourcehttps://www.treccani.it/enciclopedia/elenco-opere/Enciclopedia_Italiana
Formatter URLhttps://www.treccani.it/enciclopedia/$1_(Enciclopedia-Italiana)
Tracking: usageCategory:Pages using Wikidata property P4223 (Q55270619)
Related to country Italy (Q38) (See 396 others)
See alsoTreccani's Biographical Dictionary of Italian People ID (P1986), Treccani Vocabulary ID (P5844), Treccani's Dizionario di Storia ID (P6404), Treccani ID (P3365), Encyclopedia of Italian ID (P11586)
Lists
Proposal discussionProposal discussion
Current uses
Total17,384
Main statement17,167 out of 78,315 (22% complete)98.8% of uses
Qualifier3<0.1% of uses
Reference2141.2% of uses
Search for values
[create Create a translatable help page (preferably in English) for this property to be included here]
Distinct values: this property likely contains a value that is different from all other items. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Q958448, Q2055725, Q2542563, Q179073, Q287344, Q451972, Q24239764, Q24066879, Q502358, Q73234942, Q202208, Q3958013, Q1360742, Q2634688, Q426954, Q698387, Q9134, Q12827256, Q570868, Q7325, Q1616828, Q259745
List of violations of this constraint: Database reports/Constraint violations/P4223#Unique value, SPARQL (every item), SPARQL (by value)
Format “[a-z0-9]+(-[a-z0-9]+)*(_res-[0-9a-f]{8}(-[0-9a-f]{4}){3}-[0-9a-f]{12})?: value must be formatted using this pattern (PCRE syntax). (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4223#Format, SPARQL
Scope is as main value (Q54828448), as reference (Q54828450): the property must be used by specified way only (Help)
List of violations of this constraint: Database reports/Constraint violations/P4223#Scope, hourly updated report, SPARQL
Allowed entity types are Wikibase item (Q29934200): the property may only be used on a certain entity type (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4223#Entity types
Single value: this property generally contains a single value. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4223#Single value, SPARQL
Label required in languages: it: Entities using this property should have labels in one of the following languages: it (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P4223#Label in 'it' language, search, SPARQL
Pattern ^(.*)_+(?:\(Enciclopedia[_\-]Italiana\))?$ will be automatically replaced to \1.
Testing: TODO list
This property is being used by:

Please notify projects that use this property before big changes (renaming, deletion, merge with another property, etc.)

Duplicate of P3365?[edit]

This seems to be a duplicate of Property:P3365. -- Okhjon (talk) 13:10, 9 February 2019 (UTC)[reply]

@Okhjon: It's not, it has formatter URL "...$1__(Enciclopedia-Italiana)/", not simply "...$1", and links to Enciclopedia Italiana, not to Enciclopedia Treccani online; it's true that the values often coincide with P3365. --Epìdosis 13:40, 9 February 2019 (UTC)[reply]
Thank you! -- Okhjon (talk) 13:45, 9 February 2019 (UTC)[reply]

Appendices[edit]

Enciclopedia Italiana in some cases has more than one entry for a single subject because the same subject appears in one or more appendices (e.g. Italo Balbo (Q1056) or Benito Mussolini (Q23559)); except one entry, the others cointain the string "_res-"; this string usually (but not always, e.g. Thucydides (Q580356)) indicates that there are many entries about the same subject.

SELECT ?item ?identifier WITH {
  SELECT ?item WHERE {
    ?item p:P4223/ps:P4223 ?identifier .
  } GROUP BY ?item HAVING(COUNT(*) = 1)
} AS %subquery WHERE {
  INCLUDE %subquery .
  ?item p:P4223/ps:P4223 ?identifier .
  FILTER(CONTAINS(?identifier, '_res-')) .
}
Try it!

Here is a list of items having only one entry for Treccani's Enciclopedia Italiana ID (P4223) and this entry cointains the string "_res-" (most of them may require a check in order to discover other entries). --Epìdosis 18:19, 19 April 2019 (UTC)[reply]

Use with author strings[edit]

SELECT ?item ?itemLabel (URI(CONCAT("http://www.treccani.it/enciclopedia/",?ei,"_(Enciclopedia-Italiana)")) AS ?eiUrl) ?author_string
WHERE {
  ?item p:P4223 ?stat .
  ?stat ps:P4223 ?ei .
  ?stat pq:P2093 ?author_string .
	SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en" }
}
Try it!

In many cases it should be considered the possibility to create items for the authors of the entries. --Epìdosis 12:22, 29 December 2019 (UTC)[reply]

Authors who are also subjects of articles and absent on it.wikipedia[edit]

#Authors of articles of the Enciclopedia Italiana which are also subjects of articles of Enciclopedia Italiana and are absent on it.wikipedia
SELECT DISTINCT ?aut ?autLabel
WHERE {
  ?item p:P4223 [ pq:P50 ?aut ] .
  ?aut wdt:P4223 [] .
  MINUS { ?article schema:about ?aut ; schema:isPartOf <https://it.wikipedia.org/> . }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "it". }
}
Try it!

--Epìdosis 11:01, 18 September 2021 (UTC)[reply]