diff --git a/lib-rdfa/examples/other/example0024.html b/lib-rdfa/examples/other/example0024.html new file mode 100644 index 0000000..6e5a974 --- /dev/null +++ b/lib-rdfa/examples/other/example0024.html @@ -0,0 +1,25 @@ +
+ + NBA Eastern Conference First Round Playoff Tickets: + Miami Heat at Philadelphia 76ers - Game 3 (Home Game 1) + + + + Thu, 04/21/11 8:00 p.m. + + +
+ Wells Fargo Center +
+ Philadelphia, + PA +
+
+ +
+ Priced from: $35 + 1,938 tickets left +
+
diff --git a/lib-rdfa/examples/other/example0024.ttl b/lib-rdfa/examples/other/example0024.ttl new file mode 100644 index 0000000..5076196 --- /dev/null +++ b/lib-rdfa/examples/other/example0024.ttl @@ -0,0 +1,26 @@ + +@prefix rdfa: . +@prefix schema: . +@prefix rdf: . + + + rdfa:usesVocabulary schema: . +_:1 + rdf:type schema:Event; + schema:url ; + 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 ; + 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" . diff --git a/lib-rdfa/src/tests/other.rs b/lib-rdfa/src/tests/other.rs index 4f2b373..b4cbb97 100644 --- a/lib-rdfa/src/tests/other.rs +++ b/lib-rdfa/src/tests/other.rs @@ -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(