Simple Question (Direct)
Simple Question
Q540005
P802
Q502895
USER
Who was the teacher of Károly Lotz ?
(Q540005,P802,c(Q502895))
action filter_type
action find
entity Q540005
relation P802
type Q502895
['Q540005', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q540005 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Károly Lotz
action filter_type
action find
entity Károly Lotz
relation student
type common name
['Károly Lotz', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Károly_Lotz property:student ?u . ?u rdf:type ontology:common_name }
[]
common name
Q1399555
SYSTEM
Ignác Ujváry
Q1399555
(Q540005,P802,c(Q502895))
action filter_type
action find
entity Q540005
relation P802
type Q502895
The teacher of Károly Lotz was Károly [ANSWER]
['Q540005', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q540005 property:P802 ?u . ?u rdf:type ontology:Q502895 }
Ignác Ujváry
The teacher of Károly Lotz was Károly Ignác Ujváry
Ignác Ujváry
action filter_type
action find
entity Károly Lotz
relation student
type common name
['Károly Lotz', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Károly_Lotz property:student ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1399555
P1066
Q502895
USER
Who taught that one ?
(Q1399555,P1066,c(Q502895))
action filter_type
action find
entity Q1399555
relation P1066
type Q502895
['Q1399555', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1399555 property:P1066 ?x . ?x rdf:type ontology:Q502895 }
Ignác Ujváry
action filter_type
action find
entity Ignác Ujváry
relation student of
type common name
['Ignác Ujváry', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ignác_Ujváry property:student_of ?x . ?x rdf:type ontology:common_name }
[]
common name
Q540005 Q632046
SYSTEM
Károly Lotz, Gyula Benczúr
Q540005 Q632046
(Q1399555,P1066,c(Q502895))
action filter_type
action find
entity Q1399555
relation P1066
type Q502895
[ANSWERS] taught that one
['Q1399555', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q1399555 property:P1066 ?x . ?x rdf:type ontology:Q502895 }
Károly Lotz Gyula Benczúr
Károly Lotz and Gyula Benczúr taught that one
Károly Lotz Gyula Benczúr
action filter_type
action find
entity Ignác Ujváry
relation student of
type common name
['Ignác Ujváry', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Ignác_Ujváry property:student_of ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1399555
P1066
Q502895
USER
Are Ignác Ujváry a pupil of those ones ?
(Q1399555,P1066,Q540005) (Q1399555,P1066,Q632046)
action is_in
entity prev_answer
action find
entity Q1399555
relation P1066
['Q1399555', 'P1066', 'Q540005'] ['Q1399555', 'P1066', 'Q632046']
ASK WHERE { VALUES ( ?w ) { ( resource:Q540005 ) ( resource:Q632046 ) } . resource:Q1399555 property:P1066 ?w }
Ignác Ujváry
action is_in
entity prev_answer
action find
entity Ignác Ujváry
relation student of
['Ignác Ujváry', 'student of', 'Károly Lotz'] ['Ignác Ujváry', 'student of', 'Gyula Benczúr']
ASK WHERE { VALUES ( ?w ) { ( resource:Károly_Lotz ) ( resource:Gyula_Benczúr ) } . resource:Ignác_Ujváry property:student_of ?w }
[]
common name
SYSTEM
YES
(Q1399555,P1066,Q540005) (Q1399555,P1066,Q632046)
action is_in
entity prev_answer
action find
entity Q1399555
relation P1066
[ANSWER]
['Q1399555', 'P1066', 'Q540005'] ['Q1399555', 'P1066', 'Q632046']
ASK WHERE { VALUES ( ?w ) { ( resource:Q540005 ) ( resource:Q632046 ) } . resource:Q1399555 property:P1066 ?w }
Yes
action is_in
entity prev_answer
action find
entity Ignác Ujváry
relation student of
['Ignác Ujváry', 'student of', 'Károly Lotz'] ['Ignác Ujváry', 'student of', 'Gyula Benczúr']
ASK WHERE { VALUES ( ?w ) { ( resource:Károly_Lotz ) ( resource:Gyula_Benczúr ) } . resource:Ignác_Ujváry property:student_of ?w }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q540005 Q16993574 Q28
P27
Q15617994
USER
Is Károly Lotz a citizen of Fontana Unified School District and Hungary ?
(Q540005,P27,Q16993574) (Q540005,P27,Q28)
action is_in
entity Q540005
action intersection
action find_reverse
entity Q16993574
relation P27
action find_reverse
entity Q28
relation P27
['Q540005', 'P27', 'Q16993574'] ['Q540005', 'P27', 'Q28']
ASK WHERE { resource:Q540005 property:P27 resource:Q16993574 . resource:Q540005 property:P27 resource:Q28 }
Károly Lotz Fontana Unified School District Hungary
action is_in
entity Károly Lotz
action intersection
action find_reverse
entity Fontana Unified School District
relation country of citizenship
action find_reverse
entity Hungary
relation country of citizenship
['Károly Lotz', 'country of citizenship', 'Fontana Unified School District'] ['Károly Lotz', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Károly_Lotz property:country_of_citizenship resource:Fontana_Unified_School_District . resource:Károly_Lotz property:country_of_citizenship resource:Hungary }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q540005,P27,Q16993574) (Q540005,P27,Q28)
action is_in
entity Q540005
action intersection
action find_reverse
entity Q16993574
relation P27
action find_reverse
entity Q28
relation P27
[ANSWER]
['Q540005', 'P27', 'Q16993574'] ['Q540005', 'P27', 'Q28']
ASK WHERE { resource:Q540005 property:P27 resource:Q16993574 . resource:Q540005 property:P27 resource:Q28 }
NO and YES respectively
action is_in
entity Károly Lotz
action intersection
action find_reverse
entity Fontana Unified School District
relation country of citizenship
action find_reverse
entity Hungary
relation country of citizenship
['Károly Lotz', 'country of citizenship', 'Fontana Unified School District'] ['Károly Lotz', 'country of citizenship', 'Hungary']
ASK WHERE { resource:Károly_Lotz property:country_of_citizenship resource:Fontana_Unified_School_District . resource:Károly_Lotz property:country_of_citizenship resource:Hungary }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q540005
P1038
Q502895
USER
Who is a kin of that one ?
action filter_type
action find
entity Q540005
relation P1038
type Q502895
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q540005 property:P1038 ?m }
Károly Lotz
action filter_type
action find
entity Károly Lotz
relation relative
type common name
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Károly_Lotz property:relative ?m }
[]
common name
Q19993509
SYSTEM
Károly Lotz
Q19993509
action filter_type
action find
entity Q540005
relation P1038
type Q502895
A kin of that one is of [ANSWER]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q540005 property:P1038 ?m }
Károly Lotz
A kin of that one is of Károly Lotz
Károly Lotz
action filter_type
action find
entity Károly Lotz
relation relative
type common name
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Károly_Lotz property:relative ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q12737077 Q151885
USER
How many occupations or concepts are the job of that person ?
(Q19993509,P106,c(Q12737077)) (Q19993509,P106,c(Q151885)) (Q19993509,P106,c(Q12737077)) (Q19993509,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q19993509
relation P106
type Q12737077
action filter_type
action find
entity Q19993509
relation P106
type Q151885
['Q19993509', 'P106', {'concept': 'Q12737077'}] ['Q19993509', 'P106', {'concept': 'Q151885'}] ['Q19993509', 'P106', {'concept': 'Q12737077'}] ['Q19993509', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { resource:Q19993509 property:P106 ?s . ?s rdf:type ontology:Q12737077 } UNION { resource:Q19993509 property:P106 ?s . ?s rdf:type ontology:Q151885 } }
action count
action union
action filter_type
action find
entity Károly Lotz
relation occupation
type occupation
action filter_type
action find
entity Károly Lotz
relation occupation
type concept
['Károly Lotz', 'occupation', {'concept': 'occupation'}] ['Károly Lotz', 'occupation', {'concept': 'concept'}] ['Károly Lotz', 'occupation', {'concept': 'occupation'}] ['Károly Lotz', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { resource:Károly_Lotz property:occupation ?s . ?s rdf:type ontology:occupation } UNION { resource:Károly_Lotz property:occupation ?s . ?s rdf:type ontology:concept } }
[]
occupation concept
SYSTEM
4
Q188094 Q13381863 Q82955 Q1622272
(Q19993509,P106,c(Q12737077)) (Q19993509,P106,c(Q151885)) (Q19993509,P106,c(Q12737077)) (Q19993509,P106,c(Q151885))
action count
action union
action filter_type
action find
entity Q19993509
relation P106
type Q12737077
action filter_type
action find
entity Q19993509
relation P106
type Q151885
[ANSWER]
['Q19993509', 'P106', {'concept': 'Q12737077'}] ['Q19993509', 'P106', {'concept': 'Q151885'}] ['Q19993509', 'P106', {'concept': 'Q12737077'}] ['Q19993509', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { resource:Q19993509 property:P106 ?s . ?s rdf:type ontology:Q12737077 } UNION { resource:Q19993509 property:P106 ?s . ?s rdf:type ontology:Q151885 } }
economist fencer politician university teacher
4
action count
action union
action filter_type
action find
entity Károly Lotz
relation occupation
type occupation
action filter_type
action find
entity Károly Lotz
relation occupation
type concept
['Károly Lotz', 'occupation', {'concept': 'occupation'}] ['Károly Lotz', 'occupation', {'concept': 'concept'}] ['Károly Lotz', 'occupation', {'concept': 'occupation'}] ['Károly Lotz', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { resource:Károly_Lotz property:occupation ?s . ?s rdf:type ontology:occupation } UNION { resource:Károly_Lotz property:occupation ?s . ?s rdf:type ontology:concept } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q540005
P19
Q56061
USER
Which administrative territory was Károly Lotz born in ?
(Q540005,P19,c(Q56061))
action filter_type
action find
entity Q540005
relation P19
type Q56061
['Q540005', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q540005 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Károly Lotz
action filter_type
action find
entity Károly Lotz
relation place of birth
type administrative territorial entity
['Károly Lotz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Károly_Lotz property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4165
SYSTEM
Bad Homburg vor der Höhe
Q4165
(Q540005,P19,c(Q56061))
action filter_type
action find
entity Q540005
relation P19
type Q56061
Károly Lotz was born in [ANSWER]
['Q540005', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q540005 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Bad Homburg vor der Höhe
Károly Lotz was born in Bad Homburg vor der Höhe
Bad Homburg vor der Höhe
action filter_type
action find
entity Károly Lotz
relation place of birth
type administrative territorial entity
['Károly Lotz', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Károly_Lotz property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4165 Q1085825
P19
Q502895
USER
Was Christoph Schwandt born at that administrative territory ?
(Q1085825,P19,Q4165)
action is_in
entity Q4165
action find
entity Q1085825
relation P19
['Q1085825', 'P19', 'Q4165']
ASK WHERE { resource:Q1085825 property:P19 resource:Q4165 }
Bad Homburg vor der Höhe Christoph Schwandt
action is_in
entity Bad Homburg vor der Höhe
action find
entity Christoph Schwandt
relation place of birth
['Christoph Schwandt', 'place of birth', 'Bad Homburg vor der Höhe']
ASK WHERE { resource:Christoph_Schwandt property:place_of_birth resource:Bad_Homburg_vor_der_Höhe }
[]
common name
SYSTEM
YES
(Q1085825,P19,Q4165)
action is_in
entity Q4165
action find
entity Q1085825
relation P19
[ANSWER]
['Q1085825', 'P19', 'Q4165']
ASK WHERE { resource:Q1085825 property:P19 resource:Q4165 }
Yes
action is_in
entity Bad Homburg vor der Höhe
action find
entity Christoph Schwandt
relation place of birth
['Christoph Schwandt', 'place of birth', 'Bad Homburg vor der Höhe']
ASK WHERE { resource:Christoph_Schwandt property:place_of_birth resource:Bad_Homburg_vor_der_Höhe }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4165
P276
Q838948
USER
Which work of art is situated at that administrative territory ?
action filter_type
action find_reverse
entity Q4165
relation P276
type Q838948
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q4165 . ?z rdf:type ontology:Q838948 }
Bad Homburg vor der Höhe
action filter_type
action find_reverse
entity Bad Homburg vor der Höhe
relation location
type work of art
SELECT DISTINCT ?z WHERE { ?z property:location resource:Bad_Homburg_vor_der_Höhe . ?z rdf:type ontology:work_of_art }
[]
work of art
Q23691912
SYSTEM
Monument landgravine Elizabeth
Q23691912
action filter_type
action find_reverse
entity Q4165
relation P276
type Q838948
[ANSWER] is situated at that administrative territory
SELECT DISTINCT ?z WHERE { ?z property:P276 resource:Q4165 . ?z rdf:type ontology:Q838948 }
Monument landgravine Elizabeth
Monument landgravine Elizabeth is situated at that administrative territory
Monument landgravine Elizabeth
action filter_type
action find_reverse
entity Bad Homburg vor der Höhe
relation location
type work of art
SELECT DISTINCT ?z WHERE { ?z property:location resource:Bad_Homburg_vor_der_Höhe . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4165
P190
Q56061
USER
How many administrative territories are sister towns of Bad Homburg vor der Höhe ?
(Q4165,P190,c(Q56061))
action count
action filter_type
action find
entity Q4165
relation P190
type Q56061
['Q4165', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Q4165 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Bad Homburg vor der Höhe
action count
action filter_type
action find
entity Bad Homburg vor der Höhe
relation sister city
type administrative territorial entity
['Bad Homburg vor der Höhe', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Bad_Homburg_vor_der_Höhe property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q178310 Q134672 Q129259
(Q4165,P190,c(Q56061))
action count
action filter_type
action find
entity Q4165
relation P190
type Q56061
[ANSWER]
['Q4165', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Q4165 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Petergof Exeter Niš
3
action count
action filter_type
action find
entity Bad Homburg vor der Höhe
relation sister city
type administrative territorial entity
['Bad Homburg vor der Höhe', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { resource:Bad_Homburg_vor_der_Höhe property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1524
P47
Q56061
USER
Which administrative territory is bordered by Athens ?
(Q1524,P47,c(Q56061))
action filter_type
action find
entity Q1524
relation P47
type Q56061
['Q1524', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q1524 property:P47 ?w }
Athens
action filter_type
action find
entity Athens
relation shares border with
type administrative territorial entity
['Athens', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Athens property:shares_border_with ?w }
[]
administrative territorial entity
Q1021592
SYSTEM
Nea Filadelfeia
Q1021592
(Q1524,P47,c(Q56061))
action filter_type
action find
entity Q1524
relation P47
type Q56061
Which administrative territory is bordered by Athens
['Q1524', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q1524 property:P47 ?w }
Nea Filadelfeia
Which administrative territory is bordered by Athens
Nea Filadelfeia
action filter_type
action find
entity Athens
relation shares border with
type administrative territorial entity
['Athens', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Athens property:shares_border_with ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1021592
P740
Q12973014
USER
Which sports team was formed at that administrative territory ?
(c(Q12973014),P740,Q1021592)
action filter_type
action find_reverse
entity Q1021592
relation P740
type Q12973014
[{'concept': 'Q12973014'}, 'P740', 'Q1021592']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q1021592 . ?s rdf:type ontology:Q12973014 }
Nea Filadelfeia
action filter_type
action find_reverse
entity Nea Filadelfeia
relation location of formation
type sports team
[{'concept': 'sports team'}, 'location of formation', 'Nea Filadelfeia']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Nea_Filadelfeia . ?s rdf:type ontology:sports_team }
[]
sports team
Q12885664
SYSTEM
F.E.A. Neas Filadelfeias / Neas Chalkidonas
Q12885664
(c(Q12973014),P740,Q1021592)
action filter_type
action find_reverse
entity Q1021592
relation P740
type Q12973014
[ANSWER] was formed at that administrative territory
[{'concept': 'Q12973014'}, 'P740', 'Q1021592']
SELECT DISTINCT ?s WHERE { ?s property:P740 resource:Q1021592 . ?s rdf:type ontology:Q12973014 }
F.E.A. Neas Filadelfeias / Neas Chalkidonas
F.E.A. Neas Filadelfeias / Neas Chalkidonas was formed at that administrative territory
F.E.A. Neas Filadelfeias / Neas Chalkidonas
action filter_type
action find_reverse
entity Nea Filadelfeia
relation location of formation
type sports team
[{'concept': 'sports team'}, 'location of formation', 'Nea Filadelfeia']
SELECT DISTINCT ?s WHERE { ?s property:location_of_formation resource:Nea_Filadelfeia . ?s rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1021592
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q12885664,P17,c(Q15617994))
action filter_type
action find
entity Q1021592
relation P17
type Q15617994
['Q12885664', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1021592 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Nea Filadelfeia
action filter_type
action find
entity Nea Filadelfeia
relation country
type designation for an administrative territorial entity
['F.E.A. Neas Filadelfeias / Neas Chalkidonas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nea_Filadelfeia property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q12885664,P17,c(Q15617994))
action filter_type
action find
entity Q1021592
relation P17
type Q15617994
That administrative territory is in [ANSWER]
['Q12885664', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q1021592 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Greece
That administrative territory is in Greece
Greece
action filter_type
action find
entity Nea Filadelfeia
relation country
type designation for an administrative territorial entity
['F.E.A. Neas Filadelfeias / Neas Chalkidonas', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Nea_Filadelfeia property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]