
#Generated by ICCS SAN Editor
				
		@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 
		@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 
		@prefix san: <http://imu.ntua.gr/ontologies/san/2011/06/01/san.rdf#> . 
		@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
		
# san:Nuclear Accident demo 
	  @prefix :	<http://play/sans/template-san-1#>	.

# g:_ENSURE_COMM_WITH_ALL 
:_ENSURE_COMM_WITH_ALL	a	san:RootGoal ;
		san:hasContextCondition	:_PARIS_AFFECTED ;
		san:hasSituation	:_NUCLEAR_ACCIDENT ;
		san:hasAction	:_ACHIEVE_ALL_SUBGOAL ;
		san:name	"Ensure communication with stakeholders during nuclear accident"^^xsd:string ;
		san:hasMetadata :_META_ENSURE_COMM_WITH_ALL_NUMERIC_TEST ;
		san:hasMetadata :_META_ENSURE_COMM_WITH_ALL_BOOLEAN_TEST ;
		san:hasMetadata :_META_ENSURE_COMM_WITH_ALL_STRING_TEST .

:_META_ENSURE_COMM_WITH_ALL_NUMERIC_TEST  a  san:Metadata ;
		san:name "Metadata Numeric test" ;
		san:type "numeric" ;
		san:value "1234567890" .

:_META_ENSURE_COMM_WITH_ALL_BOOLEAN_TEST  a  san:Metadata ;
		san:name "Metadata Boolean test"^^xsd:string ;
		san:type "boolean"^^xsd:string ;
		san:value "true"^^xsd:string .

:_META_ENSURE_COMM_WITH_ALL_STRING_TEST  a  san:Metadata ;
		san:name "Metadata String test"^^xsd:string ;
		san:type "string"^^xsd:string ;
		san:value "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"^^xsd:string .


# s:_NUCLEAR_ACCIDENT 
:_NUCLEAR_ACCIDENT	a	san:Situation ;
		san:dialect	"default"^^xsd:string ;
		san:defined-by	"----"^^xsd:string ;
		san:name	"Nuclear accident occured"^^xsd:string .

# c:_PARIS_AFFECTED 
:_PARIS_AFFECTED	a	san:ContextCondition ;
		san:dialect	"default"^^xsd:string ;
		san:defined-by	"true"^^xsd:string ;
		san:name	"Radiation affected Paris?"^^xsd:string .

# a:_ACHIEVE_ALL_SUBGOAL 
:_ACHIEVE_ALL_SUBGOAL	a	san:ParallelAllAction ;
		san:hasAction	:_ENSURE_COMM_WITH_AGENCIES ;
		san:hasAction	:_ENSURE_COMM_WITH_CITIZENS ;
		san:name	"achieve all subgoals"^^xsd:string .
#action sequences 

# g:_ENSURE_COMM_WITH_AGENCIES 
:_ENSURE_COMM_WITH_AGENCIES	a	san:Goal ;
		san:hasContextCondition	:_SHELTERS_CLOSED ;
		san:hasSituation	:_RADIATION_TOO_HIGH ;
		san:hasAction	:_USE_SIRENS ;
		san:name	"Ensure communication with agencies"^^xsd:string .

# s:_RADIATION_TOO_HIGH 
:_RADIATION_TOO_HIGH	a	san:Situation ;
		san:dialect	"default"^^xsd:string ;
		san:defined-by	"------"^^xsd:string ;
		san:name	"Radiation too high"^^xsd:string .

# c:_SHELTERS_CLOSED 
:_SHELTERS_CLOSED	a	san:ContextCondition ;
		san:dialect	"default"^^xsd:string ;
		san:defined-by	"true"^^xsd:string ;
		san:name	"Shelters still closed?"^^xsd:string .

# a:_USE_SIRENS 
:_USE_SIRENS	a	san:PrimitiveAction ;
		san:command	"USE SIRENS"^^xsd:string ;
		san:name	"Use sirens"^^xsd:string .
#action sequences 

# g:_ENSURE_COMM_WITH_CITIZENS 
:_ENSURE_COMM_WITH_CITIZENS	a	san:Goal ;
		san:hasContextCondition	:_PARIS_NOT_EVACUATED ;
		san:hasSituation	:_ELECTRICITY_PROBLEM_2 ;
		san:hasAction	:_REDEPLOY_POLICE_UNITS ;
		san:name	"Ensure communication with citizens"^^xsd:string .

# s:_ELECTRICITY_PROBLEM_2 
:_ELECTRICITY_PROBLEM_2	a	san:Situation ;
		san:dialect	"default"^^xsd:string ;
		san:defined-by	"----"^^xsd:string ;
		san:name	"Electricity problem"^^xsd:string .

# c:_PARIS_NOT_EVACUATED 
:_PARIS_NOT_EVACUATED	a	san:ContextCondition ;
		san:dialect	"default"^^xsd:string ;
		san:defined-by	"true"^^xsd:string ;
		san:name	"Paris not evacuated?"^^xsd:string .

# a:_REDEPLOY_POLICE_UNITS 
:_REDEPLOY_POLICE_UNITS	a	san:PrimitiveAction ;
		san:command	"DEPLOY POLICE UNITS"^^xsd:string ;
		san:name	"Redeploy police units to inform citizens"^^xsd:string .
#action sequences 
