Simple Question (Direct)
Simple Question
Q2572940
P106
Q12737077
USER
Which occupation is the profession of Wilhelm Haag ?
(Q2572940,P106,c(Q12737077))
action filter_type
action find
entity Q2572940
relation P106
type Q12737077
['Q2572940', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2572940 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Wilhelm Haag
action filter_type
action find
entity Wilhelm Haag
relation occupation
type occupation
['Wilhelm Haag', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Wilhelm_Haag property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2572940,P106,c(Q12737077))
action filter_type
action find
entity Q2572940
relation P106
type Q12737077
The [ANSWER] is the profession of Wilhelm Haag
['Q2572940', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2572940 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
politician
The politician is the profession of Wilhelm Haag
politician
action filter_type
action find
entity Wilhelm Haag
relation occupation
type occupation
['Wilhelm Haag', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Wilhelm_Haag property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2572940
P937
Q56061
USER
What is the work location of Wilhelm Haag ?
(Q2572940,P937,c(Q56061))
action filter_type
action find
entity Q2572940
relation P937
type Q56061
['Q2572940', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2572940 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Wilhelm Haag
action filter_type
action find
entity Wilhelm Haag
relation work location
type administrative territorial entity
['Wilhelm Haag', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Wilhelm_Haag property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q2572940,P937,c(Q56061))
action filter_type
action find
entity Q2572940
relation P937
type Q56061
The work location of Wilhelm Haag is in [ANSWER]
['Q2572940', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2572940 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Berlin
The work location of Wilhelm Haag is in Berlin
Berlin
action filter_type
action find
entity Wilhelm Haag
relation work location
type administrative territorial entity
['Wilhelm Haag', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Wilhelm_Haag property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2572940
P27
Q1048835
USER
Which political territory is Wilhelm Haag a civilian of ?
(Q2572940,P27,c(Q1048835))
action filter_type
action find
entity Q2572940
relation P27
type Q1048835
['Q2572940', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q2572940 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Wilhelm Haag
action filter_type
action find
entity Wilhelm Haag
relation country of citizenship
type political territorial entity
['Wilhelm Haag', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wilhelm_Haag property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q2572940,P27,c(Q1048835))
action filter_type
action find
entity Q2572940
relation P27
type Q1048835
Which political territory is Wilhelm Haag a civilian of
['Q2572940', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q2572940 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Germany
Which political territory is Wilhelm Haag a civilian of
Germany
action filter_type
action find
entity Wilhelm Haag
relation country of citizenship
type political territorial entity
['Wilhelm Haag', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Wilhelm_Haag property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2572940
P19
Q56061
USER
Which administrative territory is the birthplace of Wilhelm Haag ?
(Q2572940,P19,c(Q56061))
action filter_type
action find
entity Q2572940
relation P19
type Q56061
['Q2572940', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2572940 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Wilhelm Haag
action filter_type
action find
entity Wilhelm Haag
relation place of birth
type administrative territorial entity
['Wilhelm Haag', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Wilhelm_Haag property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q715
SYSTEM
Heilbronn
Q715
(Q2572940,P19,c(Q56061))
action filter_type
action find
entity Q2572940
relation P19
type Q56061
[ANSWER] is the birthplace of Wilhelm Haag
['Q2572940', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q2572940 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Heilbronn
Heilbronn is the birthplace of Wilhelm Haag
Heilbronn
action filter_type
action find
entity Wilhelm Haag
relation place of birth
type administrative territorial entity
['Wilhelm Haag', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Wilhelm_Haag property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3185417
Q56061
USER
And how about Joseph Nusbaum?
(Q3185417,P19,c(Q56061))
action filter_type
action find
entity Q3185417
relation P19
type Q56061
['Q3185417', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3185417 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Joseph Nusbaum
action filter_type
action find
entity Joseph Nusbaum
relation place of birth
type administrative territorial entity
['Joseph Nusbaum', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Nusbaum property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3992
SYSTEM
Liège
Q3992
(Q3185417,P19,c(Q56061))
action filter_type
action find
entity Q3185417
relation P19
type Q56061
[ANSWER]
['Q3185417', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q3185417 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Liège
Liège
action filter_type
action find
entity Joseph Nusbaum
relation place of birth
type administrative territorial entity
['Joseph Nusbaum', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Joseph_Nusbaum property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3992
P138
Q17444909
USER
Which astronomical object type has that administrative territory as its toponym ?
(c(Q17444909),P138,Q3992)
action filter_type
action find_reverse
entity Q3992
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q3992']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q3992 . ?c rdf:type ontology:Q17444909 }
Liège
action filter_type
action find_reverse
entity Liège
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Liège']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Liège . ?c rdf:type ontology:astronomical_object_type }
[]
astronomical object type
Q137401
SYSTEM
1261 Legia
Q137401
(c(Q17444909),P138,Q3992)
action filter_type
action find_reverse
entity Q3992
relation P138
type Q17444909
[ANSWER] has that administrative territory as its toponym
[{'concept': 'Q17444909'}, 'P138', 'Q3992']
SELECT DISTINCT ?c WHERE { ?c property:P138 resource:Q3992 . ?c rdf:type ontology:Q17444909 }
1261 Legia
1261 Legia has that administrative territory as its toponym
1261 Legia
action filter_type
action find_reverse
entity Liège
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Liège']
SELECT DISTINCT ?c WHERE { ?c property:named_after resource:Liège . ?c rdf:type ontology:astronomical_object_type }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7407853 Q137401
P19 P138
Q56061
USER
Which administrative territories are the etymology of 1261 Legia or are the places of birth of Sam Massell ?
OR((Q137401,P138,c(Q56061)), (Q7407853,P19,c(Q56061)))
action filter_type
action union
action find
entity Q137401
relation P138
action find
entity Q7407853
relation P19
type Q56061
{'OR': [['Q137401', 'P138', {'concept': 'Q56061'}], ['Q7407853', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q7407853 property:P19 ?q } UNION { resource:Q137401 property:P138 ?q } } . ?q rdf:type ontology:Q56061 }
Sam Massell 1261 Legia
action filter_type
action union
action find
entity 1261 Legia
relation named after
action find
entity Sam Massell
relation place of birth
type administrative territorial entity
{'OR': [['1261 Legia', 'named after', {'concept': 'administrative territorial entity'}], ['Sam Massell', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Sam_Massell property:place_of_birth ?q } UNION { resource:1261_Legia property:named_after ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3992 Q23556
SYSTEM
Liège, Atlanta
Q3992 Q23556
OR((Q137401,P138,c(Q56061)), (Q7407853,P19,c(Q56061)))
action filter_type
action union
action find
entity Q137401
relation P138
action find
entity Q7407853
relation P19
type Q56061
[ANSWERS] are the etymology of 1261 Legia or are the places of birth of Sam Massell
{'OR': [['Q137401', 'P138', {'concept': 'Q56061'}], ['Q7407853', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q7407853 property:P19 ?q } UNION { resource:Q137401 property:P138 ?q } } . ?q rdf:type ontology:Q56061 }
Liège Atlanta
Liège and Atlanta are the etymology of 1261 Legia or are the places of birth of Sam Massell
Liège Atlanta
action filter_type
action union
action find
entity 1261 Legia
relation named after
action find
entity Sam Massell
relation place of birth
type administrative territorial entity
{'OR': [['1261 Legia', 'named after', {'concept': 'administrative territorial entity'}], ['Sam Massell', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Sam_Massell property:place_of_birth ?q } UNION { resource:1261_Legia property:named_after ?q } } . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3992 Q23556
P6
Q502895
USER
Which people have Liège and Atlanta as their heads of government ?
(Q3992,P6,c(Q502895)) (Q23556,P6,c(Q502895))
action union
action filter_type
action find
entity Q3992
relation P6
type Q502895
action filter_type
action find
entity Q23556
relation P6
type Q502895
['Q3992', 'P6', {'concept': 'Q502895'}] ['Q23556', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q3992 property:P6 ?g . ?g rdf:type ontology:Q502895 } UNION { resource:Q23556 property:P6 ?g . ?g rdf:type ontology:Q502895 } }
Liège Atlanta
action union
action filter_type
action find
entity Liège
relation head of government
type common name
action filter_type
action find
entity Atlanta
relation head of government
type common name
['Liège', 'head of government', {'concept': 'common name'}] ['Atlanta', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:Liège property:head_of_government ?g . ?g rdf:type ontology:common_name } UNION { resource:Atlanta property:head_of_government ?g . ?g rdf:type ontology:common_name } }
[]
common name
Q2355048 Q6374539
SYSTEM
Willy Demeyer, Kasim Reed
Q2355048 Q6374539
(Q3992,P6,c(Q502895)) (Q23556,P6,c(Q502895))
action union
action filter_type
action find
entity Q3992
relation P6
type Q502895
action filter_type
action find
entity Q23556
relation P6
type Q502895
[ANSWERS] have Liège and Atlanta as their heads of government
['Q3992', 'P6', {'concept': 'Q502895'}] ['Q23556', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { resource:Q3992 property:P6 ?g . ?g rdf:type ontology:Q502895 } UNION { resource:Q23556 property:P6 ?g . ?g rdf:type ontology:Q502895 } }
Willy Demeyer Kasim Reed
Willy Demeyer and Kasim Reed have Liège and Atlanta as their heads of government
Willy Demeyer Kasim Reed
action union
action filter_type
action find
entity Liège
relation head of government
type common name
action filter_type
action find
entity Atlanta
relation head of government
type common name
['Liège', 'head of government', {'concept': 'common name'}] ['Atlanta', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { resource:Liège property:head_of_government ?g . ?g rdf:type ontology:common_name } UNION { resource:Atlanta property:head_of_government ?g . ?g rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2355048 Q6374539
P6
Q56061
USER
Which administrative territories have those people as their administrative leader ?
(c(Q56061),P6,Q2355048) (c(Q56061),P6,Q6374539)
action filter_type
action find_reverse
entity prev_answer
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q2355048'] [{'concept': 'Q56061'}, 'P6', 'Q6374539']
SELECT DISTINCT ?z WHERE { ?z property:P6 ?t . ?z rdf:type ontology:Q56061 . VALUES ( ?t ) { ( resource:Q2355048 ) ( resource:Q6374539 ) } }
Willy Demeyer Kasim Reed
action filter_type
action find_reverse
entity prev_answer
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Willy Demeyer'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Kasim Reed']
SELECT DISTINCT ?z WHERE { ?z property:head_of_government ?t . ?z rdf:type ontology:administrative_territorial_entity . VALUES ( ?t ) { ( resource:Willy_Demeyer ) ( resource:Kasim_Reed ) } }
[]
administrative territorial entity
Q3992 Q23556
SYSTEM
Liège, Atlanta
Q3992 Q23556
(c(Q56061),P6,Q2355048) (c(Q56061),P6,Q6374539)
action filter_type
action find_reverse
entity prev_answer
relation P6
type Q56061
[ANSWERS] have those people as their administrative leader
[{'concept': 'Q56061'}, 'P6', 'Q2355048'] [{'concept': 'Q56061'}, 'P6', 'Q6374539']
SELECT DISTINCT ?z WHERE { ?z property:P6 ?t . ?z rdf:type ontology:Q56061 . VALUES ( ?t ) { ( resource:Q2355048 ) ( resource:Q6374539 ) } }
Liège Atlanta
Liège and Atlanta have those people as their administrative leader
Liège Atlanta
action filter_type
action find_reverse
entity prev_answer
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Willy Demeyer'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Kasim Reed']
SELECT DISTINCT ?z WHERE { ?z property:head_of_government ?t . ?z rdf:type ontology:administrative_territorial_entity . VALUES ( ?t ) { ( resource:Willy_Demeyer ) ( resource:Kasim_Reed ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23556
P190
Q56061
USER
Which administrative territories are sister towns of Atlanta ?
(Q23556,P190,c(Q56061))
action filter_type
action find
entity Q23556
relation P190
type Q56061
['Q23556', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q23556 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Atlanta
action filter_type
action find
entity Atlanta
relation sister city
type administrative territorial entity
['Atlanta', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Atlanta property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8678 Q1524 Q1867
SYSTEM
Rio de Janeiro, Athens, Taipei
Q8673 Q8678 Q994 Q1867 Q309164 Q239 Q1425428 Q1524 Q637555 Q2090 Q632542 Q7880 Q182059 Q39178 Q3642 Q167582 Q34713
(Q23556,P190,c(Q56061))
action filter_type
action find
entity Q23556
relation P190
type Q56061
[ANSWERS] are sister towns of Atlanta
['Q23556', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q23556 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Lagos Rio de Janeiro Tbilisi Taipei Ra'anana Brussels Newcastle upon Tyne Athens Montego Bay Nuremberg Archaia Olympia Toulouse Kumasi Port of Spain Asmara Yokneam Salzburg
Rio de Janeiro, Athens and Taipei are sister towns of Atlanta
Rio de Janeiro Athens Taipei
action filter_type
action find
entity Atlanta
relation sister city
type administrative territorial entity
['Atlanta', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Atlanta property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q261354
P190
Q56061
USER
Are Donji Čemehovec twin city of those ones ?
(Q261354,P190,Q8678) (Q261354,P190,Q1524) (Q261354,P190,Q1867)
action is_in
entity prev_answer
action find
entity Q261354
relation P190
['Q261354', 'P190', 'Q8678'] ['Q261354', 'P190', 'Q1524'] ['Q261354', 'P190', 'Q1867']
ASK WHERE { resource:Q261354 property:P190 ?z . VALUES ( ?z ) { ( resource:Q8673 ) ( resource:Q8678 ) ( resource:Q994 ) } }
Donji Čemehovec
action is_in
entity prev_answer
action find
entity Donji Čemehovec
relation sister city
['Donji Čemehovec', 'sister city', 'Rio de Janeiro'] ['Donji Čemehovec', 'sister city', 'Athens'] ['Donji Čemehovec', 'sister city', 'Taipei']
ASK WHERE { resource:Donji_Čemehovec property:sister_city ?z . VALUES ( ?z ) { ( resource:Lagos ) ( resource:Rio_de_Janeiro ) ( resource:Tbilisi ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q261354,P190,Q8678) (Q261354,P190,Q1524) (Q261354,P190,Q1867)
action is_in
entity prev_answer
action find
entity Q261354
relation P190
[ANSWER]
['Q261354', 'P190', 'Q8678'] ['Q261354', 'P190', 'Q1524'] ['Q261354', 'P190', 'Q1867']
ASK WHERE { resource:Q261354 property:P190 ?z . VALUES ( ?z ) { ( resource:Q8673 ) ( resource:Q8678 ) ( resource:Q994 ) } }
No
action is_in
entity prev_answer
action find
entity Donji Čemehovec
relation sister city
['Donji Čemehovec', 'sister city', 'Rio de Janeiro'] ['Donji Čemehovec', 'sister city', 'Athens'] ['Donji Čemehovec', 'sister city', 'Taipei']
ASK WHERE { resource:Donji_Čemehovec property:sister_city ?z . VALUES ( ?z ) { ( resource:Lagos ) ( resource:Rio_de_Janeiro ) ( resource:Tbilisi ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2355048 Q4985407
P27
Q15617994
USER
Is Willy Demeyer an inhabitant of Buena Regional School District ?
(Q2355048,P27,Q4985407)
action is_in
entity Q4985407
action find
entity Q2355048
relation P27
['Q2355048', 'P27', 'Q4985407']
ASK WHERE { resource:Q2355048 property:P27 resource:Q4985407 }
Willy Demeyer Buena Regional School District
action is_in
entity Buena Regional School District
action find
entity Willy Demeyer
relation country of citizenship
['Willy Demeyer', 'country of citizenship', 'Buena Regional School District']
ASK WHERE { resource:Willy_Demeyer property:country_of_citizenship resource:Buena_Regional_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2355048,P27,Q4985407)
action is_in
entity Q4985407
action find
entity Q2355048
relation P27
[ANSWER]
['Q2355048', 'P27', 'Q4985407']
ASK WHERE { resource:Q2355048 property:P27 resource:Q4985407 }
No
action is_in
entity Buena Regional School District
action find
entity Willy Demeyer
relation country of citizenship
['Willy Demeyer', 'country of citizenship', 'Buena Regional School District']
ASK WHERE { resource:Willy_Demeyer property:country_of_citizenship resource:Buena_Regional_School_District }
[]