kgdata.wikidata.datasets.property_domains#
Functions
|
|
|
|
|
Extract the domains of a property. |
- property_domains(lang='en') Dataset[Tuple[str, Dict[str, int]]][source]#
Extract the domains of a property.
NOTE: it does not returns children of a domain class but only the class that appears in the statement with the property.
For example, consider the statement Peter - age - 50. the direct domain is the class Human, and we don’t include class Men, which is a child of the class Human.