SlideShare a Scribd company logo
frame persona ;
default respira is si
and default camina is si
and default nombre is vacio .

frame personas_famosas is a persona ;
default fans is si
and default populares is si .

frame personas_comunes is a persona ;
default fans is no
and default populares is no .

frame personas_cantantes is a personas_famosas ;
default discografias is si
and default biografias is si .

frame personas_deportistas is a personas_famosas ;
default discografias is no
and default biografias is si .

frame persona_de_una_casa is a personas_comunes ;
default colaboradoras is a_veces
and default responsable is a_veces .

frame personas_trabajadoras is a personas_comunes ;
default colaboradoras is si
and default responsable is si .

frame cantantes_regueton is a personas_cantantes ;
default originario is puerto_rico
and default tipo is ligera .

frame cantantes_salsa is a personas_cantantes ;
default originario is cuba
and default tipo is rapido .

frame futbolista is a personas_deportistas ;
default arbitro is si
and default n_bolas is 1 .

frame billarista is a personas_deportistas ;
default arbitro is a_veces
and default n_bolas is indefinido .
frame ni?o is a persona_de_una_casa ;
default inquieto is si
and default jugueton is si .

frame asdolecente is a persona_de_una_casa ;
default inquieto is poco
and default jugueton is si .

frame secretaria is a personas_trabajadoras ;
default atender_al_publico is si
and default poseer_conocimiento is poco .

frame doctor is a personas_trabajadoras ;
default atender_al_publico is si
and default poseer_conocimiento is si .

frame cantante_raggamuffin is a cantantes_regueton ;
default a?o_de_origen is 1960
and default tipo is reggae_jamaiquino .

frame cantante_dancehall is a cantantes_regueton ;
default a?o_de_origen is 1975
and default tipo is reggae_haitiano .

frame cantante_salsa_colombiana is a cantantes_salsa ;
default forma is movida
and default difusion is reggae_1967 .

frame cantante_salsa_puertorique?o is a cantantes_salsa ;
default forma is lenta
and default difusion is reggae_1960 .

frame jugador_fitbol_playa is a futbolista ;
default n_tiempos is 3
and default tiempo is 12 .

frame jugador_fitbol_sala is a futbolista ;
default n_tiempos is 2
and default tiempo is 20 .

frame jugador_juego_frances is a billarista ;
default origen is francia
and default n_bolas is 2 .

frame jugador_billar_americano is a billarista ;
default origen is america
and default n_bolas is 15 .

frame estudiante_primaria is a ni?o ;
default n_a?os is 5
and default se_ense?a is aptitudes .

frame estudiante_preescolar is a ni?o ;
default n_a?os is 3
and default se_ense?a is habilidades_cognitivas .

frame estudiante_universitario is a asdolecente ;
default n_a?os is 5
and default tipo_ropa is libre .

frame estudiante_secundaria is a asdolecente ;
default n_a?os is 6
and default tipo_ropa is uniforme .

frame secretaria_gerencia is a secretaria ;
default funcion is agenda_del_dia
and default perfil is responsable .

frame secretaria_comercial is a secretaria ;
default funcion is asesora
and default perfil is amable .

frame odontologo is a doctor ;
default tarea is tratamiento_dientes
and default casero is no .

frame pediatra is a doctor ;
default tarea is bienestar_ni?o
and default casero is a_veces .

question pregunta1
'La persona a la que se refiere es popular' ? ;
choose one of si, no .

question pregunta2
'Tiene discografia ese personaje' ? ;
choose one of si, no .

question pregunta3
'Es responsable' ? ;
choose one of a_veces, si .

question pregunta4
'Es originario de' ? ;
choose one of puerto_rico, cuba .

question pregunta5
'El n de bolas que utilizan es' ? ;
choose one of 1, indefinido .

question pregunta6
'Esa persona es inquieta' ? ;
choose one of si, poco .

question pregunta7
'Debe poseer conocimiento' ? ;
choose one of si, poco .

question pregunta8
'El tipo de reggae que canta es' ? ;
choose one of reggae_jamaiquino, reggae_haitiano .

question pregunta9
'La forma en que canta esa persona es' ? ;
choose one of movida, lenta .

question pregunta10
'El n de tiempo que juega es' ? ;
choose one of 2, 3 .

question pregunta11
'El n de bolas que utiliza esa persona en ese juego es' ? ;
choose one of 2, 15 .

question pregunta12
'Que se le ense?a' ? ;
choose one of aptitudes, habilidades_cognitivas .

question pregunta13
'El tipo de ropa que utliza es' ? ;
choose one of uniforme, libre .

question pregunta14
'La funcion que cumple es' ? ;
choose one of agenda_del_dia, asesora .
question pregunta15
'La tarea que desarrolla es' ? ;
choose one of tratamiento_dientes, bienestar_ni?o .

rule r1
if the pregunta1 is si
and the pregunta2 is si
and the pregunta4 is puerto_rico
and the pregunta8 is reggae_jamaiquino
then the persona`s nombre becomes 'Cantante de raggamufin' .

rule r2
if the pregunta1 is si
and the pregunta2 is si
and the pregunta4 is puerto_rico
and the pregunta8 is reggae_haitiano
then the persona`s nombre becomes 'Cantante de dancehall' .

rule r3
if the pregunta1 is si
and the pregunta2 is si
and the pregunta4 is cuba
and the pregunta9 is movida
then the persona`s nombre becomes 'Cantante de salsa colombiana' .

rule r4
if the pregunta1 is si
and the pregunta2 is si
and the pregunta4 is cuba
and the pregunta9 is lenta
then the persona`s nombre becomes 'Cantante de salsa puertorique?a' .

rule r5
if the pregunta1 is si
and the pregunta2 is no
and the pregunta5 is 1
and the pregunta10 is 2
then the persona`s nombre becomes 'Jugador de futbol sala' .

rule r6
if the pregunta1 is si
and the pregunta2 is no
and the pregunta5 is 1
and the pregunta10 is 3
then the persona`s nombre becomes 'Jugador de futbol playa' .

rule r7
if the pregunta1 is si
and the pregunta2 is no
and the pregunta5 is indefinido
and the pregunta11 is 2
then the persona`s nombre becomes 'Jugador de juego frances' .

rule r8
if the pregunta1 is si
and the pregunta2 is no
and the pregunta5 is indefinido
and the pregunta11 is 15
then the persona`s nombre becomes 'Jugador de billar americano' .

rule r9
if the pregunta1 is no
and the pregunta3 is a_veces
and the pregunta6 is si
and the pregunta12 is aptitudes
then the persona`s nombre becomes 'Estudiante de primaria' .

rule r10
if the pregunta1 is no
and the pregunta3 is a_veces
and the pregunta6 is si
and the pregunta12 is habilidades_cognitivas
then the persona`s nombre becomes 'Estudiante de preescolar' .

rule r11
if the pregunta1 is no
and the pregunta3 is a_veces
and the pregunta6 is poco
and the pregunta13 is uniforme
then the persona`s nombre becomes 'Estudiante de secundaria' .

rule r12
if the pregunta1 is no
and the pregunta3 is a_veces
and the pregunta6 is poco
and the pregunta13 is libre
then the persona`s nombre becomes 'Estudiante universitario' .

rule r13
if the pregunta1 is no
and the pregunta3 is si
and the pregunta7 is poco
and the pregunta14 is agenda_del_dia
then the persona`s nombre becomes 'Secretaria de gerencia' .

rule r14
if the pregunta1 is no
and the pregunta3 is si
and the pregunta7 is poco
and the pregunta14 is asesora
then the persona`s nombre becomes 'Secretaria comercial' .

rule r15
if the pregunta1 is no
and the pregunta3 is si
and the pregunta7 is si
and the pregunta15 is tratamiento_dientes
then the persona`s nombre becomes 'Odontologo' .

rule r16
if the pregunta1 is no
and the pregunta3 is si
and the pregunta7 is si
and the pregunta15 is bienestar_ni?o
then the persona`s nombre becomes 'Pediatra' .

group general
r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16 .

ruleset motor
contains general ;
update ruleset by removing each selected rule .

action anda ;
do restart
and invoke ruleset motor
and echo ('La persona que buscaba es', persona`s nombre)
and nl .

More Related Content

Viewers also liked

Trịnh Công Sơn - Tình nhớ
Trịnh Công Sơn - Tình nhớTrịnh Công Sơn - Tình nhớ
Trịnh Công Sơn - Tình nhớ
frank2073
 
Sadako i les mil grues
Sadako i les mil gruesSadako i les mil grues
Sadako i les mil grues
claudiacsp25
 
Manual de serviã§os super 100 80507-d03 a-001
Manual de serviã§os super 100   80507-d03 a-001Manual de serviã§os super 100   80507-d03 a-001
Manual de serviã§os super 100 80507-d03 a-001
nielson araujo
 
Reforestación adri 2012
Reforestación adri 2012Reforestación adri 2012
Reforestación adri 2012
juan pablo
 
黑白圍棋的由來(古亭)
黑白圍棋的由來(古亭)黑白圍棋的由來(古亭)
黑白圍棋的由來(古亭)
kidsgo
 
siil ja siil
siil ja siilsiil ja siil
siil ja siil
ivo456
 
CapacitacioSUPERV
CapacitacioSUPERVCapacitacioSUPERV
CapacitacioSUPERV
juan pablo
 

Viewers also liked (16)

Jakarta Hotel Rate
Jakarta Hotel RateJakarta Hotel Rate
Jakarta Hotel Rate
 
Trịnh Công Sơn - Tình nhớ
Trịnh Công Sơn - Tình nhớTrịnh Công Sơn - Tình nhớ
Trịnh Công Sơn - Tình nhớ
 
Sadako i les mil grues
Sadako i les mil gruesSadako i les mil grues
Sadako i les mil grues
 
AD1 de educação á distancia - 2014.2
AD1 de educação á distancia -  2014.2AD1 de educação á distancia -  2014.2
AD1 de educação á distancia - 2014.2
 
Manual de serviã§os super 100 80507-d03 a-001
Manual de serviã§os super 100   80507-d03 a-001Manual de serviã§os super 100   80507-d03 a-001
Manual de serviã§os super 100 80507-d03 a-001
 
Quando ...
Quando ...Quando ...
Quando ...
 
Relazione Progetto cRio
Relazione Progetto cRioRelazione Progetto cRio
Relazione Progetto cRio
 
Reforestación adri 2012
Reforestación adri 2012Reforestación adri 2012
Reforestación adri 2012
 
黑白圍棋的由來(古亭)
黑白圍棋的由來(古亭)黑白圍棋的由來(古亭)
黑白圍棋的由來(古亭)
 
Sr
SrSr
Sr
 
Le biblioteche nel nuovo sistema integrato della formazione in presenza e a ...
Le  biblioteche nel nuovo sistema integrato della formazione in presenza e a ...Le  biblioteche nel nuovo sistema integrato della formazione in presenza e a ...
Le biblioteche nel nuovo sistema integrato della formazione in presenza e a ...
 
Lavida
LavidaLavida
Lavida
 
Momento atual da economia e tendência do ramo de pessoas
Momento atual da economia e tendência do ramo de pessoasMomento atual da economia e tendência do ramo de pessoas
Momento atual da economia e tendência do ramo de pessoas
 
siil ja siil
siil ja siilsiil ja siil
siil ja siil
 
Ánh Trăng
Ánh TrăngÁnh Trăng
Ánh Trăng
 
CapacitacioSUPERV
CapacitacioSUPERVCapacitacioSUPERV
CapacitacioSUPERV
 

Recently uploaded

Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
ATM HTML Games
 
一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单
一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单
一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单
utykdaq
 
一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单
一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单
一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单
utykdaq
 
一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单
一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单
一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单
utykdaq
 
一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单
一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单
一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单
utykdaq
 
一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单
一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单
一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单
utykdaq
 
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
utykdaq
 

Recently uploaded (19)

Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
Driving & Racing Games Online for Free_ Explore the Excitement with ATM HTML ...
 
The Ultimate Guide to Mom IPTV- Everything You Need to Know in 2024.pdf
The Ultimate Guide to Mom IPTV- Everything You Need to Know in 2024.pdfThe Ultimate Guide to Mom IPTV- Everything You Need to Know in 2024.pdf
The Ultimate Guide to Mom IPTV- Everything You Need to Know in 2024.pdf
 
NO1 Pandit Amil Baba In Uk Usa Uae London Canada England America Italy German...
NO1 Pandit Amil Baba In Uk Usa Uae London Canada England America Italy German...NO1 Pandit Amil Baba In Uk Usa Uae London Canada England America Italy German...
NO1 Pandit Amil Baba In Uk Usa Uae London Canada England America Italy German...
 
"My Silence, My Grave: The Making Of" Booklet
"My Silence, My Grave: The Making Of" Booklet"My Silence, My Grave: The Making Of" Booklet
"My Silence, My Grave: The Making Of" Booklet
 
一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单
一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单
一比一原版(SDSU毕业证)圣地亚哥州立大学毕业证成绩单
 
Doorstep ꧁❤8901183002❤꧂Lucknow #ℂall #Girls , Lucknow #ℂall #Girls For Shot...
Doorstep ꧁❤8901183002❤꧂Lucknow  #ℂall #Girls , Lucknow  #ℂall #Girls For Shot...Doorstep ꧁❤8901183002❤꧂Lucknow  #ℂall #Girls , Lucknow  #ℂall #Girls For Shot...
Doorstep ꧁❤8901183002❤꧂Lucknow #ℂall #Girls , Lucknow #ℂall #Girls For Shot...
 
一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单
一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单
一比一原版(UAL毕业证)伦敦艺术大学毕业证成绩单
 
一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单
一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单
一比一原版(MSU毕业证)密苏里州立大学毕业证成绩单
 
Come join us for a night of excitement and fun with our exclusive Indian
Come join us for a night of excitement and fun with our exclusive IndianCome join us for a night of excitement and fun with our exclusive Indian
Come join us for a night of excitement and fun with our exclusive Indian
 
Online Lotus ID | India's Top Cricket Betting ID Platform
Online Lotus ID | India's Top Cricket Betting ID PlatformOnline Lotus ID | India's Top Cricket Betting ID Platform
Online Lotus ID | India's Top Cricket Betting ID Platform
 
NO1 Pandit Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot, Sh...
NO1 Pandit Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot, Sh...NO1 Pandit Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot, Sh...
NO1 Pandit Black Magic Specialist Expert In Bahawalpur, Sargodha, Sialkot, Sh...
 
Lite version of elevator game simplified.pptx
Lite version of elevator game simplified.pptxLite version of elevator game simplified.pptx
Lite version of elevator game simplified.pptx
 
Dehradun Girls 9719300533 Heat-lava { Dehradun } Whiz ℂall Serviℂe By Our
Dehradun Girls 9719300533 Heat-lava { Dehradun } Whiz ℂall Serviℂe By OurDehradun Girls 9719300533 Heat-lava { Dehradun } Whiz ℂall Serviℂe By Our
Dehradun Girls 9719300533 Heat-lava { Dehradun } Whiz ℂall Serviℂe By Our
 
一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单
一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单
一比一原版(QMUL毕业证)伦敦玛丽女王大学毕业证成绩单
 
A KING’S HEART THE STORY OF TSAR BORIS III (Drama) (Feature Film Project in D...
A KING’S HEART THE STORY OF TSAR BORIS III (Drama) (Feature Film Project in D...A KING’S HEART THE STORY OF TSAR BORIS III (Drama) (Feature Film Project in D...
A KING’S HEART THE STORY OF TSAR BORIS III (Drama) (Feature Film Project in D...
 
一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单
一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单
一比一原版(OSU毕业证)俄勒冈州立大学毕业证成绩单
 
Top Best IPTV Providers in the UK for 2024.pdf
Top Best IPTV Providers in the UK for 2024.pdfTop Best IPTV Providers in the UK for 2024.pdf
Top Best IPTV Providers in the UK for 2024.pdf
 
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
一比一原版(UCL毕业证)伦敦大学学院毕业证成绩单
 
Q4 WEEK 1 JUDGE THE RELEVANCE AND WORTH OF IDEAS.pptx
Q4 WEEK 1 JUDGE THE RELEVANCE AND WORTH OF IDEAS.pptxQ4 WEEK 1 JUDGE THE RELEVANCE AND WORTH OF IDEAS.pptx
Q4 WEEK 1 JUDGE THE RELEVANCE AND WORTH OF IDEAS.pptx
 

Trabajo Oscar

  • 1. frame persona ; default respira is si and default camina is si and default nombre is vacio . frame personas_famosas is a persona ; default fans is si and default populares is si . frame personas_comunes is a persona ; default fans is no and default populares is no . frame personas_cantantes is a personas_famosas ; default discografias is si and default biografias is si . frame personas_deportistas is a personas_famosas ; default discografias is no and default biografias is si . frame persona_de_una_casa is a personas_comunes ; default colaboradoras is a_veces and default responsable is a_veces . frame personas_trabajadoras is a personas_comunes ; default colaboradoras is si and default responsable is si . frame cantantes_regueton is a personas_cantantes ; default originario is puerto_rico and default tipo is ligera . frame cantantes_salsa is a personas_cantantes ; default originario is cuba and default tipo is rapido . frame futbolista is a personas_deportistas ; default arbitro is si and default n_bolas is 1 . frame billarista is a personas_deportistas ; default arbitro is a_veces and default n_bolas is indefinido .
  • 2. frame ni?o is a persona_de_una_casa ; default inquieto is si and default jugueton is si . frame asdolecente is a persona_de_una_casa ; default inquieto is poco and default jugueton is si . frame secretaria is a personas_trabajadoras ; default atender_al_publico is si and default poseer_conocimiento is poco . frame doctor is a personas_trabajadoras ; default atender_al_publico is si and default poseer_conocimiento is si . frame cantante_raggamuffin is a cantantes_regueton ; default a?o_de_origen is 1960 and default tipo is reggae_jamaiquino . frame cantante_dancehall is a cantantes_regueton ; default a?o_de_origen is 1975 and default tipo is reggae_haitiano . frame cantante_salsa_colombiana is a cantantes_salsa ; default forma is movida and default difusion is reggae_1967 . frame cantante_salsa_puertorique?o is a cantantes_salsa ; default forma is lenta and default difusion is reggae_1960 . frame jugador_fitbol_playa is a futbolista ; default n_tiempos is 3 and default tiempo is 12 . frame jugador_fitbol_sala is a futbolista ; default n_tiempos is 2 and default tiempo is 20 . frame jugador_juego_frances is a billarista ; default origen is francia and default n_bolas is 2 . frame jugador_billar_americano is a billarista ;
  • 3. default origen is america and default n_bolas is 15 . frame estudiante_primaria is a ni?o ; default n_a?os is 5 and default se_ense?a is aptitudes . frame estudiante_preescolar is a ni?o ; default n_a?os is 3 and default se_ense?a is habilidades_cognitivas . frame estudiante_universitario is a asdolecente ; default n_a?os is 5 and default tipo_ropa is libre . frame estudiante_secundaria is a asdolecente ; default n_a?os is 6 and default tipo_ropa is uniforme . frame secretaria_gerencia is a secretaria ; default funcion is agenda_del_dia and default perfil is responsable . frame secretaria_comercial is a secretaria ; default funcion is asesora and default perfil is amable . frame odontologo is a doctor ; default tarea is tratamiento_dientes and default casero is no . frame pediatra is a doctor ; default tarea is bienestar_ni?o and default casero is a_veces . question pregunta1 'La persona a la que se refiere es popular' ? ; choose one of si, no . question pregunta2 'Tiene discografia ese personaje' ? ; choose one of si, no . question pregunta3 'Es responsable' ? ;
  • 4. choose one of a_veces, si . question pregunta4 'Es originario de' ? ; choose one of puerto_rico, cuba . question pregunta5 'El n de bolas que utilizan es' ? ; choose one of 1, indefinido . question pregunta6 'Esa persona es inquieta' ? ; choose one of si, poco . question pregunta7 'Debe poseer conocimiento' ? ; choose one of si, poco . question pregunta8 'El tipo de reggae que canta es' ? ; choose one of reggae_jamaiquino, reggae_haitiano . question pregunta9 'La forma en que canta esa persona es' ? ; choose one of movida, lenta . question pregunta10 'El n de tiempo que juega es' ? ; choose one of 2, 3 . question pregunta11 'El n de bolas que utiliza esa persona en ese juego es' ? ; choose one of 2, 15 . question pregunta12 'Que se le ense?a' ? ; choose one of aptitudes, habilidades_cognitivas . question pregunta13 'El tipo de ropa que utliza es' ? ; choose one of uniforme, libre . question pregunta14 'La funcion que cumple es' ? ; choose one of agenda_del_dia, asesora .
  • 5. question pregunta15 'La tarea que desarrolla es' ? ; choose one of tratamiento_dientes, bienestar_ni?o . rule r1 if the pregunta1 is si and the pregunta2 is si and the pregunta4 is puerto_rico and the pregunta8 is reggae_jamaiquino then the persona`s nombre becomes 'Cantante de raggamufin' . rule r2 if the pregunta1 is si and the pregunta2 is si and the pregunta4 is puerto_rico and the pregunta8 is reggae_haitiano then the persona`s nombre becomes 'Cantante de dancehall' . rule r3 if the pregunta1 is si and the pregunta2 is si and the pregunta4 is cuba and the pregunta9 is movida then the persona`s nombre becomes 'Cantante de salsa colombiana' . rule r4 if the pregunta1 is si and the pregunta2 is si and the pregunta4 is cuba and the pregunta9 is lenta then the persona`s nombre becomes 'Cantante de salsa puertorique?a' . rule r5 if the pregunta1 is si and the pregunta2 is no and the pregunta5 is 1 and the pregunta10 is 2 then the persona`s nombre becomes 'Jugador de futbol sala' . rule r6 if the pregunta1 is si and the pregunta2 is no and the pregunta5 is 1 and the pregunta10 is 3
  • 6. then the persona`s nombre becomes 'Jugador de futbol playa' . rule r7 if the pregunta1 is si and the pregunta2 is no and the pregunta5 is indefinido and the pregunta11 is 2 then the persona`s nombre becomes 'Jugador de juego frances' . rule r8 if the pregunta1 is si and the pregunta2 is no and the pregunta5 is indefinido and the pregunta11 is 15 then the persona`s nombre becomes 'Jugador de billar americano' . rule r9 if the pregunta1 is no and the pregunta3 is a_veces and the pregunta6 is si and the pregunta12 is aptitudes then the persona`s nombre becomes 'Estudiante de primaria' . rule r10 if the pregunta1 is no and the pregunta3 is a_veces and the pregunta6 is si and the pregunta12 is habilidades_cognitivas then the persona`s nombre becomes 'Estudiante de preescolar' . rule r11 if the pregunta1 is no and the pregunta3 is a_veces and the pregunta6 is poco and the pregunta13 is uniforme then the persona`s nombre becomes 'Estudiante de secundaria' . rule r12 if the pregunta1 is no and the pregunta3 is a_veces and the pregunta6 is poco and the pregunta13 is libre then the persona`s nombre becomes 'Estudiante universitario' . rule r13
  • 7. if the pregunta1 is no and the pregunta3 is si and the pregunta7 is poco and the pregunta14 is agenda_del_dia then the persona`s nombre becomes 'Secretaria de gerencia' . rule r14 if the pregunta1 is no and the pregunta3 is si and the pregunta7 is poco and the pregunta14 is asesora then the persona`s nombre becomes 'Secretaria comercial' . rule r15 if the pregunta1 is no and the pregunta3 is si and the pregunta7 is si and the pregunta15 is tratamiento_dientes then the persona`s nombre becomes 'Odontologo' . rule r16 if the pregunta1 is no and the pregunta3 is si and the pregunta7 is si and the pregunta15 is bienestar_ni?o then the persona`s nombre becomes 'Pediatra' . group general r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16 . ruleset motor contains general ; update ruleset by removing each selected rule . action anda ; do restart and invoke ruleset motor and echo ('La persona que buscaba es', persona`s nombre) and nl .