Re: Quality review requested on JSON-LD output based on existing webpage.

Thanks Gregg,

I see what you did there. Btw... I think I can also make a small
improvement on the @vocab, instead of http://data-vocabulary.org it should
be http://schema.org. By doing this, I am allowing myself to remove all the
other http://schema.org from the objects since those are inheriting it. If
I am correct, @vocab has also exception rules for properties that aren't
schema.org. Anyway... I think I am getting close to know how to write the
correct json-ld blindly.
Back to the statement on the "itemref" section, ehm... isn't it weird that
the JSON-LD doesn't have anything like an itemref? I mean... in microdata,
the itemtype object itself tells us that it contain more items. Whenever
this relation is removed from the JSON-LD, to me it feels like the
information provided by JSON-LD is kinda incomplete. Or should I include
those child items within the (itemref) object? Or maybe just because the
itemref isn't part of the microdata data model yet?

Enlightenments are appreciated ^^


2013/9/6 Gregg Kellogg <gregg@greggkellogg.com>

> On Sep 5, 2013, at 4:37 PM, Ka-Sing Chou <ka-sing@quantumspork.nl> wrote:
>
> > Hi all again,
> >
> > Ok... last time I made a big boo boo, sorry about that. Anyway, I did a
> manual attempt this time to create a (partial) JSON-LD file based on the
> url https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd/, however it
> looks a bit different than the output of
> http://rdf-translator.appspot.com/. Here is the link to the JSON-LD:
> https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd.jsonld
> >
> > The http://json-ld.org/playground/ showed me no errors and the
> compacted output is pretty neat for my taste. Is it correct this time?
>
> Definitely looking more like JSON-LD! Note that JSON-LD doesn't have
> anything like an "itemref", that comes from microdata.
>
> You could improve the output by creating a single context at the top
> level, and enclosing the top-level objects within @graph, like the
> following:
>
> {
>   "@context": {
>     "@vocab": "http://data-vocabulary.org/",
>     "home": {
>       "@container": "@list"
>     },
>     "logo": {
>       "@type": "@id"
>     },
>     "url": {
>       "@type": "@id"
>     }
>   },
>   "@graph": [{
>     "@id": "
> https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd/#breadcrumbs",
>     "@type": "Breadcrumb",
>     "title": ["Home", "SEO pakketten"],
>     "http://data-vocabulary.org/url": ["/", "/seo-pakketten/"]
>   }, {
>     "@id": "https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd/",
>     "@type": "http://schema.org/ItemPage",
>     "http://schema.org/breadcrumb": ["Home", "SEO pakketten", "MKB
> Geavanceerd"],
>     "http://schema.org/copyrightHolder": {
>       "@type": "http://schema.org/ProfessionalService",
>       "http://schema.org/branchOf": {
>         "@type": "http://schema.org/Corporation",
>         "http://schema.org/address": {
>           "@type": "http://schema.org/PostalAddress",
>           "http://schema.org/addressLocality": "Den Haag",
>           "http://schema.org/postalCode": "4291 DH",
>           "http://schema.org/streetAddress": "tiber 10-14"
>         },
>         "http://schema.org/faxNumber": "070-260 14 27",
>         "http://schema.org/name": "Quantumspork",
>         "http://schema.org/telephone": "070-260 13 84",
>         "http://schema.org/url": "http://www.quantumspork.nl"
>       },
>       "http://schema.org/description": "SEO-hosting & technische
> websiteoptimalisatie",
>       "http://schema.org/logo": "/images/seoprovider-logo.png",
>       "http://schema.org/name": "SEO Provider",
>       "http://schema.org/url": "/"
>     },
>     "http://schema.org/name": "Val op in Google met sterretjes bij
> zoekresultaten",
>     "http://schema.org/text": "Val op in Google met sterretjes bij
> zoekresultaten\nIs een solide SEO-hosting niet genoeg? Dan biedt MKB
> Geavanceerd een interessante meerwaarde. Hierbij profiteer je van alle
> voordelen en voorzieningen van het MKB Basis-pakket, en kom je dus terecht
> op ons SEO-hostingplatform.\nDaarnaast profiteer je van een aantal extra
> diensten die geheel zijn toegespitst op jouw website of online marketing
> campagne en de zichtbaarheid ervan verder verhogen. We migreren niet alleen
> jouw website maar passen ook allerlei zaken in de code van je website aan.
> We wijzen zoekmachines letterlijk de weg door je website, zodat
> zoekmachines precies weten waar ze moeten zijn als ze jouw site bezoeken."
>   }, {
>     "@id": "https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd/#item
> ",
>     "@type": "http://schema.org/Product",
>     "http://schema.org/descripion": "Is een solide SEO-hosting niet
> genoeg? Dan biedt MKB Geavanceerd een interessante meerwaarde. Hierbij
> profiteer je van alle voordelen en voorzieningen van het MKB Basis-pakket,
> en kom je dus terecht op ons SEO-hostingplatform.\nDaarnaast profiteer je
> van een aantal extra diensten die geheel zijn toegespitst op jouw website
> of online marketing campagne en de zichtbaarheid ervan verder verhogen. We
> migreren niet alleen jouw website maar passen ook allerlei zaken in de code
> van je website aan. We wijzen zoekmachines letterlijk de weg door je
> website, zodat zoekmachines precies weten waar ze moeten zijn als ze jouw
> site bezoeken.",
>     "http://schema.org/isRelatedTo": [{
>       "@type": "http://schema.org/Product",
>       "http://schema.org/name": "SEO MKB Basis",
>       "http://schema.org/offers": {
>         "@type": "http://schema.org/Offer",
>         "http://schema.org/price": "1500",
>         "http://schema.org/priceCurrency": "EUR",
>         "http://schema.org/priceSpecification": {
>           "@type": "http://schema.org/PriceSpecification",
>           "http://schema.org/valueAddedTaxIncluded": "false"
>         }
>       },
>       "http://schema.org/url": "/seo-pakketten/mkb-basis/"
>     }, {
>       "@type": "http://schema.org/Product",
>       "http://schema.org/name": "SEO MKB Maatwerk",
>       "http://schema.org/offers": {
>         "@type": "http://schema.org/Offer",
>         "http://schema.org/price": "Op aanvraag",
>         "http://schema.org/priceCurrency": "EUR"
>       },
>       "http://schema.org/url": "/seo-pakketten/mkb-maatwerk/"
>     }],
>     "http://schema.org/itemCondition": ["Migratie naar SEO-Server",
> "Optimalisatie http-headers", "HTML optimalisatie", "CSS optimalisatie",
> "Javascript optimalisatie", "Optimalisatie afbeeldingen", "Basis caching",
> "Automatisch indienen sitemap.xml", "Dagelijkse back-up", "Robots.txt
> optimalisatie", "Sitemap.xml optimalisatie", "Cookieless domein",
> "Semantische optimalisatie"],
>     "http://schema.org/name": "SEO Optimalisatiepakket: MKB Geavanceerd",
>     "http://schema.org/offers": {
>       "@type": "http://schema.org/Offer",
>       "http://schema.org/AddOn": {
>         "@type": "http://schema.org/Offer",
>         "http://schema.org/itemCondition": "op basis van redelijk
> gebruik, anders op aanvraag",
>         "http://schema.org/name": "Hostingkosten",
>         "http://schema.org/price": "49",
>         "http://schema.org/priceCurrency": "EUR"
>       },
>       "http://schema.org/price": "2500",
>       "http://schema.org/priceCurrency": "EUR",
>       "http://schema.org/priceSpecification": {
>         "@type": "http://schema.org/PriceSpecification",
>         "http://schema.org/valueAddedTaxIncluded": "false"
>       }
>     }
>   }, {
>     "@id": "
> https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd/#WpHeader",
>     "@type": "http://schema.org/WPHeader",
>     "http://schema.org/about": {
>       "@type": "http://schema.org/SiteNavigationElement",
>       "http://schema.org/about": {
>         "@type": "http://schema.org/ProfilePage",
>         "http://schema.org/name": "Linkedin - SEO Provider",
>         "http://schema.org/url": "
> http://www.linkedin.com/company/quantumspork/seo-provider-19538551/product?trk=biz_product_logo
> "
>       }
>     }
>   }, {
>     "@id": "
> https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd/#Breadcrumb",
>     "@type": "Breadcrumb",
>     "title": "Home",
>     "http://data-vocabulary.org/url": "/"
>   }, {
>     "@id": "
> https://www.seoprovider.nl/seo-pakketten/mkb-geavanceerd/#WpFooter",
>     "@type": "http://schema.org/WPFooter",
>     "http://schema.org/text": "SEO Provider is onderdeel van Quantumspork
> tiber 10-14 4291 DH Den Haag tel 070-260 13 84 fax 070-260 14 27KvK 56 99
> 59 89 Algemene voorwaarden"
>   }]
> }
>
> At some point, schema.org will publish a context, so you should be able
> to do {"@contet": "http://schema.org/"}, ...}
>
> Gregg
>
> > Friendly regards and again thanks in advance
> >
> > Ka-Sing Chou,
> > 06 - 54 76 30 81
> > ka-sing@quantumspork.nl
>
>


-- 
Regards,

Ka-Sing Chou
06 - 54 76 30 81
ka-sing@quantumspork.nl

Received on Friday, 6 September 2013 11:09:17 UTC