Simple Question (Direct)
Simple Question
Q5178573
P27
Q15617994
USER
Which administrative territory is the native country of Courtney Anderson ?
(Q5178573,P27,c(Q15617994))
action filter_type
action find
entity Q5178573
relation P27
type Q15617994
['Q5178573', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5178573 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Courtney Anderson
action filter_type
action find
entity Courtney Anderson
relation country of citizenship
type designation for an administrative territorial entity
['Courtney Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Courtney_Anderson property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5178573,P27,c(Q15617994))
action filter_type
action find
entity Q5178573
relation P27
type Q15617994
The [ANSWER] is the native country of Courtney Anderson
['Q5178573', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5178573 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Courtney Anderson
United States of America
action filter_type
action find
entity Courtney Anderson
relation country of citizenship
type designation for an administrative territorial entity
['Courtney Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Courtney_Anderson property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5178573
P106
Q12737077
USER
What does Courtney Anderson do for a living ?
(Q5178573,P106,c(Q12737077))
action filter_type
action find
entity Q5178573
relation P106
type Q12737077
['Q5178573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q5178573 property:P106 ?u }
Courtney Anderson
action filter_type
action find
entity Courtney Anderson
relation occupation
type occupation
['Courtney Anderson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Courtney_Anderson property:occupation ?u }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q5178573,P106,c(Q12737077))
action filter_type
action find
entity Q5178573
relation P106
type Q12737077
Courtney Anderson does the [ANSWER] for a living
['Q5178573', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q5178573 property:P106 ?u }
American football player
Courtney Anderson does the American football player for a living
American football player
action filter_type
action find
entity Courtney Anderson
relation occupation
type occupation
['Courtney Anderson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Courtney_Anderson property:occupation ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5178573
P21
Q290
USER
Which sex does that person possess ?
(Q19204627,P21,c(Q290))
action filter_type
action find
entity Q5178573
relation P21
type Q290
['Q19204627', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5178573 property:P21 ?b . ?b rdf:type ontology:Q290 }
Courtney Anderson
action filter_type
action find
entity Courtney Anderson
relation gender
type sex
['American football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Courtney_Anderson property:gender ?b . ?b rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19204627,P21,c(Q290))
action filter_type
action find
entity Q5178573
relation P21
type Q290
That person possesses a [ANSWER]
['Q19204627', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { resource:Q5178573 property:P21 ?b . ?b rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Courtney Anderson
relation gender
type sex
['American football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { resource:Courtney_Anderson property:gender ?b . ?b rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q242274
P417
Q502895 Q12737077
USER
How many people are the names of the patron saint of around the same number of occupations as Dorothea of Caesarea ?
(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 Q242274
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q242274 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P417 ?l . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?l } }
Dorothea of Caesarea
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 Dorothea of Caesarea
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Dorothea_of_Caesarea property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:patron_saint ?l . ?l rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?l } }
[]
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 Q242274
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q242274 property:P417 ?m . ?m rdf:type ontology:Q502895 } } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:P417 ?l . ?l rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?l } }
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 Dorothea of Caesarea
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Dorothea_of_Caesarea property:patron_saint ?m . ?m rdf:type ontology:common_name } } . FILTER ( ?v = ?e ) . { SELECT DISTINCT ?l ( COUNT ( ?a ) AS ?v ) WHERE { ?a property:patron_saint ?l . ?l rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?l } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5178573
P19
Q56061
USER
Which administrative territory is the place of birth of Courtney Anderson ?
(Q5178573,P19,c(Q56061))
action filter_type
action find
entity Q5178573
relation P19
type Q56061
['Q5178573', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5178573 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Courtney Anderson
action filter_type
action find
entity Courtney Anderson
relation place of birth
type administrative territorial entity
['Courtney Anderson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Courtney_Anderson property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q976490
SYSTEM
Greenville
Q976490
(Q5178573,P19,c(Q56061))
action filter_type
action find
entity Q5178573
relation P19
type Q56061
Ville [ANSWER] is the place of birth of Courtney Anderson
['Q5178573', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q5178573 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Greenville
Ville Greenville is the place of birth of Courtney Anderson
Greenville
action filter_type
action find
entity Courtney Anderson
relation place of birth
type administrative territorial entity
['Courtney Anderson', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Courtney_Anderson property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]