Simple Question (Direct)
Simple Question
Q20643624
P27
Q15617994
USER
Which administrative territory is Ian Burden an inhabitant of ?
(Q20643624,P27,c(Q15617994))
action filter_type
action find
entity Q20643624
relation P27
type Q15617994
['Q20643624', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q20643624 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Ian Burden
action filter_type
action find
entity Ian Burden
relation country of citizenship
type designation for an administrative territorial entity
['Ian Burden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ian_Burden property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q20643624,P27,c(Q15617994))
action filter_type
action find
entity Q20643624
relation P27
type Q15617994
[ANSWER] is Ian Burden an inhabitant of
['Q20643624', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q20643624 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is Ian Burden an inhabitant of
United Kingdom
action filter_type
action find
entity Ian Burden
relation country of citizenship
type designation for an administrative territorial entity
['Ian Burden', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Ian_Burden property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20643624
P106
Q12737077
USER
What does Ian Burden do for a living ?
(Q20643624,P106,c(Q12737077))
action filter_type
action find
entity Q20643624
relation P106
type Q12737077
['Q20643624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q20643624 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Ian Burden
action filter_type
action find
entity Ian Burden
relation occupation
type occupation
['Ian Burden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ian_Burden property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q20643624,P106,c(Q12737077))
action filter_type
action find
entity Q20643624
relation P106
type Q12737077
Ian Burden does an [ANSWER] for a living
['Q20643624', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q20643624 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Ian Burden does an association football player for a living
association football player
action filter_type
action find
entity Ian Burden
relation occupation
type occupation
['Ian Burden', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Ian_Burden property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q51885
P417
Q502895 Q12737077
USER
How many people are the patron saint of greater number of occupations than Thecla ?
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q51885
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P417 ?k . ?k rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q51885 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?a > ?y ) }
Thecla
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thecla
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:patron_saint ?k . ?k rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Thecla property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?a > ?y ) }
[]
common name occupation
SYSTEM
54
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action count
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q51885
relation P417
type Q502895
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:P417 ?k . ?k rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Q51885 property:P417 ?q . ?q rdf:type ontology:Q502895 } } . FILTER ( ?a > ?y ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
54
action count
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Thecla
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?l ) AS ?a ) WHERE { ?l property:patron_saint ?k . ?k rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?y ) WHERE { resource:Thecla property:patron_saint ?q . ?q rdf:type ontology:common_name } } . FILTER ( ?a > ?y ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51885
P841
Q186081
USER
When does the feast day of that person occur ?
action filter_type
action find
entity Q51885
relation P841
type Q186081
SELECT DISTINCT ?r WHERE { resource:Q51885 property:P841 ?r . ?r rdf:type ontology:Q186081 }
Thecla
action filter_type
action find
entity Thecla
relation feast day
type time interval
SELECT DISTINCT ?r WHERE { resource:Thecla property:feast_day ?r . ?r rdf:type ontology:time_interval }
[]
time interval
Q2890
SYSTEM
September 24
Q2890
action filter_type
action find
entity Q51885
relation P841
type Q186081
The feast day of that person occurs on [ANSWER]
SELECT DISTINCT ?r WHERE { resource:Q51885 property:P841 ?r . ?r rdf:type ontology:Q186081 }
September 24
The feast day of that person occurs on September 24
September 24
action filter_type
action find
entity Thecla
relation feast day
type time interval
SELECT DISTINCT ?r WHERE { resource:Thecla property:feast_day ?r . ?r rdf:type ontology:time_interval }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q51885
P825
Q44539
USER
Which temple is devoted to that person ?
(c(Q44539),P825,Q2890)
action filter_type
action find_reverse
entity Q51885
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q2890']
SELECT DISTINCT ?e WHERE { ?e property:P825 resource:Q51885 . ?e rdf:type ontology:Q44539 }
Thecla
action filter_type
action find_reverse
entity Thecla
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'September 24']
SELECT DISTINCT ?e WHERE { ?e property:dedicated_to resource:Thecla . ?e rdf:type ontology:temple }
[]
temple
Q3635775
SYSTEM
Basilica di Santa Tecla
Q3635775
(c(Q44539),P825,Q2890)
action filter_type
action find_reverse
entity Q51885
relation P825
type Q44539
[ANSWER] is devoted to that person
[{'concept': 'Q44539'}, 'P825', 'Q2890']
SELECT DISTINCT ?e WHERE { ?e property:P825 resource:Q51885 . ?e rdf:type ontology:Q44539 }
Basilica di Santa Tecla
Basilica di Santa Tecla is devoted to that person
Basilica di Santa Tecla
action filter_type
action find_reverse
entity Thecla
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'September 24']
SELECT DISTINCT ?e WHERE { ?e property:dedicated_to resource:Thecla . ?e rdf:type ontology:temple }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P837
Q186081 Q573 Q1656682
USER
How many time intervals denote occurance of exactly 1 days and events ?
(c(Q573)|c(Q1656682),P837,c(Q186081))
action count
action equal
action union
action find_reverse_tuple_counts
relation P837
type Q186081
type Q573
action find_reverse_tuple_counts
relation P837
type Q186081
type Q1656682
value 1
[[{'concept': 'Q573'}, {'concept': 'Q1656682'}], 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?k WHERE { { ?a property:P837 ?k . ?k rdf:type ontology:Q186081 . ?a rdf:type ontology:Q573 } UNION { ?a property:P837 ?k . ?k rdf:type ontology:Q186081 . ?a rdf:type ontology:Q1656682 } } GROUP BY ?k } . FILTER ( ?v = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type day
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type event
value 1
[[{'concept': 'day'}, {'concept': 'event'}], 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?k WHERE { { ?a property:day_in_year_for_periodic_occurrence ?k . ?k rdf:type ontology:time_interval . ?a rdf:type ontology:day } UNION { ?a property:day_in_year_for_periodic_occurrence ?k . ?k rdf:type ontology:time_interval . ?a rdf:type ontology:event } } GROUP BY ?k } . FILTER ( ?v = 1 ) }
[]
time interval day event
SYSTEM
95
Q14873846 Q2578 Q2579 Q2363 Q2362 Q14915111 Q21292031 Q2533 Q14915973 Q14915825 Q14804622 Q2616 Q2613 Q14916790 Q2671 Q2694 Q14915965 Q2355 Q2665 Q2662 Q2383 Q2301 Q2785 Q2990 Q2896 Q2891 Q2893 Q2775 Q2949 Q2816 Q6312465 Q2524 Q7076973 Q2728 Q3022 Q2310 Q2150 Q2954 Q2955 Q2951 Q14914954 Q14916789 Q3020 Q14915817 Q2531 Q2320 Q2692 Q2519 Q14914944 Q14914947 Q14914941 Q14914943 Q2669 Q14914948 Q14914949 Q2670 Q2993 Q2716 Q2717 Q4121525 Q2718 Q14914953 Q2504 Q14916453 Q2334 Q2332 Q2931 Q2952 Q2395 Q2953 Q12407171 Q14914939 Q14914938 Q2820 Q2451 Q2745 Q14915587 Q2729 Q2700 Q2787 Q14915584 Q2982 Q14915827 Q2851 Q2850 Q2581 Q2585 Q2299 Q2562 Q2699 Q2919 Q2556 Q2620 Q2849 Q2994
(c(Q573)|c(Q1656682),P837,c(Q186081))
action count
action equal
action union
action find_reverse_tuple_counts
relation P837
type Q186081
type Q573
action find_reverse_tuple_counts
relation P837
type Q186081
type Q1656682
value 1
[ANSWER]
[[{'concept': 'Q573'}, {'concept': 'Q1656682'}], 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?k WHERE { { ?a property:P837 ?k . ?k rdf:type ontology:Q186081 . ?a rdf:type ontology:Q573 } UNION { ?a property:P837 ?k . ?k rdf:type ontology:Q186081 . ?a rdf:type ontology:Q1656682 } } GROUP BY ?k } . FILTER ( ?v = 1 ) }
Easter + 56 days May 19 May 20 December 11 February 28 Easter - 52 days third Monday in November April 27 Easter + 6 days Easter - 5 days Easter + 60 days June 7 June 15 Easter + 4 days June 21 July 7 Easter + 5 days February 24 June 24 June 25 December 15 December 8 August 2 November 8 September 19 September 21 September 18 August 14 October 31 August 29 Northern solstice on Earth April 20 October 31 July 20 November 24 December 4 January 1 October 25 October 24 October 29 Easter - 63 days Easter + 3 days November 25 Easter - 4 days April 25 February 6 July 8 April 16 Easter - 14 days Easter - 49 days Easter - 47 days Easter - 48 days June 19 Easter - 56 days Easter - 21 days June 18 November 5 July 30 July 29 1 Muharram July 28 Easter - 57 days April 9 second Monday in March February 15 February 14 October 3 October 28 March 8 October 26 Seventh of Cheshvan Easter - 46 days Easter - 8 days August 26 December 19 December 25 Easter - 42 days July 17 July 1 August 6 Easter + 49 days November 15 Easter - 6 days September 11 September 8 May 22 May 25 December 7 May 15 July 3 October 15 May 9 June 6 September 12 November 4
95
action count
action equal
action union
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type day
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type event
value 1
[[{'concept': 'day'}, {'concept': 'event'}], 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?v ) ?k WHERE { { ?a property:day_in_year_for_periodic_occurrence ?k . ?k rdf:type ontology:time_interval . ?a rdf:type ontology:day } UNION { ?a property:day_in_year_for_periodic_occurrence ?k . ?k rdf:type ontology:time_interval . ?a rdf:type ontology:event } } GROUP BY ?k } . FILTER ( ?v = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4022752 Q20643624
P19
Q56061
USER
Which administrative territories were Ian Burden or Yiannis Giannouris born at ?
OR((Q20643624,P19,c(Q56061)), (Q4022752,P19,c(Q56061)))
action filter_type
action union
action find
entity Q20643624
relation P19
action find
entity Q4022752
relation P19
type Q56061
{'OR': [['Q20643624', 'P19', {'concept': 'Q56061'}], ['Q4022752', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?s ) { ( resource:Q20643624 ) ( resource:Q4022752 ) } . ?s property:P19 ?w } . ?w rdf:type ontology:Q56061 }
Yiannis Giannouris Ian Burden
action filter_type
action union
action find
entity Ian Burden
relation place of birth
action find
entity Yiannis Giannouris
relation place of birth
type administrative territorial entity
{'OR': [['Ian Burden', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yiannis Giannouris', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?s ) { ( resource:Ian_Burden ) ( resource:Yiannis_Giannouris ) } . ?s property:place_of_birth ?w } . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524 Q22905
SYSTEM
Athens, Bradford
Q1524 Q22905
OR((Q20643624,P19,c(Q56061)), (Q4022752,P19,c(Q56061)))
action filter_type
action union
action find
entity Q20643624
relation P19
action find
entity Q4022752
relation P19
type Q56061
Ian Burden or Yiannis Giannouris were born in [ANSWERS]
{'OR': [['Q20643624', 'P19', {'concept': 'Q56061'}], ['Q4022752', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?s ) { ( resource:Q20643624 ) ( resource:Q4022752 ) } . ?s property:P19 ?w } . ?w rdf:type ontology:Q56061 }
Athens Bradford
Ian Burden or Yiannis Giannouris were born in Athens and Bradford
Athens Bradford
action filter_type
action union
action find
entity Ian Burden
relation place of birth
action find
entity Yiannis Giannouris
relation place of birth
type administrative territorial entity
{'OR': [['Ian Burden', 'place of birth', {'concept': 'administrative territorial entity'}], ['Yiannis Giannouris', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?s ) { ( resource:Ian_Burden ) ( resource:Yiannis_Giannouris ) } . ?s property:place_of_birth ?w } . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1524 Q613
P190
Q56061
USER
How many administrative territories are the sister cities of Athens and Emirate of Dubai ?
(Q1524,P190,c(Q56061)) (Q613,P190,c(Q56061))
action count
action intersection
action filter_type
action find
entity Q1524
relation P190
type Q56061
action filter_type
action find
entity Q613
relation P190
type Q56061
['Q1524', 'P190', {'concept': 'Q56061'}] ['Q613', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q1524 property:P190 ?f . ?f rdf:type ontology:Q56061 . resource:Q613 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Athens Emirate of Dubai
action count
action intersection
action filter_type
action find
entity Athens
relation sister city
type administrative territorial entity
action filter_type
action find
entity Emirate of Dubai
relation sister city
type administrative territorial entity
['Athens', 'sister city', {'concept': 'administrative territorial entity'}] ['Emirate of Dubai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Athens property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity . resource:Emirate_of_Dubai property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
3
Q3766 Q3820 Q406
(Q1524,P190,c(Q56061)) (Q613,P190,c(Q56061))
action count
action intersection
action filter_type
action find
entity Q1524
relation P190
type Q56061
action filter_type
action find
entity Q613
relation P190
type Q56061
[ANSWER]
['Q1524', 'P190', {'concept': 'Q56061'}] ['Q613', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q1524 property:P190 ?f . ?f rdf:type ontology:Q56061 . resource:Q613 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Damascus Beirut Istanbul
3
action count
action intersection
action filter_type
action find
entity Athens
relation sister city
type administrative territorial entity
action filter_type
action find
entity Emirate of Dubai
relation sister city
type administrative territorial entity
['Athens', 'sister city', {'concept': 'administrative territorial entity'}] ['Emirate of Dubai', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Athens property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity . resource:Emirate_of_Dubai property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]