Hi,

it looks like schema.org defines the value of the “name” property to be of type 
“Text”, and “Text” seems to only allow a simple string as content. As you may 
have noticed, if you replace

>   "name" : {
>     "@language" : "en",
>     "@value" : "Lingsoft, Inc."
>   },

by
“name” : "Lingsoft, Inc.”,

then the structured data testing tool doesn’t complain anymore. I’d be curious 
to know what schema.org’s people say about that.

fps

> Le 16 août 2018 à 15:07, Mikael Pesonen <[email protected]> a écrit :
> 
> 
> I'm exporting JSON-LD from Fuseki into web page, but Google's validation 
> (https://search.google.com/structured-data/testing-tool) doesn't accept it.
> 
> 
> 
> Triplets:
> 
> <https://resource.lingsoft.fi/13229bdf-99bf-4030-a6e0-6afa8f281dc6>
>         a <http://schema.org/Organization> ;
>         <http://schema.org/name>  "Lingsoft, Inc."@en .
> 
> 
> 
> JSON-LD snippet in web page:
> 
> <script type="application/ld+json">
> {
>   "@id" : "https://resource.lingsoft.fi/13229bdf-99bf-4030-a6e0-6afa8f281dc6";,
>   "@type" : "http://schema.org/Organization";,
>   "name" : {
>     "@language" : "en",
>     "@value" : "Lingsoft, Inc."
>   },
>   "@context" : {
>     "name" : {
>       "@id" : "http://schema.org/name";
>     }
>   }
> }
> </script>
> 
> 
> 
> Google's validation says
> 
> name is not a known valid target type for the name property
> 
> and error is pointing to line containing the first
> 
>  "name" : {
> 
> Anyone got an idea what is wrong and how to fix the data? Sorry if this is 
> not Fuseki related problem.
> 
> -- 
> Lingsoft - 30 years of Leading Language Management
> 
> www.lingsoft.fi
> 
> Speech Applications - Language Management - Translation - Reader's and 
> Writer's Tools - Text Tools - E-books and M-books
> 
> Mikael Pesonen
> System Engineer
> 
> e-mail: [email protected]
> Tel. +358 2 279 3300
> 
> Time zone: GMT+2
> 
> Helsinki Office
> Eteläranta 10
> FI-00130 Helsinki
> FINLAND
> 
> Turku Office
> Kauppiaskatu 5 A
> FI-20100 Turku
> FINLAND
> 

Reply via email to