Simple Question (Direct)
Simple Question
Q89800
P1066
Q502895
USER
Which person was the supervisor of Henry Schradieck ?
(Q89800,P1066,c(Q502895))
action filter_type
action find
entity Q89800
relation P1066
type Q502895
['Q89800', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q89800 property:P1066 ?m }
Henry Schradieck
action filter_type
action find
entity Henry Schradieck
relation student of
type common name
['Henry Schradieck', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Henry_Schradieck property:student_of ?m }
[]
common name
Q1192120
SYSTEM
Hubert Léonard
Q1192120
(Q89800,P1066,c(Q502895))
action filter_type
action find
entity Q89800
relation P1066
type Q502895
[ANSWER] was the supervisor of Henry Schradieck
['Q89800', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q89800 property:P1066 ?m }
Hubert Léonard
Hubert Léonard was the supervisor of Henry Schradieck
Hubert Léonard
action filter_type
action find
entity Henry Schradieck
relation student of
type common name
['Henry Schradieck', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Henry_Schradieck property:student_of ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1192120
P26
Q502895
USER
Who is married to that one ?
(c(Q502895),P26,Q1192120)
action filter_type
action find
entity Q1192120
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1192120']
SELECT DISTINCT ?v WHERE { resource:Q1192120 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Hubert Léonard
action filter_type
action find
entity Hubert Léonard
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hubert Léonard']
SELECT DISTINCT ?v WHERE { resource:Hubert_Léonard property:spouse ?v . ?v rdf:type ontology:common_name }
[]
common name
Q11906026
SYSTEM
Antonia Sitcher de Mendi
Q11906026
(c(Q502895),P26,Q1192120)
action filter_type
action find
entity Q1192120
relation P26
type Q502895
[ANSWER] is married to that one
[{'concept': 'Q502895'}, 'P26', 'Q1192120']
SELECT DISTINCT ?v WHERE { resource:Q1192120 property:P26 ?v . ?v rdf:type ontology:Q502895 }
Antonia Sitcher de Mendi
Antonia Sitcher de Mendi is married to that one
Antonia Sitcher de Mendi
action filter_type
action find
entity Hubert Léonard
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Hubert Léonard']
SELECT DISTINCT ?v WHERE { resource:Hubert_Léonard property:spouse ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1192120 Q1043
P26
Q502895
USER
How many people are married to Hubert Léonard or Carl Linnaeus ?
(Q1192120,P26,c(Q502895)) (Q1043,P26,c(Q502895))
action count
action union
action filter_type
action find
entity Q1192120
relation P26
type Q502895
action filter_type
action find
entity Q1043
relation P26
type Q502895
['Q1192120', 'P26', {'concept': 'Q502895'}] ['Q1043', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Q1043 property:P26 ?m . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . resource:Q1192120 property:P26 ?m } }
Hubert Léonard Carl Linnaeus
action count
action union
action filter_type
action find
entity Hubert Léonard
relation spouse
type common name
action filter_type
action find
entity Carl Linnaeus
relation spouse
type common name
['Hubert Léonard', 'spouse', {'concept': 'common name'}] ['Carl Linnaeus', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Carl_Linnaeus property:spouse ?m . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . resource:Hubert_Léonard property:spouse ?m } }
[]
common name
SYSTEM
2
Q3473264 Q11906026
(Q1192120,P26,c(Q502895)) (Q1043,P26,c(Q502895))
action count
action union
action filter_type
action find
entity Q1192120
relation P26
type Q502895
action filter_type
action find
entity Q1043
relation P26
type Q502895
[ANSWER]
['Q1192120', 'P26', {'concept': 'Q502895'}] ['Q1043', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Q1043 property:P26 ?m . ?m rdf:type ontology:Q502895 } UNION { ?m rdf:type ontology:Q502895 . resource:Q1192120 property:P26 ?m } }
Sara Elisabeth Moraea Antonia Sitcher de Mendi
2
action count
action union
action filter_type
action find
entity Hubert Léonard
relation spouse
type common name
action filter_type
action find
entity Carl Linnaeus
relation spouse
type common name
['Hubert Léonard', 'spouse', {'concept': 'common name'}] ['Carl Linnaeus', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Carl_Linnaeus property:spouse ?m . ?m rdf:type ontology:common_name } UNION { ?m rdf:type ontology:common_name . resource:Hubert_Léonard property:spouse ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q11906026 Q80504
P26
Q502895
USER
How many people are the spouses of Antonia Sitcher de Mendi or Nicolae Ceaușescu ?
(Q11906026,P26,c(Q502895)) (Q80504,P26,c(Q502895))
action count
action union
action filter_type
action find
entity Q11906026
relation P26
type Q502895
action filter_type
action find
entity Q80504
relation P26
type Q502895
['Q11906026', 'P26', {'concept': 'Q502895'}] ['Q80504', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Q11906026 ) ( resource:Q80504 ) } . ?b property:P26 ?n }
Antonia Sitcher de Mendi Nicolae Ceaușescu
action count
action union
action filter_type
action find
entity Antonia Sitcher de Mendi
relation spouse
type common name
action filter_type
action find
entity Nicolae Ceaușescu
relation spouse
type common name
['Antonia Sitcher de Mendi', 'spouse', {'concept': 'common name'}] ['Nicolae Ceaușescu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Antonia_Sitcher_de_Mendi ) ( resource:Nicolae_Ceaușescu ) } . ?b property:spouse ?n }
[]
common name
SYSTEM
2
Q1192120 Q229162
(Q11906026,P26,c(Q502895)) (Q80504,P26,c(Q502895))
action count
action union
action filter_type
action find
entity Q11906026
relation P26
type Q502895
action filter_type
action find
entity Q80504
relation P26
type Q502895
[ANSWER]
['Q11906026', 'P26', {'concept': 'Q502895'}] ['Q80504', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Q11906026 ) ( resource:Q80504 ) } . ?b property:P26 ?n }
Hubert Léonard Elena Ceaușescu
2
action count
action union
action filter_type
action find
entity Antonia Sitcher de Mendi
relation spouse
type common name
action filter_type
action find
entity Nicolae Ceaușescu
relation spouse
type common name
['Antonia Sitcher de Mendi', 'spouse', {'concept': 'common name'}] ['Nicolae Ceaușescu', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Antonia_Sitcher_de_Mendi ) ( resource:Nicolae_Ceaușescu ) } . ?b property:spouse ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11906026
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
action filter_type
action find
entity Q11906026
relation P19
type Q56061
SELECT DISTINCT ?k WHERE { resource:Q11906026 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Antonia Sitcher de Mendi
action filter_type
action find
entity Antonia Sitcher de Mendi
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Antonia_Sitcher_de_Mendi property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q181359
SYSTEM
Talavera de la Reina
Q181359
action filter_type
action find
entity Q11906026
relation P19
type Q56061
[ANSWER] is the birthplace of that person
SELECT DISTINCT ?k WHERE { resource:Q11906026 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Talavera de la Reina
Talavera de la Reina is the birthplace of that person
Talavera de la Reina
action filter_type
action find
entity Antonia Sitcher de Mendi
relation place of birth
type administrative territorial entity
SELECT DISTINCT ?k WHERE { resource:Antonia_Sitcher_de_Mendi property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q181359
P276
Q1190554 Q132241
USER
How many events and festivals are located at Talavera de la Reina ?
(c(Q1190554),P276,Q181359) (c(Q132241),P276,Q181359)
action count
action union
action filter_type
action find_reverse
entity Q181359
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q181359
relation P276
type Q132241
[{'concept': 'Q1190554'}, 'P276', 'Q181359'] [{'concept': 'Q132241'}, 'P276', 'Q181359']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1190554 ) ( ontology:Q132241 ) } }
Talavera de la Reina
action count
action union
action filter_type
action find_reverse
entity Talavera de la Reina
relation location
type event
action filter_type
action find_reverse
entity Talavera de la Reina
relation location
type festival
[{'concept': 'event'}, 'location', 'Talavera de la Reina'] [{'concept': 'festival'}, 'location', 'Talavera de la Reina']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?p . VALUES ( ?p ) { ( ontology:event ) ( ontology:festival ) } }
[]
event festival
SYSTEM
2 events and 1 festivals
Q21980996 Q2032592 Q169023
(c(Q1190554),P276,Q181359) (c(Q132241),P276,Q181359)
action count
action union
action filter_type
action find_reverse
entity Q181359
relation P276
type Q1190554
action filter_type
action find_reverse
entity Q181359
relation P276
type Q132241
[ANSWER]
[{'concept': 'Q1190554'}, 'P276', 'Q181359'] [{'concept': 'Q132241'}, 'P276', 'Q181359']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?p . VALUES ( ?p ) { ( ontology:Q1190554 ) ( ontology:Q132241 ) } }
Las Mondas Battle of Talavera de la Reina Battle of Talavera
2 events and 1 festivals
action count
action union
action filter_type
action find_reverse
entity Talavera de la Reina
relation location
type event
action filter_type
action find_reverse
entity Talavera de la Reina
relation location
type festival
[{'concept': 'event'}, 'location', 'Talavera de la Reina'] [{'concept': 'festival'}, 'location', 'Talavera de la Reina']
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { ?g rdf:type ?p . VALUES ( ?p ) { ( ontology:event ) ( ontology:festival ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3318781 Q80504
P27
Q15617994
USER
Which administrative territories are Nicolae Ceaușescu or Mohamed Salah Ben Aissa a civilian of ?
OR((Q80504,P27,c(Q15617994)), (Q3318781,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q80504
relation P27
action find
entity Q3318781
relation P27
type Q15617994
{'OR': [['Q80504', 'P27', {'concept': 'Q15617994'}], ['Q3318781', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q80504 property:P27 ?a } UNION { resource:Q3318781 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Mohamed Salah Ben Aissa Nicolae Ceaușescu
action filter_type
action union
action find
entity Nicolae Ceaușescu
relation country of citizenship
action find
entity Mohamed Salah Ben Aissa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nicolae Ceaușescu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mohamed Salah Ben Aissa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Nicolae_Ceaușescu property:country_of_citizenship ?a } UNION { resource:Mohamed_Salah_Ben_Aissa property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q948
SYSTEM
Romania, Tunisia
Q218 Q948
OR((Q80504,P27,c(Q15617994)), (Q3318781,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q80504
relation P27
action find
entity Q3318781
relation P27
type Q15617994
[ANSWERS] are Nicolae Ceaușescu or Mohamed Salah Ben Aissa a civilian of
{'OR': [['Q80504', 'P27', {'concept': 'Q15617994'}], ['Q3318781', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q80504 property:P27 ?a } UNION { resource:Q3318781 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Romania Tunisia
Romania and Tunisia are Nicolae Ceaușescu or Mohamed Salah Ben Aissa a civilian of
Romania Tunisia
action filter_type
action union
action find
entity Nicolae Ceaușescu
relation country of citizenship
action find
entity Mohamed Salah Ben Aissa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nicolae Ceaușescu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Mohamed Salah Ben Aissa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Nicolae_Ceaușescu property:country_of_citizenship ?a } UNION { resource:Mohamed_Salah_Ben_Aissa property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3318781
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of Mohamed Salah Ben Aissa ?
(Q3318781,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3318781
relation P27
type Q15617994
['Q3318781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q3318781 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Mohamed Salah Ben Aissa
action count
action filter_type
action find
entity Mohamed Salah Ben Aissa
relation country of citizenship
type designation for an administrative territorial entity
['Mohamed Salah Ben Aissa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Mohamed_Salah_Ben_Aissa property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q948
(Q3318781,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3318781
relation P27
type Q15617994
[ANSWER]
['Q3318781', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q3318781 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Tunisia
1
action count
action filter_type
action find
entity Mohamed Salah Ben Aissa
relation country of citizenship
type designation for an administrative territorial entity
['Mohamed Salah Ben Aissa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Mohamed_Salah_Ben_Aissa property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q948
P551
Q502895
USER
Which people live in Tunisia ?
(c(Q502895),P551,Q948)
action filter_type
action find_reverse
entity Q948
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q948']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q948 . ?n rdf:type ontology:Q502895 }
Tunisia
action filter_type
action find_reverse
entity Tunisia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tunisia']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Tunisia . ?n rdf:type ontology:common_name }
[]
common name
Q18599248 Q204487
SYSTEM
Heidi Deneys, Zine El Abidine Ben Ali
Q18599248 Q204487
(c(Q502895),P551,Q948)
action filter_type
action find_reverse
entity Q948
relation P551
type Q502895
[ANSWERS] live in Tunisia
[{'concept': 'Q502895'}, 'P551', 'Q948']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q948 . ?n rdf:type ontology:Q502895 }
Heidi Deneys Zine El Abidine Ben Ali
Heidi Deneys and Zine El Abidine Ben Ali live in Tunisia
Heidi Deneys Zine El Abidine Ben Ali
action filter_type
action find_reverse
entity Tunisia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Tunisia']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Tunisia . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q18599248
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q18599248,P102,c(Q7210356))
action filter_type
action find
entity Q18599248
relation P102
type Q7210356
['Q18599248', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q18599248 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Heidi Deneys
action filter_type
action find
entity Heidi Deneys
relation member of political party
type political organization
['Heidi Deneys', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Heidi_Deneys property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Clarification for simple ques.
Q18599248
SYSTEM
Did you mean Heidi Deneys ?
Q18599248 Q204487
(Q18599248,P102,c(Q7210356)) (Q204487,P102,c(Q7210356))
[ANSWER]
['Q18599248', 'P102', {'concept': 'Q7210356'}] ['Q204487', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q18599248 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Heidi Deneys Zine El Abidine Ben Ali
Did you mean Heidi Deneys ?
Heidi Deneys
['Heidi Deneys', 'member of political party', {'concept': 'political organization'}] ['Zine El Abidine Ben Ali', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Heidi_Deneys property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q18599248,P102,c(Q7210356))
['Q18599248', 'P102', {'concept': 'Q7210356'}]
['Heidi Deneys', 'member of political party', {'concept': 'political organization'}]
[]
Q303745
SYSTEM
Social Democratic Party of Switzerland
Q303745
(Q18599248,P102,c(Q7210356))
action filter_type
action find
entity Q18599248
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q18599248', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q18599248 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Social Democratic Party of Switzerland
That person is affiliated with Social Democratic Party of Switzerland
Social Democratic Party of Switzerland
action filter_type
action find
entity Heidi Deneys
relation member of political party
type political organization
['Heidi Deneys', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Heidi_Deneys property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]