Upload
didier-lopez
View
396
Download
0
Embed Size (px)
Citation preview
frame persona ;default vida is siand default quien_es is 'desconocida' .
frame deportista is a persona ;default disciplina is deporteand default contextura is atletica .
frame cientifico is a persona ;default disciplina is cienciaand default intelectualidad is alta .
frame cantante is a persona ;default disciplina is musicaand default personalidad is multifacetica .
frame futbolista is a deportista ;default tipo_deporte is futboland default objetivo is gol .
frame basketbolista is a deportista ;default tipo_deporte is basketboland default objetivo is encesta .
frame beisbolista is a deportista ;default tipo_deporte is beisboland default objetivo is carrera .
frame antropologo is a cientifico ;default objetivo_estudio is hombreand default tipo_ciencia is social .
frame astronomo is a cientifico ;default objetivo_estudio is 'cuerpos celestes'and default origen is grecia .
frame quimico is a cientifico ;default objetivo_estudio is materiaand default tiempo_surge is 'siglo XVII' .
frame reggaetonero is a cantante ;default genero is reggaetonand default fecha_origen is 'los 90' .
frame salsero is a cantante ;
default genero is salsaand default fecha_origen is 'los 70' .
frame rockero is a cantante ;default genero is rockand default fecha_origen is 'los 50' .
frame ronaldinho is a futbolista ;default nacionalidad1 is brasiland default estatura is '180 cm' .
frame lionel_messi is a futbolista ;default nacionalidad1 is argentinoand default estatura is '169 cm' .
frame kobe_bryant is a basketbolista ;default nacimiento1 is '23 de agosto 1978'and default estatura is '198 cm' .
frame lebron_james is a basketbolista ;default nacimiento1 is '30 de diciembre 1984'and default estatura is '203 cm' .
frame alex_rodriguez is a beisbolista ;default homerun is '537 homerun'and default promedio_bateo is '.306' .
frame manny_ramirez is a beisbolista ;default homerun is '527 homerun'and default promedio_bateo is '.308' .
frame clifford_james_geertz is a antropologo ;default nacionalidad2 is estadounidenseand default estudios is 'universidad de princeton' .
frame edward_burnett_tylor is a antropologo ;default nacionalidad2 is inglesand default estudios is 'universidad de oxford' .
frame galileo_galilei is a astronomo ;default nacimiento2 is '15 de febrero 1564'and default nacionalidad3 is italiana .
frame nicolas_copernico is a astronomo ;default nacimiento2 is '19 de febrero 1473'
and default nacionalidad3 is polaca .
frame louis_pasteur is a quimico ;default aportes is 'pasteurizacion'and default nacionalidad4 is frances .
frame manuel_elkin_patarroyo is a quimico ;default aportes is 'vacuna de la malaria'and default nacionalidad4 is colombiano .
frame daddy_yankee is a reggaetonero ;default ciudad_nacimiento is 'san juan (puertorico)'and default cancion_representativa is 'llamado de emergencia' .
frame don_omar is a reggaetonero ;default ciudad_nacimiento is 'carolina (puertorico)'and default cancion_representativa is 'diva virtual' .
frame marc_anthony is a salsero ;default edad is '41 a?os'and default esposa is 'jennifer lopez' .
frame victor_manuelle is a salsero ;default edad is '40 a?os'and default premios is 'joven salsero del a?o' .
frame michael_jackson is a rockero ;default album_exitoso is 'thrillers'and default edad is '50 a?os' .
frame marilyn_manson is a rockero ;default album_exitoso is 'smells like children'and default edad is '40 a?os' .
question q_vida'?tiene vida?' ;choose one of si, no .
question q_disciplina'?disciplina que practica?' ;choose one of deporte, ciencia, musica .
question q_deporte'?que deporte practica?' ;choose one of futbol, basketbol, beisbol .
question q_estudio'?cual es su objetivo de estudio?' ;choose one of hombre, 'cuerpos celestes', materia .
question q_genero'?que genero de la musica canta?' ;choose one of reggaeton, salsa, rock .
question q_nacionalidad1'?cual es su nacionalidad?' ;choose one of brasil, argentina .
question q_nacimiento1'?cual es su fecha de nacimiento?' ;choose one of '23 de agosto 1978', '30 de diciembre 1984' .
question q_homerun'?cuantos homerun ha bateado?' ;choose one of '537 homerun', '527 homerun' .
question q_nacionalidad2'?cual es su nacionalidad?' ;choose one of estadounidense, ingles .
question q_nacimiento2'?cual es su fecha de nacimiento?' ;choose one of '15 de febrero 1564', '19 de febrero 1473' .
question q_aportes'?cual es su principal aporte a la sociedad?' ;choose one of 'pasteurizacion', 'vacuna de la malaria' .
question q_cancion'?cual es su cancion mas representativa?' ;choose one of 'llamado de emergencia', 'diva virtual' .
question q_album'?cual es su album mas exitoso?' ;choose one of 'thrillers', 'smells like children' .
question q_edad'?cual es su edad?' ;choose one of '41 a?os', '40 a?os' .
rule r1if the q_vida is siand the q_disciplina is deporteand the q_deporte is futboland the q_nacionalidad1 is brasilthen the persona`s quien_es becomes ronaldinho .
rule r2if the q_vida is siand the q_disciplina is deporteand the q_deporte is futboland the q_nacionalidad1 is argentinathen the persona`s quien_es becomes lionel_messi .
rule r3if the q_vida is siand the q_disciplina is deporteand the q_deporte is basketboland the q_nacimiento1 is '23 de agosto 1978'then the persona`s quien_es becomes kobe_bryant .
rule r4if the q_vida is siand the q_disciplina is deporteand the q_deporte is basketboland the q_nacimiento1 is '30 de diciembre 1984'then the persona`s quien_es becomes lebron_james .
rule r5if the q_vida is siand the q_disciplina is deporteand the q_deporte is beisboland the q_homerun is '537 homerun'then the persona`s quien_es becomes alex_rodriguez .
rule r6if the q_vida is siand the q_disciplina is deporteand the q_deporte is beisboland the q_homerun is '527 homerun'then the persona`s quien_es becomes manny_ramirez .
rule r7if the q_vida is siand the q_disciplina is ciencia
and the q_estudio is hombreand the q_nacionalidad2 is estadounidensethen the persona`s quien_es becomes clifford_james_geertz .
rule r8if the q_vida is siand the q_disciplina is cienciaand the q_estudio is hombreand the q_nacionalidad2 is inglesthen the persona`s quien_es becomes edward_burnett_tylor .
rule r9if the q_vida is siand the q_disciplina is cienciaand the q_estudio is 'cuerpos celestes'and the q_nacimiento2 is '15 de febrero 1564'then the persona`s quien_es becomes galileo_galilei .
rule r10if the q_vida is siand the q_disciplina is cienciaand the q_estudio is 'cuerpos celestes'and the q_nacimiento2 is '19 de febrero 1473'then the persona`s quien_es becomes nicolas_copernico .
rule r11if the q_vida is siand the q_disciplina is cienciaand the q_estudio is materiaand the q_aportes is 'pasteurizacion'then the persona`s quien_es becomes louis_pasteur .
rule r12if the q_vida is siand the q_disciplina is cienciaand the q_estudio is materiaand the q_aportes is 'vacuna de la malaria'then the persona`s quien_es becomes manuel_elkin_patarroyo .
rule r13if the q_vida is siand the q_disciplina is musicaand the q_genero is reggaetonand the q_cancion is 'llamado de emergencia'then the persona`s quien_es becomes daddy_yankee .
rule r14if the q_vida is siand the q_disciplina is musicaand the q_genero is reggaetonand the q_cancion is 'diva virtual'then the persona`s quien_es becomes don_omar .
rule r15if the q_vida is siand the q_disciplina is musicaand the q_genero is salsaand the q_edad is '41 a?os'then the persona`s quien_es becomes marc_anthony .
rule r16if the q_vida is siand the q_disciplina is musicaand the q_genero is salsaand the q_edad is '40 a?os'then the persona`s quien_es becomes victor_manuelle .
rule r17if the q_vida is siand the q_disciplina is musicaand the q_genero is rockand the q_album is 'thrillers'then the persona`s quien_es becomes michael_jackson .
rule r18if the q_vida is siand the q_disciplina is musicaand the q_genero is rockand the q_album is 'smells like children'then the persona`s quien_es becomes marilyn_manson .
group g1r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18 .
ruleset ru1contains g1 ;update ruleset by removing each selected rule .
action terminar ;do restart