|
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. |
|
@prefix recipe: <http://linkedrecipes.org/schema/>. |
|
@prefix foaf: <http://xmlns.com/foaf/0.1/>. |
|
|
|
<http://www.foodista.com/recipe/J2T4QC7D/pumpkin-chocolate-chip-walnut-cookies> a recipe:Recipe; |
|
recipe:steps ( |
|
"ONE: Combine pumpkin, sugar, vegetable oil, and egg" |
|
"TWO: In a separate bowl, stir together flour, baking powder, baking soda, ground cinnamon, and salt. Dissolve the baking soda with the milk, and stir in. Add the flour mixture to the pumpkin mixture and mix well." |
|
"THREE: Add vanilla, chocolate chips, and walnuts. Mix well." |
|
"FOUR: Shape and flatten dough on cookie sheet (covered with parchment paper) and bake at 350 degrees for approximately 10 minutes or until lightly brown and firm." |
|
); |
|
recipe:ingredient <http://dbpedia.org/resource/Milk>; |
|
recipe:ingredient <http://dbpedia.org/resource/Pumpkin>; |
|
recipe:ingredient <http://dbpedia.org/resource/Sugar>; |
|
recipe:ingredient <http://dbpedia.org/resource/Vegetable_fats_and_oils>; |
|
recipe:ingredient <http://dbpedia.org/resource/Egg_(food)>; |
|
recipe:ingredient <http://dbpedia.org/resource/Flour>; |
|
recipe:ingredient <http://dbpedia.org/resource/Baking_powder>; |
|
recipe:ingredient <http://dbpedia.org/resource/Cinnamon>; |
|
recipe:ingredient <http://dbpedia.org/resource/Salt>; |
|
recipe:ingredient <http://dbpedia.org/resource/Baking_soda>; |
|
recipe:ingredient <http://dbpedia.org/resource/Vanilla_extract>; |
|
recipe:ingredient <http://dbpedia.org/resource/Chocolate_chip>; |
|
recipe:ingredient <http://dbpedia.org/resource/Walnut>. |
|
|
|
<http://dbpedia.org/resource/Milk> a recipe:IngredientPortion; |
|
recipe:portion "1 teaspoon"; |
|
foaf:name "milk". |
|
<http://dbpedia.org/resource/Pumpkin> a recipe:IngredientPortion; |
|
recipe:portion "1 cup canned"; |
|
foaf:name "canned pumpkin"; |
|
foaf:name "pumpkin". |
|
<http://dbpedia.org/resource/Sugar> a recipe:IngredientPortion; |
|
recipe:portion "1 cup white"; |
|
foaf:name "sugar"; |
|
foaf:name "white sugar". |
|
<http://dbpedia.org/resource/Vegetable_fats_and_oils> a recipe:IngredientPortion; |
|
recipe:portion "1/2 cup"; |
|
foaf:name "vegetable oil". |
|
<http://dbpedia.org/resource/Egg_(food)> a recipe:IngredientPortion; |
|
recipe:portion "1"; |
|
foaf:name "egg". |
|
<http://dbpedia.org/resource/Flour> a recipe:IngredientPortion; |
|
recipe:portion "2 cups"; |
|
foaf:name "flour". |
|
<http://dbpedia.org/resource/Baking_powder> a recipe:IngredientPortion; |
|
recipe:portion "2 teaspoons"; |
|
foaf:name "baking powder". |
|
<http://dbpedia.org/resource/Cinnamon> a recipe:IngredientPortion; |
|
recipe:portion "2 teaspoons ground"; |
|
foaf:name "ground cinnamon"; |
|
foaf:name "cinnamon". |
|
<http://dbpedia.org/resource/Salt> a recipe:IngredientPortion; |
|
recipe:portion "1/2 teaspoon"; |
|
foaf:name "salt". |
|
<http://dbpedia.org/resource/Baking_soda> a recipe:IngredientPortion; |
|
recipe:portion "1 teaspoon"; |
|
foaf:name "baking soda". |
|
<http://dbpedia.org/resource/Vanilla_extract> a recipe:IngredientPortion; |
|
recipe:portion "1 tablespoon"; |
|
foaf:name "vanilla extract". |
|
<http://dbpedia.org/resource/Chocolate_chip> a recipe:IngredientPortion; |
|
recipe:portion "1 cup semisweet"; |
|
foaf:name "chocolate chips". |
|
<http://dbpedia.org/resource/Walnut> a recipe:IngredientPortion; |
|
recipe:portion "1 cup"; |
|
foaf:name "walnuts". |
|
|
Updated the recipe a bit: Tried to make it more conformant to the schema (http://grandmagrandma.com/page/linked-recipes). Technically it says recipe:steps should point to a list of recipe:Step rather than a list of string literals, but I don't know where you're supposed to attach the actual text of the steps. Also made the recipe prefix null to cut down on verbosity.
http://gist.github.com/638279
Apparently, some of the DBPedia ingredients (baking soda) link to the same ingredient on FreeBase which in turn links to recipes (viewable as RDF), e.g.
oatmeal raisin cookies. Seems to use the same schema as Linked Recipes, maybe some slightly different names for some things.