Skip to content

Commit

Permalink
added explicit facebook
Browse files Browse the repository at this point in the history
  • Loading branch information
saumier committed Oct 26, 2023
1 parent 7825a25 commit ffac212
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 46 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/dump-gtq.yml

This file was deleted.

17 changes: 13 additions & 4 deletions frame/lavitrine_frame.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"xsd": "http://www.w3.org/2001/XMLSchema#",
"skos": "http://www.w3.org/2004/02/skos/core#",
"wdt": "http://www.wikidata.org/prop/direct/",
"schema":"http://schema.org/",
"facebook": {
"@id": "wdt:P2013"
},
Expand Down Expand Up @@ -125,13 +126,21 @@
"@explicit": true,
"name": {},
"sameAs": {},
"url":{}
"url":{},
"facebook":{}
},
"organizer": {
"@type": ["Person","Organization"],
"@omitDefault": true,
"@explicit": true,
"name": {},
"sameAs": {},
"url":{},
"facebook":{}
},
"organizer": {},
"url": {},
"subEvent": {
"representation": {
"@type": "Event",
"@omitDefault": true,
"@explicit": true,
"name": {},
"startDate": {},
Expand Down
5 changes: 0 additions & 5 deletions shacl/lavitrine_shacl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ ads:locationProp
[ sh:node ads:VirtualLocationNode ; ]
) .



ads:performerProp
sh:path schema:performer ;
sh:or (
Expand All @@ -60,7 +58,6 @@ ads:subEventProp
sh:node sh:EventNode .



################
# Events mapped to Representations
################
Expand Down Expand Up @@ -95,8 +92,6 @@ ads:eventStatusProp
schema:EventScheduled
schema:EventRescheduled
schema:EventMovedOnline ) .



ads:eventAttendanceModeProp
sh:path schema:eventAttendanceMode ;
Expand Down
3 changes: 2 additions & 1 deletion src/test/fixtures/full_event.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@
"type": "Person",
"name": {
"none": "Conservatoire de musique de Québec"
}
},
"facebook":"myfacebooktest"
}
],
"url": "https://www.grandtheatre.qc.ca/programmation/midis-musique-25-octobre-2023/",
Expand Down
4 changes: 2 additions & 2 deletions src/test/sparql_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ def setup
end

# Removes type: EventForIndex
def test_that_event_for_index_is_removed
sparql = "../sparql/remove_event_for_index.sparql"
def test_that_eventforindex_is_removed
sparql = "../sparql/remove_eventforindex.sparql"
graph = @graph.query(SPARQL.parse(File.read(sparql), update: true))
assert_equal 254, graph.count
end
Expand Down

0 comments on commit ffac212

Please sign in to comment.