Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Didier Nay Jimeno Persona

409 views

Published on

Didier Nay Jimeno López
LIMAV VIII SEMESTRE

Published in: Education, Technology
  • Be the first to comment

  • Be the first to like this

Didier Nay Jimeno Persona

  1. 1. frame persona ; default vida is si and default quien_es is 'desconocida' . frame deportista is a persona ; default disciplina is deporte and default contextura is atletica . frame cientifico is a persona ; default disciplina is ciencia and default intelectualidad is alta . frame cantante is a persona ; default disciplina is musica and default personalidad is multifacetica . frame futbolista is a deportista ; default tipo_deporte is futbol and default objetivo is gol . frame basketbolista is a deportista ; default tipo_deporte is basketbol and default objetivo is encesta . frame beisbolista is a deportista ; default tipo_deporte is beisbol and default objetivo is carrera . frame antropologo is a cientifico ; default objetivo_estudio is hombre and 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 materia and default tiempo_surge is 'siglo XVII' . frame reggaetonero is a cantante ; default genero is reggaeton and default fecha_origen is 'los 90' . frame salsero is a cantante ;
  2. 2. default genero is salsa and default fecha_origen is 'los 70' . frame rockero is a cantante ; default genero is rock and default fecha_origen is 'los 50' . frame ronaldinho is a futbolista ; default nacionalidad1 is brasil and default estatura is '180 cm' . frame lionel_messi is a futbolista ; default nacionalidad1 is argentino and 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 estadounidense and default estudios is 'universidad de princeton' . frame edward_burnett_tylor is a antropologo ; default nacionalidad2 is ingles and 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'
  3. 3. 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 .
  4. 4. 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' .
  5. 5. rule r1 if the q_vida is si and the q_disciplina is deporte and the q_deporte is futbol and the q_nacionalidad1 is brasil then the persona`s quien_es becomes ronaldinho . rule r2 if the q_vida is si and the q_disciplina is deporte and the q_deporte is futbol and the q_nacionalidad1 is argentina then the persona`s quien_es becomes lionel_messi . rule r3 if the q_vida is si and the q_disciplina is deporte and the q_deporte is basketbol and the q_nacimiento1 is '23 de agosto 1978' then the persona`s quien_es becomes kobe_bryant . rule r4 if the q_vida is si and the q_disciplina is deporte and the q_deporte is basketbol and the q_nacimiento1 is '30 de diciembre 1984' then the persona`s quien_es becomes lebron_james . rule r5 if the q_vida is si and the q_disciplina is deporte and the q_deporte is beisbol and the q_homerun is '537 homerun' then the persona`s quien_es becomes alex_rodriguez . rule r6 if the q_vida is si and the q_disciplina is deporte and the q_deporte is beisbol and the q_homerun is '527 homerun' then the persona`s quien_es becomes manny_ramirez . rule r7 if the q_vida is si and the q_disciplina is ciencia
  6. 6. and the q_estudio is hombre and the q_nacionalidad2 is estadounidense then the persona`s quien_es becomes clifford_james_geertz . rule r8 if the q_vida is si and the q_disciplina is ciencia and the q_estudio is hombre and the q_nacionalidad2 is ingles then the persona`s quien_es becomes edward_burnett_tylor . rule r9 if the q_vida is si and the q_disciplina is ciencia and 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 r10 if the q_vida is si and the q_disciplina is ciencia and 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 r11 if the q_vida is si and the q_disciplina is ciencia and the q_estudio is materia and the q_aportes is 'pasteurizacion' then the persona`s quien_es becomes louis_pasteur . rule r12 if the q_vida is si and the q_disciplina is ciencia and the q_estudio is materia and the q_aportes is 'vacuna de la malaria' then the persona`s quien_es becomes manuel_elkin_patarroyo . rule r13 if the q_vida is si and the q_disciplina is musica and the q_genero is reggaeton and the q_cancion is 'llamado de emergencia' then the persona`s quien_es becomes daddy_yankee .
  7. 7. rule r14 if the q_vida is si and the q_disciplina is musica and the q_genero is reggaeton and the q_cancion is 'diva virtual' then the persona`s quien_es becomes don_omar . rule r15 if the q_vida is si and the q_disciplina is musica and the q_genero is salsa and the q_edad is '41 a?os' then the persona`s quien_es becomes marc_anthony . rule r16 if the q_vida is si and the q_disciplina is musica and the q_genero is salsa and the q_edad is '40 a?os' then the persona`s quien_es becomes victor_manuelle . rule r17 if the q_vida is si and the q_disciplina is musica and the q_genero is rock and the q_album is 'thrillers' then the persona`s quien_es becomes michael_jackson . rule r18 if the q_vida is si and the q_disciplina is musica and the q_genero is rock and the q_album is 'smells like children' then the persona`s quien_es becomes marilyn_manson . group g1 r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18 . ruleset ru1 contains g1 ; update ruleset by removing each selected rule . action terminar ; do restart
  8. 8. and invoke ruleset ru1 and echo ('la persona que buscas es:', persona`s quien_es) and nl .

×