Category:OSW74bf728019bd4cc3a8a0833bd54f5338: Difference between revisions

rm polysecure ID
(update refs)
Tag: 2017 source edit
(rm polysecure ID)
Tags: Manual revert Metadata slot edit
 
(6 intermediate revisions by 2 users not shown)
Line 29: Line 29:
         ?passport <https://demo.open-semantic-lab.org/id/Property-3AIsRelatedTo> <https://demo.open-semantic-lab.org/id/Item-3AOSWa814710d43c943a1ac5619f65043fcdc> . }
         ?passport <https://demo.open-semantic-lab.org/id/Property-3AIsRelatedTo> <https://demo.open-semantic-lab.org/id/Item-3AOSWa814710d43c943a1ac5619f65043fcdc> . }
</syntaxhighlight>{{Template:Viewer/Link|page=|url=https://sparklis.demo.open-semantic-lab.org/?title=OpenSemanticLab%20Demo%20Graph&endpoint=https%3A//graph.demo.open-semantic-lab.org/blazegraph/namespace/kb/sparql&sparklis-query=%5BVId%5DReturn%28Det%28An%281%2CModif%28Select%2CUnordered%29%2CClass%28%22https%3A//demo.open-semantic-lab.org/id/Category-3AOSW74bf728019bd4cc3a8a0833bd54f5338%22%29%29%2CNone%29%29&sparklis-path=D&entity_lexicon_select=http%3A//www.w3.org/2000/01/rdf-schema%23label&concept_lexicons_select=http%3A//www.w3.org/2000/01/rdf-schema%23label|label=Sparklis}}
</syntaxhighlight>{{Template:Viewer/Link|page=|url=https://sparklis.demo.open-semantic-lab.org/?title=OpenSemanticLab%20Demo%20Graph&endpoint=https%3A//graph.demo.open-semantic-lab.org/blazegraph/namespace/kb/sparql&sparklis-query=%5BVId%5DReturn%28Det%28An%281%2CModif%28Select%2CUnordered%29%2CClass%28%22https%3A//demo.open-semantic-lab.org/id/Category-3AOSW74bf728019bd4cc3a8a0833bd54f5338%22%29%29%2CNone%29%29&sparklis-path=D&entity_lexicon_select=http%3A//www.w3.org/2000/01/rdf-schema%23label&concept_lexicons_select=http%3A//www.w3.org/2000/01/rdf-schema%23label|label=Sparklis}}
==== Get passport for given Physical Label UUID ====
===== Web-API =====
<syntaxhighlight lang="http">
https://demo.open-semantic-lab.org/w/api.php?action=ask&query=[[HasUuid::F088AFB0-92CF-11EF-B559-0800200C9A66]]&format=json
</syntaxhighlight>


==== Get data of a passport instance as JSON ====
==== Get data of a passport instance as JSON ====
jsonschema
Line 2: Line 2:
     "@context": [
     "@context": [
         "/wiki/Category:OSW93ccae36243542ceac6c951450a81d47?action=raw\u0026slot=jsonschema",
         "/wiki/Category:OSW93ccae36243542ceac6c951450a81d47?action=raw\u0026slot=jsonschema",
        {},
         "/wiki/Category:OSWfe72974590fd4e8ba94cd4e8366375e8?action=raw\u0026slot=jsonschema",
         "/wiki/Category:OSWfe72974590fd4e8ba94cd4e8366375e8?action=raw\u0026slot=jsonschema",
         {
         {
Line 9: Line 8:
                 "@id": "Property:IsRelatedTo",
                 "@id": "Property:IsRelatedTo",
                 "@type": "@id"
                 "@type": "@id"
             }
             },
        },
             "physical_uuid": "Property:HasUuid"
        {
             "is_about": "Property:IsRelatedTo"
         }
         }
     ],
     ],
Line 48: Line 45:
                     "format": "autocomplete",
                     "format": "autocomplete",
                     "range": "Category:OSW531dd85d3f8e46d5817a2c628dd0b346"
                     "range": "Category:OSW531dd85d3f8e46d5817a2c628dd0b346"
                },
                "physical_uuid": {
                    "title": "Polysecure ID",
                    "type": "string",
                    "pattern": "^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$"
                 }
                 }
             },
             },