Title: Embedded integer doesn't get represented simply? · Issue #313 · jsonld-java/jsonld-java · GitHub
Open Graph Title: Embedded integer doesn't get represented simply? · Issue #313 · jsonld-java/jsonld-java
X Title: Embedded integer doesn't get represented simply? · Issue #313 · jsonld-java/jsonld-java
Description: I have the following rdf { Open Graph Description: I have the following rdf { X Description: I have the following rdf { <http://pk1> a <http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#KeySet> , <http://cambridgesemantics.com/ontologies/2018/06/MetadataDic...
Opengraph URL: https://github.com/jsonld-java/jsonld-java/issues/313
X: @github
Domain: patch-diff.githubusercontent.com
Links:
Viewport: width=device-width
Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Embedded integer doesn't get represented simply?","articleBody":"I have the following rdf\r\n```\r\n{\r\n\t\u003chttp://pk1\u003e a \u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#KeySet\u003e , \u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#PrimaryKey\u003e ;\r\n\t\t\u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#priority\u003e \"6\"^^\u003chttp://www.w3.org/2001/XMLSchema#int\u003e .\r\n\t\r\n\t\u003chttp://pk2\u003e a \u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#KeySet\u003e , \u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#PrimaryKey\u003e ;\r\n\t\t\u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#priority\u003e \"6\"^^\u003chttp://www.w3.org/2001/XMLSchema#int\u003e .\r\n\t\r\n\t\u003chttp://testc1\u003e a \u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#ClassConcept\u003e , \u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#MetadataConcept\u003e , \u003chttp://www.w3.org/2004/02/skos/core#Concept\u003e ;\r\n\t\t\u003chttp://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary#primaryKey\u003e \u003chttp://pk1\u003e , \u003chttp://pk2\u003e .\r\n}\r\n```\r\n\r\nWhen I run it through json ld via frame I get\r\n```\r\n{\r\n \"@context\" : \"http://cambridgesemantics.com/ontologies/2018/06/MetadataDictionary/ClassConcept\",\r\n \"uri\" : \"http://testc1\",\r\n \"type\" : [ \"metaframe:ClassConcept\", \"metaframe:MetadataConcept\", \"skos:Concept\" ],\r\n \"primaryKey\" : [ {\r\n \"uri\" : \"http://pk1\",\r\n \"type\" : [ \"metaframe:KeySet\", \"metaframe:PrimaryKey\" ],\r\n \"metaframe:priority\" : {\r\n \"type\" : \"http://www.w3.org/2001/XMLSchema#int\",\r\n \"@value\" : \"5\"\r\n }\r\n }, {\r\n \"uri\" : \"http://pk2\",\r\n \"type\" : [ \"metaframe:KeySet\", \"metaframe:PrimaryKey\" ],\r\n \"metaframe:priority\" : {\r\n \"type\" : \"http://www.w3.org/2001/XMLSchema#int\",\r\n \"@value\" : \"6\"\r\n }\r\n } ]\r\n}\r\n```\r\nWhich does reflect the rdf above... But although metaframe is defined in the @context somehow it remains in the property where the property name should be simply \"priority\". In addition I would expect it to be instead\r\n```\r\n\"priority\" : 6\r\n```\r\n\r\ninstead of the type/value object..\r\n\r\nIs this a bug?","author":{"url":"https://github.com/garpinc","@type":"Person","name":"garpinc"},"datePublished":"2021-04-08T17:57:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/313/jsonld-java/issues/313"}
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:43d4ee06-a526-d328-8742-06a59eda7d4a current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id B55E:DBDF5:36BEEC4:49E1350:6971EC42 html-safe-nonce be0ad435cf097b16fd8ddcbd9b3d689bfb9898f4867a3b6556ed6d7bc53945e9 visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTVFOkRCREY1OjM2QkVFQzQ6NDlFMTM1MDo2OTcxRUM0MiIsInZpc2l0b3JfaWQiOiIyNTU1MDU5NzI1MjgzNzQ4OTMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= visitor-hmac f2eb973aeef7ab7ab4c0fc9a7c23f9fec55a32f11d123ae8eaccb9e046ab963b hovercard-subject-tag issue:853712606 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/jsonld-java/jsonld-java/313/issue_layout twitter:image https://opengraph.githubassets.com/f6c0d59c6fb0c17ea887edb568db6b354b1b1bd327057228ef27088f90da0a59/jsonld-java/jsonld-java/issues/313 twitter:card summary_large_image og:image https://opengraph.githubassets.com/f6c0d59c6fb0c17ea887edb568db6b354b1b1bd327057228ef27088f90da0a59/jsonld-java/jsonld-java/issues/313 og:image:alt I have the following rdf { og:image:width 1200 og:image:height 600 og:site_name GitHub og:type object og:author:username garpinc hostname github.com expected-hostname github.com None 683712716975b3393656edf09255a1d488d0e68ab7b9ac97e40ecf40036f696c turbo-cache-control no-preview go-import github.com/jsonld-java/jsonld-java git https://github.com/jsonld-java/jsonld-java.git octolytics-dimension-user_id 4359856 octolytics-dimension-user_login jsonld-java octolytics-dimension-repository_id 2988730 octolytics-dimension-repository_nwo jsonld-java/jsonld-java octolytics-dimension-repository_public true octolytics-dimension-repository_is_fork false octolytics-dimension-repository_network_root_id 2988730 octolytics-dimension-repository_network_root_nwo jsonld-java/jsonld-java turbo-body-classes logged-out env-production page-responsive disable-turbo false browser-stats-url https://api.github.com/_private/browser/stats browser-errors-url https://api.github.com/_private/browser/errors release ed99da4e2de688dd1056894c1eccd4c82c6bbbfe ui-target full theme-color #1e2327 color-scheme light dark
URLs of crawlers that visited me.