Simple Question (Direct)
Simple Question
Q1459073
P106
Q12737077
USER
What does Enrico Boniforti do for a living ?
(Q1459073,P106,c(Q12737077))
action filter_type
action find
entity Q1459073
relation P106
type Q12737077
['Q1459073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q1459073 property:P106 ?t }
Enrico Boniforti
action filter_type
action find
entity Enrico Boniforti
relation occupation
type occupation
['Enrico Boniforti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Enrico_Boniforti property:occupation ?t }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1459073,P106,c(Q12737077))
action filter_type
action find
entity Q1459073
relation P106
type Q12737077
Enrico Boniforti does for a living as [ANSWER]
['Q1459073', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q1459073 property:P106 ?t }
association football player
Enrico Boniforti does for a living as association football player
association football player
action filter_type
action find
entity Enrico Boniforti
relation occupation
type occupation
['Enrico Boniforti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Enrico_Boniforti property:occupation ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1459073
P27
Q15617994
USER
Which administrative territory is Enrico Boniforti a civilian of ?
(Q1459073,P27,c(Q15617994))
action filter_type
action find
entity Q1459073
relation P27
type Q15617994
['Q1459073', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1459073 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Enrico Boniforti
action filter_type
action find
entity Enrico Boniforti
relation country of citizenship
type designation for an administrative territorial entity
['Enrico Boniforti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Enrico_Boniforti property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1459073,P27,c(Q15617994))
action filter_type
action find
entity Q1459073
relation P27
type Q15617994
[ANSWER] is Enrico Boniforti a civilian of
['Q1459073', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1459073 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Italy
Italy is Enrico Boniforti a civilian of
Italy
action filter_type
action find
entity Enrico Boniforti
relation country of citizenship
type designation for an administrative territorial entity
['Enrico Boniforti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Enrico_Boniforti property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1459073
P20
Q15617994
USER
Where did that person expire ?
(Q38,P20,c(Q15617994))
action filter_type
action find
entity Q1459073
relation P20
type Q15617994
['Q38', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1459073 property:P20 ?t . ?t rdf:type ontology:Q15617994 }
Enrico Boniforti
action filter_type
action find
entity Enrico Boniforti
relation place of death
type designation for an administrative territorial entity
['Italy', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Enrico_Boniforti property:place_of_death ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q40862
SYSTEM
Saronno
Q40862
(Q38,P20,c(Q15617994))
action filter_type
action find
entity Q1459073
relation P20
type Q15617994
That person expired in [ANSWER]
['Q38', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1459073 property:P20 ?t . ?t rdf:type ontology:Q15617994 }
Saronno
That person expired in Saronno
Saronno
action filter_type
action find
entity Enrico Boniforti
relation place of death
type designation for an administrative territorial entity
['Italy', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Enrico_Boniforti property:place_of_death ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40862
P159
Q7210356
USER
Which political organization has the principal seat at that administrative territory ?
(c(Q7210356),P159,Q40862)
action filter_type
action find_reverse
entity Q40862
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q40862']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q40862 . ?f rdf:type ontology:Q7210356 }
Saronno
action filter_type
action find_reverse
entity Saronno
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Saronno']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Saronno . ?f rdf:type ontology:political_organization }
[]
political organization
Q5291397
SYSTEM
Domà Nunch
Q5291397
(c(Q7210356),P159,Q40862)
action filter_type
action find_reverse
entity Q40862
relation P159
type Q7210356
[ANSWER] has the principal seat at that administrative territory
[{'concept': 'Q7210356'}, 'P159', 'Q40862']
SELECT DISTINCT ?f WHERE { ?f property:P159 resource:Q40862 . ?f rdf:type ontology:Q7210356 }
Domà Nunch
Domà Nunch has the principal seat at that administrative territory
Domà Nunch
action filter_type
action find_reverse
entity Saronno
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Saronno']
SELECT DISTINCT ?f WHERE { ?f property:headquarters_location resource:Saronno . ?f rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5291397 Q25066 Q675463
P17
Q15617994
USER
Is that political organization situated in Fontanetto Po and Gresten ?
(Q5291397,P17,Q25066) (Q5291397,P17,Q675463)
action is_in
entity Q5291397
action intersection
action find_reverse
entity Q25066
relation P17
action find_reverse
entity Q675463
relation P17
['Q5291397', 'P17', 'Q25066'] ['Q5291397', 'P17', 'Q675463']
ASK WHERE { resource:Q5291397 property:P17 resource:Q25066 . resource:Q5291397 property:P17 resource:Q675463 }
Domà Nunch Fontanetto Po Gresten
action is_in
entity Domà Nunch
action intersection
action find_reverse
entity Fontanetto Po
relation country
action find_reverse
entity Gresten
relation country
['Domà Nunch', 'country', 'Fontanetto Po'] ['Domà Nunch', 'country', 'Gresten']
ASK WHERE { resource:Domà_Nunch property:country resource:Fontanetto_Po . resource:Domà_Nunch property:country resource:Gresten }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5291397,P17,Q25066) (Q5291397,P17,Q675463)
action is_in
entity Q5291397
action intersection
action find_reverse
entity Q25066
relation P17
action find_reverse
entity Q675463
relation P17
[ANSWER]
['Q5291397', 'P17', 'Q25066'] ['Q5291397', 'P17', 'Q675463']
ASK WHERE { resource:Q5291397 property:P17 resource:Q25066 . resource:Q5291397 property:P17 resource:Q675463 }
No
action is_in
entity Domà Nunch
action intersection
action find_reverse
entity Fontanetto Po
relation country
action find_reverse
entity Gresten
relation country
['Domà Nunch', 'country', 'Fontanetto Po'] ['Domà Nunch', 'country', 'Gresten']
ASK WHERE { resource:Domà_Nunch property:country resource:Fontanetto_Po . resource:Domà_Nunch property:country resource:Gresten }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q40862 Q39643
P47
Q15617994
USER
Is Gerenzano adjacent to Saronno ?
(Q40862,P47,Q39643)
action is_in
entity Q39643
action find
entity Q40862
relation P47
['Q40862', 'P47', 'Q39643']
ASK WHERE { resource:Q40862 property:P47 resource:Q39643 }
Saronno Gerenzano
action is_in
entity Gerenzano
action find
entity Saronno
relation shares border with
['Saronno', 'shares border with', 'Gerenzano']
ASK WHERE { resource:Saronno property:shares_border_with resource:Gerenzano }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q40862,P47,Q39643)
action is_in
entity Q39643
action find
entity Q40862
relation P47
[ANSWER]
['Q40862', 'P47', 'Q39643']
ASK WHERE { resource:Q40862 property:P47 resource:Q39643 }
Yes
action is_in
entity Gerenzano
action find
entity Saronno
relation shares border with
['Saronno', 'shares border with', 'Gerenzano']
ASK WHERE { resource:Saronno property:shares_border_with resource:Gerenzano }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40862
P19
Q502895
USER
Which people have place of birth as Saronno ?
action filter_type
action find_reverse
entity Q40862
relation P19
type Q502895
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q40862 . ?b rdf:type ontology:Q502895 }
Saronno
action filter_type
action find_reverse
entity Saronno
relation place of birth
type common name
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Saronno . ?b rdf:type ontology:common_name }
[]
common name
Q3769395 Q3615876 Q15917608
SYSTEM
Giuliano Melosi, Andrea Mitri, Giuseppe Imburgia
Q3665519 Q3997461 Q3724333 Q3838317 Q1355949 Q3837093 Q14135860 Q3713046 Q19985185 Q19838682 Q1165943 Q3894344 Q3615876 Q240963 Q3769395 Q6999943 Q8116079 Q3677355 Q645106 Q4755262 Q1459043 Q15917608 Q3659642 Q512830 Q6999146 Q16751290 Q3769732 Q15888133 Q22985041 Q606953 Q1875484 Q3835638 Q18812078 Q713999 Q3616132 Q3930014 Q1819900 Q3962307 Q16551876 Q3218683 Q1459073 Q1877167 Q1525059 Q3733976 Q946139 Q2277262 Q3665586 Q2632542 Q3845100 Q3749888 Q3742198 Q3016133 Q15291073 Q1024129 Q986513 Q3765459
action filter_type
action find_reverse
entity Q40862
relation P19
type Q502895
[ANSWERS] have place of birth as Saronno
SELECT DISTINCT ?b WHERE { ?b property:P19 resource:Q40862 . ?b rdf:type ontology:Q502895 }
Cesare Reina Tranquillo Zerbi Emilio Banfi Luca Volontè Erminio De Scalzi Lorenzo Torretta Lorenzo Perini Domenico Galli Andrea Tarabbia Augusto Rezzonico Dario Frigo Paolo Patrizi Andrea Mitri Giuditta Pasta Giuliano Melosi Pietro Zerbi Marco Cattaneo Cinzia Molena Donato Zampini Andrea Sala Arturo Boniforti Giuseppe Imburgia Carlo Montrasio Christian Murro Antonio Sala Manrico Ronchiato Giulio Paggio Gianfranco Librandi Joe Giudice Leonardo Natale Francesco Copreni Livio Semelli Francesca Leto Lorenzo Vismara Andrea da Milano Randa Ghazy Alberto Volpi Sisto Reina Emilio Colombo Laura Frigo Enrico Boniforti Gino Cortellezzi Ludovico Cattaneo Ettore Mussi Fabrizio Schembri Roberto Colciago Cesarino Monti Alessandro Fei Manuela Monticelli Francesco De Rocchi Felice Renoldi Dario Bressanini Luigi Berlusconi Giulio Balestrini Giuseppe Arnoldi Giorgio Fontana
Giuliano Melosi, Andrea Mitri and Giuseppe Imburgia have place of birth as Saronno
Giuliano Melosi Andrea Mitri Giuseppe Imburgia
action filter_type
action find_reverse
entity Saronno
relation place of birth
type common name
SELECT DISTINCT ?b WHERE { ?b property:place_of_birth resource:Saronno . ?b rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q503375 Q40862
P20
Q502895
USER
Which people expired at Saronno or Tottenham ?
OR((c(Q502895),P20,Q40862), (c(Q502895),P20,Q503375))
action filter_type
action union
action find_reverse
entity Q40862
relation P20
action find_reverse
entity Q503375
relation P20
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q40862'], [{'concept': 'Q502895'}, 'P20', 'Q503375']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P20 resource:Q40862 } UNION { ?u property:P20 resource:Q503375 } } . ?u rdf:type ontology:Q502895 }
Tottenham Saronno
action filter_type
action union
action find_reverse
entity Saronno
relation place of death
action find_reverse
entity Tottenham
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Saronno'], [{'concept': 'common name'}, 'place of death', 'Tottenham']]}
SELECT DISTINCT ?u WHERE { { { ?u property:place_of_death resource:Saronno } UNION { ?u property:place_of_death resource:Tottenham } } . ?u rdf:type ontology:common_name }
[]
common name
Q1607320 Q3525678 Q1459043 Q349902 Q2557619 Q3659642 Q4722613 Q3766711 Q3956336 Q13426377
SYSTEM
Some of them are Henry Tracey Coxwell, Thomas Wright Hill, Arturo Boniforti, Harry Champion, John Mosely Turner, Carlo Montrasio, Alfred Edward Durrant, Giovanni Battista Migliori, Sergio Zampetti, John Coke
Q5820017 Q3771692 Q432257 Q4877182 Q1459043 Q17412504 Q3659642 Q440061 Q711567 Q3956336 Q2557619 Q3766711 Q1607320 Q3702365 Q4722613 Q5056280 Q13426377 Q1459073 Q349902 Q3895840 Q3704990 Q1876210 Q3525678 Q16999134
OR((c(Q502895),P20,Q40862), (c(Q502895),P20,Q503375))
action filter_type
action union
action find_reverse
entity Q40862
relation P20
action find_reverse
entity Q503375
relation P20
type Q502895
[ANSWERS] expired at Saronno or Tottenham
{'OR': [[{'concept': 'Q502895'}, 'P20', 'Q40862'], [{'concept': 'Q502895'}, 'P20', 'Q503375']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P20 resource:Q40862 } UNION { ?u property:P20 resource:Q503375 } } . ?u rdf:type ontology:Q502895 }
Edward Robson Giuseppina Pizzigoni Pierino Albini Beatrice Offor Arturo Boniforti Palmiro Luigi Pastorelli Carlo Montrasio Luke Howard Matteo II Visconti Sergio Zampetti John Mosely Turner Giovanni Battista Migliori Henry Tracey Coxwell Dante Guagnetti Alfred Edward Durrant Cecil Poynton John Coke Enrico Boniforti Harry Champion Paride Brunetti Delfo Luigi Monti Thomas Wright Hill Joseph James Muskett
Henry Tracey Coxwell, Thomas Wright Hill, Arturo Boniforti, Harry Champion, John Mosely Turner, Carlo Montrasio, Alfred Edward Durrant, Giovanni Battista Migliori, Sergio Zampetti and John Coke expired at Saronno or Tottenham
Henry Tracey Coxwell Thomas Wright Hill Arturo Boniforti Harry Champion John Mosely Turner Carlo Montrasio Alfred Edward Durrant Giovanni Battista Migliori Sergio Zampetti John Coke
action filter_type
action union
action find_reverse
entity Saronno
relation place of death
action find_reverse
entity Tottenham
relation place of death
type common name
{'OR': [[{'concept': 'common name'}, 'place of death', 'Saronno'], [{'concept': 'common name'}, 'place of death', 'Tottenham']]}
SELECT DISTINCT ?u WHERE { { { ?u property:place_of_death resource:Saronno } UNION { ?u property:place_of_death resource:Tottenham } } . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1607320 Q3525678 Q1459043 Q349902 Q2557619 Q3659642 Q4722613 Q3766711 Q3956336 Q13426377
P21
Q290
USER
What are the sex of those people ?
(Q1607320,P21,c(Q290)) (Q3525678,P21,c(Q290)) (Q1459043,P21,c(Q290)) (Q349902,P21,c(Q290)) (Q2557619,P21,c(Q290)) (Q3659642,P21,c(Q290)) (Q4722613,P21,c(Q290)) (Q3766711,P21,c(Q290)) (Q3956336,P21,c(Q290)) (Q13426377,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1607320', 'P21', {'concept': 'Q290'}] ['Q3525678', 'P21', {'concept': 'Q290'}] ['Q1459043', 'P21', {'concept': 'Q290'}] ['Q349902', 'P21', {'concept': 'Q290'}] ['Q2557619', 'P21', {'concept': 'Q290'}] ['Q3659642', 'P21', {'concept': 'Q290'}] ['Q4722613', 'P21', {'concept': 'Q290'}] ['Q3766711', 'P21', {'concept': 'Q290'}] ['Q3956336', 'P21', {'concept': 'Q290'}] ['Q13426377', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?d property:P21 ?k . ?k rdf:type ontology:Q290 . VALUES ( ?d ) { ( resource:Q5820017 ) ( resource:Q3771692 ) ( resource:Q432257 ) } }
Henry Tracey Coxwell Thomas Wright Hill Arturo Boniforti Harry Champion John Mosely Turner Carlo Montrasio Alfred Edward Durrant Giovanni Battista Migliori Sergio Zampetti John Coke
action filter_type
action find
entity prev_answer
relation gender
type sex
['Henry Tracey Coxwell', 'gender', {'concept': 'sex'}] ['Thomas Wright Hill', 'gender', {'concept': 'sex'}] ['Arturo Boniforti', 'gender', {'concept': 'sex'}] ['Harry Champion', 'gender', {'concept': 'sex'}] ['John Mosely Turner', 'gender', {'concept': 'sex'}] ['Carlo Montrasio', 'gender', {'concept': 'sex'}] ['Alfred Edward Durrant', 'gender', {'concept': 'sex'}] ['Giovanni Battista Migliori', 'gender', {'concept': 'sex'}] ['Sergio Zampetti', 'gender', {'concept': 'sex'}] ['John Coke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?d property:gender ?k . ?k rdf:type ontology:sex . VALUES ( ?d ) { ( resource:Edward_Robson ) ( resource:Giuseppina_Pizzigoni ) ( resource:Pierino_Albini ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q1607320,P21,c(Q290)) (Q3525678,P21,c(Q290)) (Q1459043,P21,c(Q290)) (Q349902,P21,c(Q290)) (Q2557619,P21,c(Q290)) (Q3659642,P21,c(Q290)) (Q4722613,P21,c(Q290)) (Q3766711,P21,c(Q290)) (Q3956336,P21,c(Q290)) (Q13426377,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q1607320', 'P21', {'concept': 'Q290'}] ['Q3525678', 'P21', {'concept': 'Q290'}] ['Q1459043', 'P21', {'concept': 'Q290'}] ['Q349902', 'P21', {'concept': 'Q290'}] ['Q2557619', 'P21', {'concept': 'Q290'}] ['Q3659642', 'P21', {'concept': 'Q290'}] ['Q4722613', 'P21', {'concept': 'Q290'}] ['Q3766711', 'P21', {'concept': 'Q290'}] ['Q3956336', 'P21', {'concept': 'Q290'}] ['Q13426377', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?d property:P21 ?k . ?k rdf:type ontology:Q290 . VALUES ( ?d ) { ( resource:Q5820017 ) ( resource:Q3771692 ) ( resource:Q432257 ) } }
male male male male male male male male male male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Henry Tracey Coxwell', 'gender', {'concept': 'sex'}] ['Thomas Wright Hill', 'gender', {'concept': 'sex'}] ['Arturo Boniforti', 'gender', {'concept': 'sex'}] ['Harry Champion', 'gender', {'concept': 'sex'}] ['John Mosely Turner', 'gender', {'concept': 'sex'}] ['Carlo Montrasio', 'gender', {'concept': 'sex'}] ['Alfred Edward Durrant', 'gender', {'concept': 'sex'}] ['Giovanni Battista Migliori', 'gender', {'concept': 'sex'}] ['Sergio Zampetti', 'gender', {'concept': 'sex'}] ['John Coke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?d property:gender ?k . ?k rdf:type ontology:sex . VALUES ( ?d ) { ( resource:Edward_Robson ) ( resource:Giuseppina_Pizzigoni ) ( resource:Pierino_Albini ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3766711
P937
Q56061
USER
Which administrative territory is the work location of Giovanni Battista Migliori ?
(Q3766711,P937,c(Q56061))
action filter_type
action find
entity Q3766711
relation P937
type Q56061
['Q3766711', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3766711 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Giovanni Battista Migliori
action filter_type
action find
entity Giovanni Battista Migliori
relation work location
type administrative territorial entity
['Giovanni Battista Migliori', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Giovanni_Battista_Migliori property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3766711,P937,c(Q56061))
action filter_type
action find
entity Q3766711
relation P937
type Q56061
[ANSWER] is the work location of Giovanni Battista Migliori
['Q3766711', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3766711 property:P937 ?w . ?w rdf:type ontology:Q56061 }
Rome
Rome is the work location of Giovanni Battista Migliori
Rome
action filter_type
action find
entity Giovanni Battista Migliori
relation work location
type administrative territorial entity
['Giovanni Battista Migliori', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Giovanni_Battista_Migliori property:work_location ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1255491
Q56061
USER
And what about Tamás Samu?
(Q1255491,P937,c(Q56061))
action filter_type
action find
entity Q1255491
relation P937
type Q56061
['Q1255491', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1255491 property:P937 ?a . ?a rdf:type ontology:Q56061 }
Tamás Samu
action filter_type
action find
entity Tamás Samu
relation work location
type administrative territorial entity
['Tamás Samu', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tamás_Samu property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q1255491,P937,c(Q56061))
action filter_type
action find
entity Q1255491
relation P937
type Q56061
[ANSWER]
['Q1255491', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q1255491 property:P937 ?a . ?a rdf:type ontology:Q56061 }
Budapest
Budapest
action filter_type
action find
entity Tamás Samu
relation work location
type administrative territorial entity
['Tamás Samu', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tamás_Samu property:work_location ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1781 Q7635702 Q4846003
P190
Q56061
USER
Is that administrative territory partner town of Suka Makmue and Ləkit Malax ?
(Q1781,P190,Q7635702) (Q1781,P190,Q4846003)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q7635702
relation P190
action find_reverse
entity Q4846003
relation P190
['Q1781', 'P190', 'Q7635702'] ['Q1781', 'P190', 'Q4846003']
ASK WHERE { resource:Q1781 property:P190 resource:Q4846003 . resource:Q1781 property:P190 resource:Q7635702 }
Budapest Suka Makmue Ləkit Malax
action is_in
entity Budapest
action intersection
action find_reverse
entity Suka Makmue
relation sister city
action find_reverse
entity Ləkit Malax
relation sister city
['Budapest', 'sister city', 'Suka Makmue'] ['Budapest', 'sister city', 'Ləkit Malax']
ASK WHERE { resource:Budapest property:sister_city resource:Ləkit_Malax . resource:Budapest property:sister_city resource:Suka_Makmue }
[]
administrative territorial entity
SYSTEM
NO
(Q1781,P190,Q7635702) (Q1781,P190,Q4846003)
action is_in
entity Q1781
action intersection
action find_reverse
entity Q7635702
relation P190
action find_reverse
entity Q4846003
relation P190
[ANSWER]
['Q1781', 'P190', 'Q7635702'] ['Q1781', 'P190', 'Q4846003']
ASK WHERE { resource:Q1781 property:P190 resource:Q4846003 . resource:Q1781 property:P190 resource:Q7635702 }
No
action is_in
entity Budapest
action intersection
action find_reverse
entity Suka Makmue
relation sister city
action find_reverse
entity Ləkit Malax
relation sister city
['Budapest', 'sister city', 'Suka Makmue'] ['Budapest', 'sister city', 'Ləkit Malax']
ASK WHERE { resource:Budapest property:sister_city resource:Ləkit_Malax . resource:Budapest property:sister_city resource:Suka_Makmue }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1781
P190
Q56061
USER
How many administrative territories are the sister cities of Budapest ?
(Q1781,P190,c(Q56061))
action count
action filter_type
action find
entity Q1781
relation P190
type Q56061
['Q1781', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q1781 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Budapest
action count
action filter_type
action find
entity Budapest
relation sister city
type administrative territorial entity
['Budapest', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Budapest property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
19
Q3766 Q1861 Q25409 Q2634 Q1741 Q13386 Q33935 Q406 Q174 Q216 Q270 Q16558 Q2807 Q597 Q956 Q2044 Q64 Q60 Q36036
(Q1781,P190,c(Q56061))
action count
action filter_type
action find
entity Q1781
relation P190
type Q56061
[ANSWER]
['Q1781', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Q1781 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Damascus Bangkok Košice Naples Vienna Lecce Tel Aviv Istanbul São Paulo Vilnius Warsaw Fort Worth Madrid Lisbon Beijing Florence Berlin New York City Lviv
19
action count
action filter_type
action find
entity Budapest
relation sister city
type administrative territorial entity
['Budapest', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { resource:Budapest property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q854996
P190
Q56061
USER
And what about Szerencs?
(Q854996,P190,c(Q56061))
action count
action filter_type
action find
entity Q854996
relation P190
type Q56061
['Q854996', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q854996 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Szerencs
action count
action filter_type
action find
entity Szerencs
relation sister city
type administrative territorial entity
['Szerencs', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Szerencs property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q558516 Q921321 Q267888
(Q854996,P190,c(Q56061))
action count
action filter_type
action find
entity Q854996
relation P190
type Q56061
[ANSWER]
['Q854996', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q854996 property:P190 ?n . ?n rdf:type ontology:Q56061 }
Geisenheim Hesperange Rožňava
3
action count
action filter_type
action find
entity Szerencs
relation sister city
type administrative territorial entity
['Szerencs', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Szerencs property:sister_city ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q170287
Q56061
USER
And what about Subotica?
(Q170287,P190,c(Q56061))
action count
action filter_type
action find
entity Q170287
relation P190
type Q56061
['Q170287', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q170287 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Subotica
action count
action filter_type
action find
entity Subotica
relation sister city
type administrative territorial entity
['Subotica', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Subotica property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
16
(Q170287,P190,c(Q56061))
action count
action filter_type
action find
entity Q170287
relation P190
type Q56061
[ANSWER]
['Q170287', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q170287 property:P190 ?a . ?a rdf:type ontology:Q56061 }
16
action count
action filter_type
action find
entity Subotica
relation sister city
type administrative territorial entity
['Subotica', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Subotica property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]