Simple Question (Direct)
Simple Question
Q5131308
P937
Q56061
USER
What is the work location of Clement Davies ?
(Q5131308,P937,c(Q56061))
action filter_type
action find
entity Q5131308
relation P937
type Q56061
['Q5131308', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q5131308 property:P937 ?u . ?u rdf:type ontology:Q56061 }
Clement Davies
action filter_type
action find
entity Clement Davies
relation work location
type administrative territorial entity
['Clement Davies', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Clement_Davies property:work_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5131308,P937,c(Q56061))
action filter_type
action find
entity Q5131308
relation P937
type Q56061
The work location of Clement Davies is in [ANSWER]
['Q5131308', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q5131308 property:P937 ?u . ?u rdf:type ontology:Q56061 }
London
The work location of Clement Davies is in London
London
action filter_type
action find
entity Clement Davies
relation work location
type administrative territorial entity
['Clement Davies', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Clement_Davies property:work_location ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5131308
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q84,P39,c(Q12737077))
action filter_type
action find
entity Q5131308
relation P39
type Q12737077
['Q84', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q5131308 property:P39 ?t }
Clement Davies
action filter_type
action find
entity Clement Davies
relation position held
type occupation
['London', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Clement_Davies property:position_held ?t }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q84,P39,c(Q12737077))
action filter_type
action find
entity Q5131308
relation P39
type Q12737077
The [ANSWER] was a position held by that person
['Q84', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q12737077 . resource:Q5131308 property:P39 ?t }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position held by that person
Member of Parliament in the United Kingdom
action filter_type
action find
entity Clement Davies
relation position held
type occupation
['London', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:occupation . resource:Clement_Davies property:position_held ?t }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q48438
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of around the same number of occupations as Saint George ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q48438
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P417 ?b . ?b rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q48438 property:P417 ?y . ?y rdf:type ontology:Q502895 } } . FILTER ( ?o = ?v ) }
Saint George
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint George
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:patron_saint ?b . ?b rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Saint_George property:patron_saint ?y . ?y rdf:type ontology:common_name } } . FILTER ( ?o = ?v ) }
[]
common name occupation
SYSTEM
38
Q453698 Q152457 Q43689 Q163900 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q508214 Q9200 Q193507 Q463600 Q43669 Q40662 Q332656 Q320171 Q137947 Q80513 Q324700 Q44015 Q149727 Q232427 Q60059 Q17590 Q271474 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q48438
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P417 ?b . ?b rdf:type ontology:Q502895 . ?e rdf:type ontology:Q12737077 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q48438 property:P417 ?y . ?y rdf:type ontology:Q502895 } } . FILTER ( ?o = ?v ) }
Saint Amand Saint Roch Ambrose Saint Francis Xavier Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Urban of Langres John the Apostle Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Charalampus
38
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saint George
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:patron_saint ?b . ?b rdf:type ontology:common_name . ?e rdf:type ontology:occupation } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Saint_George property:patron_saint ?y . ?y rdf:type ontology:common_name } } . FILTER ( ?o = ?v ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q48438
P825
Q44539
USER
What is dedicated to that person ?
action filter_type
action find_reverse
entity Q48438
relation P825
type Q44539
SELECT DISTINCT ?m WHERE { ?m property:P825 resource:Q48438 . ?m rdf:type ontology:Q44539 }
Saint George
action filter_type
action find_reverse
entity Saint George
relation dedicated to
type temple
SELECT DISTINCT ?m WHERE { ?m property:dedicated_to resource:Saint_George . ?m rdf:type ontology:temple }
[]
temple
Q12293134
SYSTEM
St. George's Church
Q12293134
action filter_type
action find_reverse
entity Q48438
relation P825
type Q44539
[ANSWER] is dedicated to that person
SELECT DISTINCT ?m WHERE { ?m property:P825 resource:Q48438 . ?m rdf:type ontology:Q44539 }
St. George's Church
St. George's Church is dedicated to that person
St. George's Church
action filter_type
action find_reverse
entity Saint George
relation dedicated to
type temple
SELECT DISTINCT ?m WHERE { ?m property:dedicated_to resource:Saint_George . ?m rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12293134
P17
Q15617994
USER
Which administrative territory is that temple present in ?
(Q12293134,P17,c(Q15617994))
action filter_type
action find
entity Q12293134
relation P17
type Q15617994
['Q12293134', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q12293134 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
St. George's Church
action filter_type
action find
entity St. George's Church
relation country
type designation for an administrative territorial entity
["St. George's Church", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:St._George's_Church property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q221
SYSTEM
Republic of Macedonia
Q221
(Q12293134,P17,c(Q15617994))
action filter_type
action find
entity Q12293134
relation P17
type Q15617994
That temple is the [ANSWER]
['Q12293134', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q12293134 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Republic of Macedonia
That temple is the Republic of Macedonia
Republic of Macedonia
action filter_type
action find
entity St. George's Church
relation country
type designation for an administrative territorial entity
["St. George's Church", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:St._George's_Church property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q221
P276
Q1190554
USER
Which event is located at that administrative territory ?
(c(Q1190554),P276,Q221)
action filter_type
action find_reverse
entity Q221
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q221']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q221 . ?r rdf:type ontology:Q1190554 }
Republic of Macedonia
action filter_type
action find_reverse
entity Republic of Macedonia
relation location
type event
[{'concept': 'event'}, 'location', 'Republic of Macedonia']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Republic_of_Macedonia . ?r rdf:type ontology:event }
[]
event
Q2583507
SYSTEM
Battle of the Cerna Bend
Q2583507
(c(Q1190554),P276,Q221)
action filter_type
action find_reverse
entity Q221
relation P276
type Q1190554
[ANSWER] is located at that administrative territory
[{'concept': 'Q1190554'}, 'P276', 'Q221']
SELECT DISTINCT ?r WHERE { ?r property:P276 resource:Q221 . ?r rdf:type ontology:Q1190554 }
Battle of the Cerna Bend
Battle of the Cerna Bend is located at that administrative territory
Battle of the Cerna Bend
action filter_type
action find_reverse
entity Republic of Macedonia
relation location
type event
[{'concept': 'event'}, 'location', 'Republic of Macedonia']
SELECT DISTINCT ?r WHERE { ?r property:location resource:Republic_of_Macedonia . ?r rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q221
P137
Q811979
USER
Which architectural structure can be described as facility operator of Republic of Macedonia ?
(c(Q811979),P137,Q221)
action filter_type
action find_reverse
entity Q221
relation P137
type Q811979
[{'concept': 'Q811979'}, 'P137', 'Q221']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q221 . ?h rdf:type ontology:Q811979 }
Republic of Macedonia
action filter_type
action find_reverse
entity Republic of Macedonia
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Republic of Macedonia']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Republic_of_Macedonia . ?h rdf:type ontology:architectural_structure }
[]
architectural structure
Q5369945
SYSTEM
Embassy of the Republic of Macedonia in Washington, D.C.
Q5369945
(c(Q811979),P137,Q221)
action filter_type
action find_reverse
entity Q221
relation P137
type Q811979
[ANSWER] can be described as facility operator of Republic of Macedonia
[{'concept': 'Q811979'}, 'P137', 'Q221']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q221 . ?h rdf:type ontology:Q811979 }
Embassy of the Republic of Macedonia in Washington, D.C.
Embassy of the Republic of Macedonia in Washington, D.C. can be described as facility operator of Republic of Macedonia
Embassy of the Republic of Macedonia in Washington, D.C.
action filter_type
action find_reverse
entity Republic of Macedonia
relation operator
type architectural structure
[{'concept': 'architectural structure'}, 'operator', 'Republic of Macedonia']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Republic_of_Macedonia . ?h rdf:type ontology:architectural_structure }
[]