Line 1: |
Line 1: |
− | This project has two levels: | + | This project has two levels of reflexion: |
| * how to model the offline and online world, and their interface; | | * how to model the offline and online world, and their interface; |
| * how to make this model fit into our wiki instance. | | * how to make this model fit into our wiki instance. |
Line 5: |
Line 5: |
| The two are likely to involve different types of contributors and contributions. Both should listen to each other, and to [[Project:Tools]] which critically depends on both levels of choices. | | The two are likely to involve different types of contributors and contributions. Both should listen to each other, and to [[Project:Tools]] which critically depends on both levels of choices. |
| | | |
− | == Modeling the worlds ==
| + | For clarity at the moment, rather than dividing along those two levels, we currently divide matters along "sectors". We hope that eventually this will change. |
− | * [[Project:Ontology/IoT]]
| |
− | * [[Project:Ontology/GDPR]]
| |
| | | |
− | == Modeling on wikibase == | + | * [[Project:Vocabulary/IoT]] |
− | *
| + | * [[Project:Vocabulary/GDPR]] |
| + | * [[Project:Vocabulary/Adtech]] |
| + | * your own subdomain of interest, which should really be documented here by the time tools depend on it |
| + | |
| + | |
| + | == Documenting == |
| + | To get started quickly, we recommend simply different phases: |
| + | 1. pointing to "good enough in class" examples (the best in class examples risk being overly complex) |
| + | 2. document how this is done using the Q and P templates |
| + | |
| + | == Defining properties for a type == |
| + | |
| + | {{SPARQL|query= |
| + | SELECT ?class ?classLabel ?wikidataQid ?property ?propertyLabel ?wikidataPid WHERE { |
| + | ?class pdiot:P291 ?property. |
| + | OPTIONAL {?class pdiot:P103 ?wikidataQid} |
| + | OPTIONAL {?property pdiot:P104 ?wikidataPid} |
| + | SERVICE wikibase:label { |
| + | bd:serviceParam wikibase:language "en" . |
| + | } |
| + | } |
| + | ORDER BY ASC(?classLabel) |
| + | LIMIT 100 |
| + | |label=expected properties |
| + | }} |
| + | |
| + | {{SPARQL|query= |
| + | #defaultView:Graph |
| + | SELECT ?class ?classLabel ?rgb ?property ?propertyLabel WHERE { |
| + | ?class pdiot:P291 ?property. |
| + | BIND ("111177" AS ?rgb) |
| + | SERVICE wikibase:label { |
| + | bd:serviceParam wikibase:language "en" . |
| + | } |
| + | } |
| + | ORDER BY ASC(?classLabel) |
| + | LIMIT 100 |
| + | |label=graph of expected properties |
| + | }} |