Hi,
Is there a way to get the child properties/sub-properties of a property?
Example: position_held(P39) property has sub-properties like start time and end time so how to get them directly with SPARQL query and also If I have a wiki dump which is around 65 GB so how to parse a huge wiki dump and get the properties and their related sub-properties?
I got all the property IDs and property labels by SPARQL query but its inner properties like start time, end time.. so on were missed.
Thanks in advance!!
Thanks and Regards, VijayaLakshmi.
We used this on FactGrid (https://database.factgrid.de/wiki/FactGrid:Sample_queries)
SELECT * WHERE { ?s wdt:P2 wd:Q7. ?s p:P266 ?st. # ?s is the the statement node ?st ps:P266 ?o. # that simulates the predicate ?st ?qualifier ?value. # this is an attribute (a qualifier) }
as scripted by Marie Destandau - the values needed some tedious transformation afterwards...
Best, Olaf
vijaya vijayalb@appmindsglobal.com hat am 11.03.2021 06:16 geschrieben:
Hi,
Is there a way to get the child properties/sub-properties of a property?
Example: position_held(P39) property has sub-properties like start time and end time so how to get them directly with SPARQL query and also If I have a wiki dump which is around 65 GB so how to parse a huge wiki dump and get the properties and their related sub-properties?
I got all the property IDs and property labels by SPARQL query but its inner properties like start time, end time.. so on were missed.
Thanks in advance!!
Thanks and Regards, VijayaLakshmi.
Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata
Dr. Olaf Simons Forschungszentrum Gotha der Universität Erfurt Am Schlossberg 2 99867 Gotha Büro: +49-361-737-1722 Mobil: +49-179-5196880 Privat: Hauptmarkt 17b/ 99867 Gotha