977 questions
0
votes
1
answer
256
views
Breadcrumbs are not clickable in Google search results
I have added breadcrumb in my html file and google has indexed it.
But I couldn't click the items listed in the breadcrumb.
Is there any fix to do to make them clickable?
Also is it possible to make ...
0
votes
1
answer
73
views
Transform list items to property - JSONLD
I want to extract RDF from an API and I use jsonld with javascript to do it.
The json from the API look like this :
"datasetid": "etat-des-stations-le-velo-star-en-temps-reel",
...
4
votes
0
answers
282
views
Unable to get json-ld information on react js SSR
We can see JsonLd information in client side rendering. When we render through server, the information is not available because of rendering and then fetching data (through API).
we have tried the ...
0
votes
0
answers
151
views
Programatically generate a form based on a JSON-LD context
I want to create a html form for generating new JSON-LD documents based on a given context. For example let's assume I want to create person based on the type Person (https://schema.org/Person).
What ...
1
vote
1
answer
995
views
JSON LD serialization from schema.org
The following example is given on the json-ld playground.
Person example(expanded):
json-ld:
{
"@context": "http://schema.org/",
"@type": "Person",
"...
3
votes
0
answers
597
views
Facebook Catalogue - can't make multiple product variants per page work with JSON-LD
I'm struggling to get Facebook's micro data tag debugger to recognise more than one product variant defined in JSON-LD data, and formatted according to schema.org.
The problem is already described in ...
0
votes
2
answers
656
views
Generate structured data with JavaScript
We need to write a script to create a JSON-LD script for structured Data for a Component in JSP let say FAQ component, we have written script to generate JSON LD for Structured data,
faq.jsp :
<...
0
votes
0
answers
1k
views
Load JSON-LD schema from schema.org [duplicate]
This might be a dumb question but I am trying to figure out how to load the actual Person schema as a JSON-LD document from https://schema.org/Person.
For my understanding there should be a script tag ...
-1
votes
2
answers
79
views
Calling a JSON file with PHP but cant echo in a way i would like to
I would like to follow prices of stocks im interested in with a very simple php file. For this im trying to call certain data from a jsonld file, but unable to do so. Thats mostly because i cant set ...
1
vote
1
answer
1k
views
Specifying medicalSpecialty in Schema.org for MedicalWebPage
I'm building a medical webpage and I'm trying to build out the page schema.
Here's what I have right now:
<script type="application/ld+json">
{
"@type":"...
2
votes
0
answers
448
views
How to filter JSON-LD object array with JSON-LD frames?
I have been spending two days trying to do the following, without success.
I have this example JSON-LD document:
{
"@context": [
"https://www.w3.org/2018/credentials/v1",
...
0
votes
0
answers
45
views
How can i write a query om SPARQL to fetch the details of class and then details of iots subclass?
For example in the following json i need to fetch Catalog and Artifacts .I must be able to fetch catalog by artifact and artifact by catalog.While Artifact is not a direct child of Catalog,here is my ...
0
votes
1
answer
1k
views
In AEM, I want to add <sly></sly> tags inside a <script></script> tag. Multifield option inside a schema
So I am building a multifield authoring option. Publishers can add values and and create more text fields if they need to. But the issue is that adding <sly> tags inside a <script> tag is ...
0
votes
0
answers
365
views
Querying JsonLd with Sparql using Apache Jena
I am looking for Vice and Versa.
Is there a way I can query jsonld using Sparql?
If yes then please share any of the examples in Java ?
1
vote
2
answers
3k
views
How to Generate Breadcrumb Schema Dynamically using Javascript?
Below is the HTML actually used to display the breadcrumbs on each page
<c:forEach items="${breadcrumbArray}" var="breadcrumb" varStatus="loopCounter">
...
1
vote
0
answers
200
views
Can I use "inheritance" to add specific properties to nodes in json-ld with Schema.org using references?
I am struggling with using references in json-ld with schema.org.
I am trying to represent a person and a list of employments they've had at various organizations, where the person's job title is ...
3
votes
1
answer
513
views
Schema.org fails to deliver application/ld+json
In my java app I get the following error
Caused by: java.lang.RuntimeException: java.lang.RuntimeException:
com.github.jsonldjava.core.JsonLdError: loading remote context failed: http://schema.org/
...
-1
votes
1
answer
187
views
how do I convert the list of predictions to get the list of the desired JSONL format
When I convert the list of my predictions to the format in the test file, the utf = "8" encoding flies
and responses are not encoded correctly. len(pred1) = 2235. How can I change my ...
1
vote
0
answers
63
views
Assuming IRIs when converting legacy JSON documents to RDF knowledge with JSON-LD
I am currently trying to use JSON-LD to make legacy JSON documents machine readable. Now I have a legacy document that contains a list of names. Each of these names references an entity for which I ...
0
votes
1
answer
280
views
How to set a locally-provided custom context with Ruby JSON-LD?
I am getting accustomed to the Ruby RDF JSON-LD toolset and currently I'm trying to extract knowledge from plain JSON files which do not carry a JSON-LD context. Therefore I need a way to set a ...
0
votes
2
answers
155
views
How to change numbers in jsonl file and save it
I have a jsonl file with content
How to read a file and change the number after the label sign to a random number 0 or 1 and save the converted file back in python
{"idx": 0, "passage&...
2
votes
1
answer
290
views
A context for a top level index-only key in JSON-LD
I am trying to use JSON-LD to make a legacy JSON file machine readable. The JSON file in question has a top-level object with an item member referencing an object that contains the actual relevant ...
0
votes
1
answer
579
views
JSON-LD multiple types
I am currently doing some json-ld. I am quite new to this(also with coding). I am trying to figure it out how could I use different Types in one script, as you can see below. I cannot get a hold onto ...
1
vote
1
answer
1k
views
RDFLib + JSON-LD + Named Graphs: how to override graph name when using @graph?
Disposition
Full illustrative code is available at this Gist.
Imagine we're describing a blog article in a JSON-LD document. In addition to a few properties of the article itself (its type and label), ...
1
vote
1
answer
836
views
Looping over JSON-ld schema with JS foreach in GTM
I'm setting up a schema for a restaurant page using JSON-ld in Google Tag Manager. The menu sections update regularly, so would like to loop through this section in the schema using dynamic variable ...
2
votes
2
answers
3k
views
How to write valid opening hours with lunch break in schema.org with JSON-LD [duplicate]
I was reading all posts around this topic here but couldn't find a solution.
I'm building a page for a business that has the following opening hours:
Monday-Friday 07:00 - 12:00 and 13:00 - 17:00 (1 ...
0
votes
1
answer
352
views
Are keys with ":" (colon) allowed in the "@context" of a json-ld graph?
Are json-ld contexts allowed to have ":" in their keys? For example, is the following a valid json-ld document?
{
"@context": {
"abc:def": "http://abc-def.com/&...
0
votes
0
answers
195
views
How to implement https://schema.org/GenderType in Json
What the correct way to implement https://schema.org/GenderType for https://schema.org/Person in JSON-LD.
I Attempted bellow:
{
"@context": "http://schema.org",
"@type&...
0
votes
1
answer
421
views
Assigning a value to a **@type : webpage** URL in schema.org
I'm a little bit confused about assigning a value to a @type : webpage url in schema.org, using JSON-LD.
Surfing on internet I found two types of URL values.
The first type is with the / at the end of ...
1
vote
1
answer
2k
views
How can I webscrape data from json-ld piece of code?
I´m trying to get the coordinates ('latitude' and 'longitude') from these json-ld piece of code.
> <script type="application/ld+json">
> {"@context":"http://schema....
1
vote
2
answers
2k
views
Linking up Schema markup in different pages
So, how good is Google and other search engines in linking schema markup in different pages of the same website?
I am marking the home page with an Organization type.
{
"@context":"...
1
vote
1
answer
2k
views
What does mean @id and @type in json-ld context?
What does mean this statement in json-ld context?
{
"@context": {
"@version": 1.1,
"id": "@id",
"type": "@type"
}
}
...
0
votes
0
answers
274
views
How do I make an email event invitation show up in the iOS Mail and Calendar apps?
I added schema.org EventReservation markup as documented here to the purchase confirmation emails for my e-commerce ticketing site. The event now appears above the email in my desktop Gmail inbox:
...
1
vote
0
answers
1k
views
JSON-LD schema.org dynamically built with jquery
I would like to add structured data using JSON-LD. I try to dynamically get content using jQuery and making JSON format and appending inside the head element. I can get text values from a specific div ...
-1
votes
1
answer
441
views
JSON-LD unmarshalling getting error "jsonld: fetching remote contexts is disabled"
I am trying to unmarshall JSON-LD using package https://godoc.org/github.com/emersion/go-jsonld
package main
import (
"fmt"
jsonld "github.com/emersion/go-jsonld"
)
...
1
vote
0
answers
200
views
Make my FB catalog product image (microdata) different from my share image (og:image)
I cannot figure out a way to distinguish the image url in the og:image metatag from the image url in the product microdata. I've been searching for the answer for days.
The situation is that I have an ...
0
votes
1
answer
679
views
Duplicate unique property 'sameAs' in JSON
The HTML Schema for sameAs:
<div itemscope itemtype="https://schema.org/LocalBusiness">
<h1><span itemprop="name">Business Name</span></h1>
...
7
votes
2
answers
2k
views
JSON-LD microdata for a product with multiple variants for Facebook Catalogs
I have searched and searched, and I cannot find an example of JSON-LD Schema microdata that will cause my Facebook Catalog to recognize all variants of a product that has multiple variants (a t-shirt, ...
1
vote
0
answers
205
views
JSON-LD framing one object to multiple references
In my example I have one entity with two labels. Each labels has a reference to a language object:
[
{
"@id": "http://example.com/entity",
"http://example.com/label&...
3
votes
0
answers
115
views
Do W3C Thing Description forms require an op key?
In the W3C WoT Thing Description specification (https://w3c.github.io/wot-thing-description/#td-vocab-forms--InteractionAffordance), it says that interactions have a forms array that can contain ...
1
vote
1
answer
766
views
What should be inside URL?
I have a list of organizations on a page.
I have created a JSON-LD block for them.
You can find it at the end of the message.
After checking it with the validator, I got an error.
All values provided ...
1
vote
2
answers
433
views
Remove extra parameters from framed JSON-LD
So, lets consider the following data fetched from db:
[
{
"@id": "http://example.com/1",
"http://example.com/label": "Parent",
"http://...
0
votes
1
answer
971
views
what characters are allowed in google search structured data
I want to use google rich search results with structured data.
I'm confused about what characters the description tag can take.
For example, I want to use
{ description: "this is a backslash \ ...
1
vote
1
answer
1k
views
array of LocalBusinessJsonLd Schema using next-seo
Hi I am trying to add multiple localbusiness schema in my next js application,
I am using next-seo package for this
import { LocalBusinessJsonLd } from 'next-seo'
{locations.map((location) => (
...
1
vote
1
answer
146
views
google structured data testing tool displays question mark character instead of utf-8 characters
After testing URL in the google structured data testing tool, I don't know why the question mark character is shown instead of utf-8 characters?
what is wrong? any help really appreciated.
the url is :...
1
vote
1
answer
240
views
Accessing nested property in json-ld frame
So, this is my json-ld data:
[
{
"@id": "http://example.com/id2",
"http://www.w3.org/2008/05/skos-xl#literalForm": [
{
"@value": "...
0
votes
0
answers
335
views
Connecting JSON+LD and Microdata by id
I am looking for a way to merge my pre-defined LD+JSON with microdata defined on the html as properties. Do you see ANY way of achieving this?
I searched a while now and cannot find the answer to my ...
-1
votes
1
answer
1k
views
Newtonsoft.Json - Getting corresponding line numbers when deserializing to JObject
I'm deserializing json-ld based json to validate it against things like schema.org. Because of this I can't deserialize into known object types, so I do the generic deserialization into a JObject.
If ...
0
votes
1
answer
236
views
Compacting JSON-LD property w/ two different @types?
I'm attempting to compact at JSON-LD document, see below (we're using URNs but the same issue occurs with URLs). I want "org:example:property:schema;2"to be compacted to schema in both of ...
1
vote
0
answers
133
views
Google's SERP breadcrumb returning a `null` value for page despite returning correct schema markup in googles structured data testing tool
We see the following search engine listing for a page. Note that the breadcrumbs includes a null value.
Image of SERP
Google Listing
However, when testing that page's DOM in the Structured Data ...