@prefix rr: . @prefix nfl: . @prefix nfl-stat: . @prefix rdf: . @prefix void: . @prefix scovo: . @prefix aowl: . @prefix schema: . @prefix rdfs: . <#TriplesMapGame> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "NFL" ; rr:tableOwner "PBP" ; rr:tableName "DATA" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/nfl/data/game#{GameId}"; rr:class nfl:Game; rr:graph ]; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:plays ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/data/plays#{GameId}{Quarter}{Minute}{Second}" ]; ] . <#TriplesMapPlay> a rr:TriplesMap; rr:logicalTable [ rr:tableSchema "NFL" ; rr:tableOwner "PBP" ; rr:tableName "DATA" ]; rr:subjectMap [ rr:termType rr:IRI ; rr:template "http://demo.openlinksw.com/nfl/data/plays#{GameId}{Quarter}{Minute}{Second}"; rr:class nfl:Play; rr:graph ]; #rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:gameid ] ; rr:objectMap [ rr:column "GameId" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:gamedate ] ; rr:objectMap [ rr:datatype xsd:dateTime; rr:column "GameDate" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:quarter ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "Quarter" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:minute ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "Minute" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:second ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "Second" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:offenseteam ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/teams#{OffenseTeam}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:defenseteam ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/teams#{DefenseTeam}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:down ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "Down" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:togo ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "ToGo" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:yardline ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "YardLine" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:seriesfirstdown ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "SeriesFirstDown" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:nextscore ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "NextScore" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant rdfs:label ] ; rr:objectMap [ rr:column "Description" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:teamwin ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "TeamWin" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:seasonyear ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "SeasonYear" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:yards ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "Yards" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:formation ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/ontology#{Formation}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:playtype ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/ontology#{PlayType}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:isrush ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsRush" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:ispass ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsPass" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:isincomplete ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsIncomplete" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:istouchdown ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsTouchdown" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:passtype ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/ontology#{PassType}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:issack ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsSack" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:ischallenge ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsChallenge" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:ischallengereversed ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsChallengeReversed" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:challenger ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/teams#{Challenger}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:ismeasurement ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsMeasurement" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:isinterception ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsInterception" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:isfumble ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsFumble" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:ispenalty ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsPenalty" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:istwopointconversion ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsTwoPointConversion" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:istwopointconversionsuccessful ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsTwoPointConversionSuccessful" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:rushdirection ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/ontology#{RushDirection}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:yardlinefixed ] ; rr:objectMap [ rr:column "YardLineFixed" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:yardlinedirection ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/ontology#{YardLineDirection}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:ispenaltyaccepted ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsPenaltyAccepted" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:penaltyteam ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/teams#{PenaltyTeam}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:isnoplay ] ; rr:objectMap [ rr:datatype xsd:boolean; rr:column "IsNoPlay" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:penaltytype ] ; rr:objectMap [ rr:termType rr:IRI; rr:template "http://demo.openlinksw.com/nfl/teams#{PenaltyType}" ]; ] ; rr:predicateObjectMap [ rr:predicateMap [ rr:constant nfl:penaltyyards ] ; rr:objectMap [ rr:datatype xsd:integer; rr:column "PenaltyYards" ]; ] .