Profile

Cover photo
Gregg Kellogg
Works at Kellogg Associates
Attended University of California, Los Angeles
Lives in San Rafael, CA
76 followers|5,461 views
AboutPostsPhotosVideos

Stream

Gregg Kellogg

Shared publicly  - 
 
In The RDFa working group, we discussed how we might add support for something like microdata's @itemref property. Itemref allows statements to be made separate from the rest of an item, and referenced from one ore more scopes. It's popular in microdata, because it helps a pattern, often used for Good Relations product definitions, where all of the products are the same, except for a couple of properties, such as size and color.

Simply tacking this on to RDFa is difficult, because RDFa is designed to be stream processed, and doesn't depend on doing DOM manipulation. However, RDFa does have a powerful optional feature, called Vocabulary Expansion. This is mostly intended to allow vocabulary definitions to make statements about sub-classes and sub-properties, but it can be used to similar effect for this purpose.

We define a new property and class as follows: rdfa:Prototype is the type of a resource the can be referenced via an rdfa:ref. This then invokes the following expansion/deletion rules:

INSERT DATA {
 ?x ?p ?y .
}
DELETE DATA {
 ?x rdfa:ref ?PR .
 ?x a rdfa:Prototype .
 ?PR ?p ?y .
}
WHERE {
 ?x rdfa:ref ?PR .
 ?PR ?p ?y.
 ?PR a rdfa:Prototype .
}

As opposed to microdata, the RDFa approach makes use of a resource with the type rdfa:Prototype, so the reference is done as a regular property reference using the rdfa:ref property. For example, consider the following simple example:

         <div>
           <div typeof="schema:Person">
             <link property="rdfa:ref" resource="_:a"/>
           </div>
           <p resource="_:a" typeof="rdfa:Prototype">Name: <span property="schema:name">Amanda</span></p>
         </div>

should produce

         @prefix schema: <http://schema.org/> .
         [a schema:Person; schema:name "Amanda"] .
1
1
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
Slides done for my talk this Thursday at NoSQL Now! on JSON-LD and MongoDB for enabling single-page web apps.
2
1
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
New blog post on the use of #BrowserID to thwart a DDOS attack on the #RDFa test suite.
3
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
More on the RDFa Test Suite. This time generating EARL reports and how #JSON-LD compliments #RDFa.
2
2
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
A #ruby MicroGEM for running a #SPARQL service using #sinatra: https://gist.github.com/1795436
3
1
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
 
Breaking: W3C launches new HTML5 validation service supporting RDFa 1.1 Lite and RDFa 1.1 Full: http://ow.ly/8WZp2 #rdfa #html5 /via +Ivan Herman
1
Add a comment...
Have him in circles
76 people
Benjamin Adrian's profile photo
Gavin Carothers's profile photo

Gregg Kellogg

Shared publicly  - 
 
This article describes work I've been engaged in with Wikia for the past couple of months. This is the basis for the presentation I'm giving this Thursday at NoSQL Now! on JSON-LD.
2
1
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
Some results from a couple of dives of Santa Cruz Island over Memorial Day weekend. I was mostly teaching, but I had a couple of dives free to engage in my passion.
2
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
New blog post on implementing the new RDFa Test Harness. First in a series.
1
2
Add a comment...

Gregg Kellogg

Shared publicly  - 
 
A small SPARQL endpoint in Ruby.

Check out the blog post at http://greggkellogg.net/2012/02/09/rdf-rb-0-3-5-and-sparql-0-1-0 for how to use the Ruby SPARQL gem to run a minimal SPARQL endpoint using Sinatra.

This is now running on my RDF Distiller at http://rdf.greggkellogg.net/sparql
3
Add a comment...
People
Have him in circles
76 people
Benjamin Adrian's profile photo
Gavin Carothers's profile photo
Work
Occupation
Consultant/Software Architecture
Employment
  • Kellogg Associates
    Principal, 2010 - present
  • Connected Media Experience
    Architect, Technical Working Group Chair, 2008 - 2011
  • Siterra Corporation
    Founder, CTO, 2001 - 2009
  • Xippix, Inc.
    CIO, 2000 - 2001
  • Cafex Corporation
    Founder, VP Technology, 1997 - 2000
  • MicroUnity Systems Engineering
    Manager, Networking Software, 1995 - 1997
  • Eo, Inc.
    Manager, Architect, 1993 - 1995
  • NeXT
    Engineer, 1989 - 1993
  • Hewlett-Packard
    Manager, Engineer, 1981 - 1987
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
San Rafael, CA
Previously
Newport Beach, CA - Boeblingen, Germany
Story
Tagline
Semantic Media Consultant
Introduction
I'm a SemWeb and Media guy. Also an avid Underwater Photographer.
Bragging rights
Active in some cool Silicon Valley startups once upon a time.
Education
  • University of California, Los Angeles
    Computer Science, 1979 - 1981
  • Humboldt State University
    Math, 1975 - 1979
Basic Information
Gender
Male
Relationship
Married