Simple Question (Direct)
Simple Question
Q15281560
P172
Q2472587
USER
Which people does Nikos Sideris have as ethnic origin ?
(Q15281560,P172,c(Q2472587))
action filter_type
action find
entity Q15281560
relation P172
type Q2472587
['Q15281560', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?e WHERE { resource:Q15281560 property:P172 ?e . ?e rdf:type ontology:Q2472587 }
Nikos Sideris
action filter_type
action find
entity Nikos Sideris
relation ethnic group
type people
['Nikos Sideris', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?e WHERE { resource:Nikos_Sideris property:ethnic_group ?e . ?e rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q15281560,P172,c(Q2472587))
action filter_type
action find
entity Q15281560
relation P172
type Q2472587
Nikos Sideris has as ethnic origin as [ANSWER]
['Q15281560', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?e WHERE { resource:Q15281560 property:P172 ?e . ?e rdf:type ontology:Q2472587 }
Greeks
Nikos Sideris has as ethnic origin as Greeks
Greeks
action filter_type
action find
entity Nikos Sideris
relation ethnic group
type people
['Nikos Sideris', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?e WHERE { resource:Nikos_Sideris property:ethnic_group ?e . ?e rdf:type ontology:people }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15999276 Q15281560
P27
Q15617994
USER
Which administrative territories are the native countriesof Nikos Sideris or Bretton Byrd ?
OR((Q15281560,P27,c(Q15617994)), (Q15999276,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15281560
relation P27
action find
entity Q15999276
relation P27
type Q15617994
{'OR': [['Q15281560', 'P27', {'concept': 'Q15617994'}], ['Q15999276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q15281560 property:P27 ?x } UNION { resource:Q15999276 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Bretton Byrd Nikos Sideris
action filter_type
action union
action find
entity Nikos Sideris
relation country of citizenship
action find
entity Bretton Byrd
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nikos Sideris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bretton Byrd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Nikos_Sideris property:country_of_citizenship ?x } UNION { resource:Bretton_Byrd property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41 Q145
SYSTEM
Greece, United Kingdom
Q41 Q145
OR((Q15281560,P27,c(Q15617994)), (Q15999276,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q15281560
relation P27
action find
entity Q15999276
relation P27
type Q15617994
[ANSWERS] are the native countriesof Nikos Sideris or Bretton Byrd
{'OR': [['Q15281560', 'P27', {'concept': 'Q15617994'}], ['Q15999276', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q15281560 property:P27 ?x } UNION { resource:Q15999276 property:P27 ?x } } . ?x rdf:type ontology:Q15617994 }
Greece United Kingdom
Greece and United Kingdom are the native countriesof Nikos Sideris or Bretton Byrd
Greece United Kingdom
action filter_type
action union
action find
entity Nikos Sideris
relation country of citizenship
action find
entity Bretton Byrd
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nikos Sideris', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Bretton Byrd', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Nikos_Sideris property:country_of_citizenship ?x } UNION { resource:Bretton_Byrd property:country_of_citizenship ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q15999276
P86
Q838948
USER
How many works of art were composed by Bretton Byrd ?
(c(Q838948),P86,Q15999276)
action count
action filter_type
action find_reverse
entity Q15999276
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q15999276']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P86 resource:Q15999276 . ?g rdf:type ontology:Q838948 }
Bretton Byrd
action count
action filter_type
action find_reverse
entity Bretton Byrd
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Bretton Byrd']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:composer resource:Bretton_Byrd . ?g rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
28
Q7231138 Q6316694 Q7751268 Q7762047 Q7859370 Q4656217 Q7720114 Q4385939 Q7761506 Q3264270 Q7737335 Q12126414 Q17017420 Q3373447 Q5160102 Q7677757 Q7993339 Q4969316 Q5454112 Q7549542 Q7774597 Q16992265 Q5689449 Q4660661 Q5037760 Q6115984 Q12124847 Q4656962
(c(Q838948),P86,Q15999276)
action count
action filter_type
action find_reverse
entity Q15999276
relation P86
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P86', 'Q15999276']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:P86 resource:Q15999276 . ?g rdf:type ontology:Q838948 }
Port of Escape Just like a Woman The Midas Touch The Saint's Vacation Two for Danger A Cup of Kindness The Briggs Family Friday the Thirteenth The Root of All Evil Love on Wheels The Goose Steps Out My Sister and I Road House Police Dog Confidential Lady Take My Tip Where There's a Will Britannia of Billingsgate First a Girl So This Is London The White Unicorn Follow Your Star Head over Heels A Window in London Caravan Jack of All Trades Hoots Mon! A Gentleman's Gentleman
28
action count
action filter_type
action find_reverse
entity Bretton Byrd
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Bretton Byrd']
SELECT DISTINCT ( COUNT ( ?g ) AS ?a ) WHERE { ?g property:composer resource:Bretton_Byrd . ?g rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41
P1532
Q502895
USER
Which people represent Greece ?
(c(Q502895),P1532,Q41)
action filter_type
action find_reverse
entity Q41
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q41']
SELECT DISTINCT ?u WHERE { ?u property:P1532 resource:Q41 . ?u rdf:type ontology:Q502895 }
Greece
action filter_type
action find_reverse
entity Greece
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Greece']
SELECT DISTINCT ?u WHERE { ?u property:country_for_sport resource:Greece . ?u rdf:type ontology:common_name }
[]
common name
Q21705959 Q22084160 Q21705961
SYSTEM
Marina Vasarmidou, Panayotis Papoulias, Maria Tsoni
Q20354635 Q25909395 Q20311775 Q26397318 Q25915596 Q24809901 Q25909443 Q23714545 Q21705959 Q22084160 Q21705961 Q22236482
(c(Q502895),P1532,Q41)
action filter_type
action find_reverse
entity Q41
relation P1532
type Q502895
The [ANSWERS] represent Greece
[{'concept': 'Q502895'}, 'P1532', 'Q41']
SELECT DISTINCT ?u WHERE { ?u property:P1532 resource:Q41 . ?u rdf:type ontology:Q502895 }
Giorgos Moschous Irini Vasiliou Anastasios Markouizos Miltiadis Tentoglou Mihail Anastasakis Elisavet Pesiridou Dimitrios Patsoukakis Emmanouil Karalís Marina Vasarmidou Panayotis Papoulias Maria Tsoni Stelios Bisbas
The Marina Vasarmidou, Panayotis Papoulias and Maria Tsoni represent Greece
Marina Vasarmidou Panayotis Papoulias Maria Tsoni
action filter_type
action find_reverse
entity Greece
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Greece']
SELECT DISTINCT ?u WHERE { ?u property:country_for_sport resource:Greece . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21705959 Q22084160 Q21705961
P21
Q290
USER
Which sexes do Marina Vasarmidou, Panayotis Papoulias and Maria Tsoni have ?
(Q21705959,P21,c(Q290)) (Q22084160,P21,c(Q290)) (Q21705961,P21,c(Q290))
action union
action filter_type
action find
entity Q21705959
relation P21
type Q290
action filter_type
action find
entity Q22084160
relation P21
type Q290
action filter_type
action find
entity Q21705961
relation P21
type Q290
['Q21705959', 'P21', {'concept': 'Q290'}] ['Q22084160', 'P21', {'concept': 'Q290'}] ['Q21705961', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:Q290 . resource:Q21705959 property:P21 ?f } UNION { resource:Q22084160 property:P21 ?f . ?f rdf:type ontology:Q290 } }
Marina Vasarmidou Panayotis Papoulias Maria Tsoni
action union
action filter_type
action find
entity Marina Vasarmidou
relation gender
type sex
action filter_type
action find
entity Panayotis Papoulias
relation gender
type sex
action filter_type
action find
entity Maria Tsoni
relation gender
type sex
['Marina Vasarmidou', 'gender', {'concept': 'sex'}] ['Panayotis Papoulias', 'gender', {'concept': 'sex'}] ['Maria Tsoni', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:sex . resource:Marina_Vasarmidou property:gender ?f } UNION { resource:Panayotis_Papoulias property:gender ?f . ?f rdf:type ontology:sex } }
[]
sex
Q6581072 Q6581097 Q6581072
SYSTEM
male for 2nd, female for 1st, 3rd
Q6581072 Q6581097 Q6581072
(Q21705959,P21,c(Q290)) (Q22084160,P21,c(Q290)) (Q21705961,P21,c(Q290))
action union
action filter_type
action find
entity Q21705959
relation P21
type Q290
action filter_type
action find
entity Q22084160
relation P21
type Q290
action filter_type
action find
entity Q21705961
relation P21
type Q290
[ANSWERS]
['Q21705959', 'P21', {'concept': 'Q290'}] ['Q22084160', 'P21', {'concept': 'Q290'}] ['Q21705961', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:Q290 . resource:Q21705959 property:P21 ?f } UNION { resource:Q22084160 property:P21 ?f . ?f rdf:type ontology:Q290 } }
female male female
Marina Vasarmidou , Panayotis Papoulias and Maria Tsoni have been female, male and female
female male female
action union
action filter_type
action find
entity Marina Vasarmidou
relation gender
type sex
action filter_type
action find
entity Panayotis Papoulias
relation gender
type sex
action filter_type
action find
entity Maria Tsoni
relation gender
type sex
['Marina Vasarmidou', 'gender', {'concept': 'sex'}] ['Panayotis Papoulias', 'gender', {'concept': 'sex'}] ['Maria Tsoni', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { { ?f rdf:type ontology:sex . resource:Marina_Vasarmidou property:gender ?f } UNION { resource:Panayotis_Papoulias property:gender ?f . ?f rdf:type ontology:sex } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q21705959
P101
Q31629
USER
What is the field of work of that person ?
(Q21705959,P101,c(Q31629))
action filter_type
action find
entity Q21705959
relation P101
type Q31629
['Q21705959', 'P101', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { resource:Q21705959 property:P101 ?x . ?x rdf:type ontology:Q31629 }
Marina Vasarmidou
action filter_type
action find
entity Marina Vasarmidou
relation field of work
type type of sport
['Marina Vasarmidou', 'field of work', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { resource:Marina_Vasarmidou property:field_of_work ?x . ?x rdf:type ontology:type_of_sport }
[]
type of sport
Clarification for simple ques.
Q21705959
SYSTEM
Did you mean Marina Vasarmidou ?
Q6581072 Q6581097 Q6581072
(Q6581072,P101,c(Q31629)) (Q6581097,P101,c(Q31629)) (Q6581072,P101,c(Q31629))
[ANSWER]
['Q6581072', 'P101', {'concept': 'Q31629'}] ['Q6581097', 'P101', {'concept': 'Q31629'}] ['Q6581072', 'P101', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { resource:Q21705959 property:P101 ?x . ?x rdf:type ontology:Q31629 }
female male female
Did you mean Marina Vasarmidou ?
Marina Vasarmidou
['female', 'field of work', {'concept': 'type of sport'}] ['male', 'field of work', {'concept': 'type of sport'}] ['female', 'field of work', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { resource:Marina_Vasarmidou property:field_of_work ?x . ?x rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
USER
Yes
(Q21705959,P101,c(Q31629))
['Q21705959', 'P101', {'concept': 'Q31629'}]
['Marina Vasarmidou', 'field of work', {'concept': 'type of sport'}]
[]
Q211155
SYSTEM
200 metres
Q211155
(Q21705959,P101,c(Q31629))
action filter_type
action find
entity Q21705959
relation P101
type Q31629
The field of work of that person is at [ANSWER]
['Q21705959', 'P101', {'concept': 'Q31629'}]
SELECT DISTINCT ?x WHERE { resource:Q21705959 property:P101 ?x . ?x rdf:type ontology:Q31629 }
200 metres
The field of work of that person is at 200 metres
200 metres
action filter_type
action find
entity Marina Vasarmidou
relation field of work
type type of sport
['Marina Vasarmidou', 'field of work', {'concept': 'type of sport'}]
SELECT DISTINCT ?x WHERE { resource:Marina_Vasarmidou property:field_of_work ?x . ?x rdf:type ontology:type_of_sport }
[]