Skip to content

Commit

Permalink
autocommit
Browse files Browse the repository at this point in the history
  • Loading branch information
nbittich committed Dec 14, 2024
1 parent 85ff0b3 commit d1850f8
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 0 deletions.
25 changes: 25 additions & 0 deletions lib-rdfa/examples/other/example0024.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<div vocab="http://schema.org/" typeof="Event">
<a property="url" href="nba-miami-philidelphia-game3.html">
NBA Eastern Conference First Round Playoff Tickets:
<span property="name"
>Miami Heat at Philadelphia 76ers - Game 3 (Home Game 1)</span
>
</a>

<span property="startDate" content="2011-04-21T20:00">
Thu, 04/21/11 8:00 p.m.
</span>

<div property="location" typeof="Place">
<a property="url" href="wells-fargo-center.html"> Wells Fargo Center </a>
<div property="address" typeof="PostalAddress">
<span property="addressLocality">Philadelphia</span>,
<span property="addressRegion">PA</span>
</div>
</div>

<div property="offers" typeof="AggregateOffer">
Priced from: <span property="lowPrice">$35</span>
<span property="offerCount">1,938</span> tickets left
</div>
</div>
26 changes: 26 additions & 0 deletions lib-rdfa/examples/other/example0024.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

@prefix rdfa: <http://www.w3.org/ns/rdfa#> .
@prefix schema: <http://schema.org/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

<http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/>
rdfa:usesVocabulary schema: .
_:1
rdf:type schema:Event;
schema:url <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/nba-miami-philidelphia-game3.html>;
schema:name "Miami Heat at Philadelphia 76ers - Game 3 (Home Game 1)";
schema:startDate "2011-04-21T20:00";
schema:location _:2;
schema:offers _:4 .
_:2
rdf:type schema:Place;
schema:url <http://rdfa.info/test-suite/test-cases/rdfa1.1/html5/wells-fargo-center.html>;
schema:address _:3 .
_:3
rdf:type schema:PostalAddress;
schema:addressLocality "Philadelphia";
schema:addressRegion "PA" .
_:4
rdf:type schema:AggregateOffer;
schema:lowPrice "$35";
schema:offerCount "1,938" .
1 change: 1 addition & 0 deletions lib-rdfa/src/tests/other.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const INPUT_OUTPUT_DIR: &str = "examples/other";
#[test_case("example0021" ; "From rdfa.info/play with about : other_0021 ")]
#[test_case("example0022" ; "From rdfa.info/play product : other_0022 ")]
#[test_case("example0023" ; "From rdfa.info/play places : other_0023 ")]
#[test_case("example0024" ; "From rdfa.info/play event : other_0024 ")]
#[serial]
fn test(test_name: &str) {
cmp_files(
Expand Down

0 comments on commit d1850f8

Please sign in to comment.