Simple Question (Direct)
Simple Question
Q692098
P19
Q56061
USER
Which administrative territory was Lasar Segall born at ?
(Q692098,P19,c(Q56061))
action filter_type
action find
entity Q692098
relation P19
type Q56061
['Q692098', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q692098 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Lasar Segall
action filter_type
action find
entity Lasar Segall
relation place of birth
type administrative territorial entity
['Lasar Segall', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Lasar_Segall property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216
SYSTEM
Vilnius
Q216
(Q692098,P19,c(Q56061))
action filter_type
action find
entity Q692098
relation P19
type Q56061
Lasar Segall was born in [ANSWER]
['Q692098', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q692098 property:P19 ?c . ?c rdf:type ontology:Q56061 }
Vilnius
Lasar Segall was born in Vilnius
Vilnius
action filter_type
action find
entity Lasar Segall
relation place of birth
type administrative territorial entity
['Lasar Segall', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Lasar_Segall property:place_of_birth ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q216
P551
Q502895
USER
Which people live in that administrative territory ?
(c(Q502895),P551,Q216)
action filter_type
action find_reverse
entity Q216
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q216']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q216 }
Vilnius
action filter_type
action find_reverse
entity Vilnius
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Vilnius']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:Vilnius }
[]
common name
Q79822 Q471207 Q781971
SYSTEM
Adam Mickiewicz, Maksim Bahdanovič, Tadas Kijanskas
Q79822 Q13505930 Q557827 Q471207 Q781971 Q4701994 Q716559 Q8338625
(c(Q502895),P551,Q216)
action filter_type
action find_reverse
entity Q216
relation P551
type Q502895
[ANSWERS] live in that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q216']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q502895 . ?p property:P551 resource:Q216 }
Adam Mickiewicz Rolandas Muraška Ričardas Berankis Maksim Bahdanovič Tadas Kijanskas Akvilė Paražinskaitė Lina Stančiūtė Carlos Álvarez Romero-Giordiano
Adam Mickiewicz, Maksim Bahdanovič and Tadas Kijanskas live in that administrative territory
Adam Mickiewicz Maksim Bahdanovič Tadas Kijanskas
action filter_type
action find_reverse
entity Vilnius
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Vilnius']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:common_name . ?p property:residence resource:Vilnius }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216
P119
Q502895
USER
Which person has Vilnius as place of burial ?
(c(Q502895),P119,Q216)
action filter_type
action find_reverse
entity Q216
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q216']
SELECT DISTINCT ?m WHERE { ?m property:P119 resource:Q216 . ?m rdf:type ontology:Q502895 }
Vilnius
action filter_type
action find_reverse
entity Vilnius
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Vilnius']
SELECT DISTINCT ?m WHERE { ?m property:place_of_burial resource:Vilnius . ?m rdf:type ontology:common_name }
[]
common name
Q9369742
SYSTEM
Wacław Leon Makowski
Q9369742
(c(Q502895),P119,Q216)
action filter_type
action find_reverse
entity Q216
relation P119
type Q502895
[ANSWER] has Vilnius as place of burial
[{'concept': 'Q502895'}, 'P119', 'Q216']
SELECT DISTINCT ?m WHERE { ?m property:P119 resource:Q216 . ?m rdf:type ontology:Q502895 }
Wacław Leon Makowski
Wacław Leon Makowski has Vilnius as place of burial
Wacław Leon Makowski
action filter_type
action find_reverse
entity Vilnius
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Vilnius']
SELECT DISTINCT ?m WHERE { ?m property:place_of_burial resource:Vilnius . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9369742
P20
Q56061
USER
Where did the demise of that person occur ?
(Q9369742,P20,c(Q56061))
action filter_type
action find
entity Q9369742
relation P20
type Q56061
['Q9369742', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q9369742 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Wacław Leon Makowski
action filter_type
action find
entity Wacław Leon Makowski
relation place of death
type administrative territorial entity
['Wacław Leon Makowski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wacław_Leon_Makowski property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216
SYSTEM
Vilnius
Q216
(Q9369742,P20,c(Q56061))
action filter_type
action find
entity Q9369742
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q9369742', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q9369742 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Vilnius
The demise of that person occurred in Vilnius
Vilnius
action filter_type
action find
entity Wacław Leon Makowski
relation place of death
type administrative territorial entity
['Wacław Leon Makowski', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Wacław_Leon_Makowski property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have approximately 2 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?n ) WHERE { ?c rdf:type ontology:Q2235308 . ?d rdf:type ontology:Q56061 . ?c property:P532 ?d } GROUP BY ?c } . FILTER ( ?n = 2 ) }
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?n ) WHERE { ?c rdf:type ontology:ship_type . ?d rdf:type ontology:administrative_territorial_entity . ?c property:port_of_registry ?d } GROUP BY ?c } . FILTER ( ?n = 2 ) }
[]
administrative territorial entity ship type
SYSTEM
4
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?n ) WHERE { ?c rdf:type ontology:Q2235308 . ?d rdf:type ontology:Q56061 . ?c property:P532 ?d } GROUP BY ?c } . FILTER ( ?n = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
4
action count
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?q ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?n ) WHERE { ?c rdf:type ontology:ship_type . ?d rdf:type ontology:administrative_territorial_entity . ?c property:port_of_registry ?d } GROUP BY ?c } . FILTER ( ?n = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79822
P108
Q41176
USER
Which building is the employer of Adam Mickiewicz ?
(Q79822,P108,c(Q41176))
action filter_type
action find
entity Q79822
relation P108
type Q41176
['Q79822', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?t WHERE { resource:Q79822 property:P108 ?t . ?t rdf:type ontology:Q41176 }
Adam Mickiewicz
action filter_type
action find
entity Adam Mickiewicz
relation employer
type building
['Adam Mickiewicz', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?t WHERE { resource:Adam_Mickiewicz property:employer ?t . ?t rdf:type ontology:building }
[]
building
Q202660
SYSTEM
Collège de France
Q202660
(Q79822,P108,c(Q41176))
action filter_type
action find
entity Q79822
relation P108
type Q41176
[ANSWER] is the employer of Adam Mickiewicz
['Q79822', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?t WHERE { resource:Q79822 property:P108 ?t . ?t rdf:type ontology:Q41176 }
Collège de France
Collège de France is the employer of Adam Mickiewicz
Collège de France
action filter_type
action find
entity Adam Mickiewicz
relation employer
type building
['Adam Mickiewicz', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?t WHERE { resource:Adam_Mickiewicz property:employer ?t . ?t rdf:type ontology:building }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q202660 Q12882722
P108
Q502895
USER
Does Panagiotis Kefalas work for that building ?
(Q12882722,P108,Q202660)
action is_in
entity Q12882722
action find
entity Q202660
relation P108
['Q12882722', 'P108', 'Q202660']
ASK WHERE { resource:Q202660 property:P108 resource:Q12882722 }
Collège de France Panagiotis Kefalas
action is_in
entity Panagiotis Kefalas
action find
entity Collège de France
relation employer
['Panagiotis Kefalas', 'employer', 'Collège de France']
ASK WHERE { resource:Collège_de_France property:employer resource:Panagiotis_Kefalas }
[]
common name
SYSTEM
NO
(Q12882722,P108,Q202660)
action is_in
entity Q12882722
action find
entity Q202660
relation P108
[ANSWER]
['Q12882722', 'P108', 'Q202660']
ASK WHERE { resource:Q202660 property:P108 resource:Q12882722 }
No
action is_in
entity Panagiotis Kefalas
action find
entity Collège de France
relation employer
['Panagiotis Kefalas', 'employer', 'Collège de France']
ASK WHERE { resource:Collège_de_France property:employer resource:Panagiotis_Kefalas }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q9369742 Q158004
P19
Q486972
USER
Is Piotrków Trybunalski the birthplace of Wacław Leon Makowski ?
(Q9369742,P19,Q158004)
action is_in
entity Q158004
action find
entity Q9369742
relation P19
['Q9369742', 'P19', 'Q158004']
ASK WHERE { resource:Q9369742 property:P19 resource:Q158004 }
Wacław Leon Makowski Piotrków Trybunalski
action is_in
entity Piotrków Trybunalski
action find
entity Wacław Leon Makowski
relation place of birth
['Wacław Leon Makowski', 'place of birth', 'Piotrków Trybunalski']
ASK WHERE { resource:Wacław_Leon_Makowski property:place_of_birth resource:Piotrków_Trybunalski }
[]
human settlement
SYSTEM
YES
(Q9369742,P19,Q158004)
action is_in
entity Q158004
action find
entity Q9369742
relation P19
[ANSWER]
['Q9369742', 'P19', 'Q158004']
ASK WHERE { resource:Q9369742 property:P19 resource:Q158004 }
Yes
action is_in
entity Piotrków Trybunalski
action find
entity Wacław Leon Makowski
relation place of birth
['Wacław Leon Makowski', 'place of birth', 'Piotrków Trybunalski']
ASK WHERE { resource:Wacław_Leon_Makowski property:place_of_birth resource:Piotrków_Trybunalski }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q79822
P551
Q56061
USER
How many administrative territories were the place of residence of Adam Mickiewicz ?
(Q79822,P551,c(Q56061))
action count
action filter_type
action find
entity Q79822
relation P551
type Q56061
['Q79822', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q79822 property:P551 ?d . ?d rdf:type ontology:Q56061 }
Adam Mickiewicz
action count
action filter_type
action find
entity Adam Mickiewicz
relation residence
type administrative territorial entity
['Adam Mickiewicz', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Adam_Mickiewicz property:residence ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
8
Q807 Q216 Q4115712 Q649 Q90 Q16869 Q1874 Q278743
(Q79822,P551,c(Q56061))
action count
action filter_type
action find
entity Q79822
relation P551
type Q56061
[ANSWER]
['Q79822', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q79822 property:P551 ?d . ?d rdf:type ontology:Q56061 }
Lausanne Vilnius Kaunas Moscow Paris Constantinople Odessa Navahrudak
8
action count
action filter_type
action find
entity Adam Mickiewicz
relation residence
type administrative territorial entity
['Adam Mickiewicz', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Adam_Mickiewicz property:residence ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21732527
P551
Q56061
USER
And also tell me about Brooks Willis?
(Q21732527,P551,c(Q56061))
action count
action filter_type
action find
entity Q21732527
relation P551
type Q56061
['Q21732527', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ontology:Q56061 . resource:Q21732527 property:P551 ?g }
Brooks Willis
action count
action filter_type
action find
entity Brooks Willis
relation residence
type administrative territorial entity
['Brooks Willis', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Brooks_Willis property:residence ?g }
[]
administrative territorial entity
SYSTEM
2
Q955486 Q34804
(Q21732527,P551,c(Q56061))
action count
action filter_type
action find
entity Q21732527
relation P551
type Q56061
[ANSWER]
['Q21732527', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ontology:Q56061 . resource:Q21732527 property:P551 ?g }
Taos Albuquerque
2
action count
action filter_type
action find
entity Brooks Willis
relation residence
type administrative territorial entity
['Brooks Willis', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Brooks_Willis property:residence ?g }
[]