Simple Question (Direct)
Simple Question
Q1514519
P937
Q56061
USER
What is the work location of Paul Bender ?
(Q1514519,P937,c(Q56061))
action filter_type
action find
entity Q1514519
relation P937
type Q56061
['Q1514519', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1514519 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Paul Bender
action filter_type
action find
entity Paul Bender
relation work location
type administrative territorial entity
['Paul Bender', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Paul_Bender property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q1514519,P937,c(Q56061))
action filter_type
action find
entity Q1514519
relation P937
type Q56061
The work location of Paul Bender is in [ANSWER]
['Q1514519', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1514519 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Düsseldorf
The work location of Paul Bender is in Düsseldorf
Düsseldorf
action filter_type
action find
entity Paul Bender
relation work location
type administrative territorial entity
['Paul Bender', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Paul_Bender property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1718
P36
Q183366
USER
Which territory consists of that administrative territory as its capital ?
(c(Q183366),P36,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P36
type Q183366
[{'concept': 'Q183366'}, 'P36', 'Q1718']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1718 . ?n rdf:type ontology:Q183366 }
Düsseldorf
action filter_type
action find_reverse
entity Düsseldorf
relation capital
type territory
[{'concept': 'territory'}, 'capital', 'Düsseldorf']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Düsseldorf . ?n rdf:type ontology:territory }
[]
territory
Q151095
SYSTEM
Duchy of Berg
Q151095
(c(Q183366),P36,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P36
type Q183366
[ANSWER] consists of that administrative territory as its capital
[{'concept': 'Q183366'}, 'P36', 'Q1718']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1718 . ?n rdf:type ontology:Q183366 }
Duchy of Berg
Duchy of Berg consists of that administrative territory as its capital
Duchy of Berg
action filter_type
action find_reverse
entity Düsseldorf
relation capital
type territory
[{'concept': 'territory'}, 'capital', 'Düsseldorf']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Düsseldorf . ?n rdf:type ontology:territory }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q151095
P138
Q44539
USER
Which temple is named after that territory ?
(c(Q44539),P138,Q151095)
action filter_type
action find_reverse
entity Q151095
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q151095']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q151095 . ?b rdf:type ontology:Q44539 }
Duchy of Berg
action filter_type
action find_reverse
entity Duchy of Berg
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Duchy of Berg']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Duchy_of_Berg . ?b rdf:type ontology:temple }
[]
temple
Q819573
SYSTEM
Berger Kirche
Q819573
(c(Q44539),P138,Q151095)
action filter_type
action find_reverse
entity Q151095
relation P138
type Q44539
[ANSWER] is named after that territory
[{'concept': 'Q44539'}, 'P138', 'Q151095']
SELECT DISTINCT ?b WHERE { ?b property:P138 resource:Q151095 . ?b rdf:type ontology:Q44539 }
Berger Kirche
Berger Kirche is named after that territory
Berger Kirche
action filter_type
action find_reverse
entity Duchy of Berg
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Duchy of Berg']
SELECT DISTINCT ?b WHERE { ?b property:named_after resource:Duchy_of_Berg . ?b rdf:type ontology:temple }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q819573
P1435
Q2065736
USER
Which cultural property is the heritage status of that temple ?
(Q819573,P1435,c(Q2065736))
action filter_type
action find
entity Q819573
relation P1435
type Q2065736
['Q819573', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?z WHERE { resource:Q819573 property:P1435 ?z . ?z rdf:type ontology:Q2065736 }
Berger Kirche
action filter_type
action find
entity Berger Kirche
relation heritage status
type cultural property
['Berger Kirche', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?z WHERE { resource:Berger_Kirche property:heritage_status ?z . ?z rdf:type ontology:cultural_property }
[]
cultural property
Q15632117
SYSTEM
Baudenkmal
Q15632117
(Q819573,P1435,c(Q2065736))
action filter_type
action find
entity Q819573
relation P1435
type Q2065736
[ANSWER] is the heritage status of that temple
['Q819573', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?z WHERE { resource:Q819573 property:P1435 ?z . ?z rdf:type ontology:Q2065736 }
Baudenkmal
Baudenkmal is the heritage status of that temple
Baudenkmal
action filter_type
action find
entity Berger Kirche
relation heritage status
type cultural property
['Berger Kirche', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?z WHERE { resource:Berger_Kirche property:heritage_status ?z . ?z rdf:type ontology:cultural_property }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q1445650 Q44539
USER
Which holidays are the names of person who are the patron saints of atmost 6 temples ?
(c(Q44539),P417,c(Q1445650))
action atmost
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
value 6
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P417 ?u . ?u rdf:type ontology:Q1445650 . ?v rdf:type ontology:Q44539 } GROUP BY ?u } . FILTER ( ?w <= 6 ) }
action atmost
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
value 6
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:patron_saint ?u . ?u rdf:type ontology:holiday . ?v rdf:type ontology:temple } GROUP BY ?u } . FILTER ( ?w <= 6 ) }
[]
holiday temple
Q152771 Q154326 Q587
SYSTEM
Presentation of Jesus at the Temple, Annunciation, All Saints
Q152771 Q154326 Q587
(c(Q44539),P417,c(Q1445650))
action atmost
action find_reverse_tuple_counts
relation P417
type Q1445650
type Q44539
value 6
[ANSWERS] are the names of person who are the patron saints of atmost 6 temples
[{'concept': 'Q44539'}, 'P417', {'concept': 'Q1445650'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:P417 ?u . ?u rdf:type ontology:Q1445650 . ?v rdf:type ontology:Q44539 } GROUP BY ?u } . FILTER ( ?w <= 6 ) }
Presentation of Jesus at the Temple Annunciation All Saints
Presentation of Jesus at the Temple, Annunciation and All Saints are the names of person who are the patron saints of atmost 6 temples
Presentation of Jesus at the Temple Annunciation All Saints
action atmost
action find_reverse_tuple_counts
relation patron saint
type holiday
type temple
value 6
[{'concept': 'temple'}, 'patron saint', {'concept': 'holiday'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?w ) WHERE { ?v property:patron_saint ?u . ?u rdf:type ontology:holiday . ?v rdf:type ontology:temple } GROUP BY ?u } . FILTER ( ?w <= 6 ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P837
Q573 Q186081 Q1445650
USER
How many holidays falls on approximately the same number of days or time intervals as that holiday ?
(c(Q1445650),P837,c(Q573)|c(Q186081))
[{'concept': 'Q1445650'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P837 ?y } UNION { ?z property:P837 ?x } } . ?z rdf:type ontology:Q1445650 . ?y rdf:type ontology:Q573 . ?x rdf:type ontology:Q186081 }
[{'concept': 'holiday'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:day_in_year_for_periodic_occurrence ?y } UNION { ?z property:day_in_year_for_periodic_occurrence ?x } } . ?z rdf:type ontology:holiday . ?y rdf:type ontology:day . ?x rdf:type ontology:time_interval }
[]
day time interval holiday
Comparative|Count over More/Less|Mult. entity type|Clarification
Q152771
SYSTEM
Did you mean Presentation of Jesus at the Temple ?
(c(Q1445650),P837,c(Q573)|c(Q186081))
[ANSWER]
[{'concept': 'Q1445650'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P837 ?y } UNION { ?z property:P837 ?x } } . ?z rdf:type ontology:Q1445650 . ?y rdf:type ontology:Q573 . ?x rdf:type ontology:Q186081 }
Did you mean Presentation of Jesus at the Temple ?
Presentation of Jesus at the Temple
[{'concept': 'holiday'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:day_in_year_for_periodic_occurrence ?y } UNION { ?z property:day_in_year_for_periodic_occurrence ?x } } . ?z rdf:type ontology:holiday . ?y rdf:type ontology:day . ?x rdf:type ontology:time_interval }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant All Saints. Could you tell me the answer for that?
(c(Q1445650),P837,c(Q573)|c(Q186081))
Q587
[{'concept': 'Q1445650'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
[{'concept': 'holiday'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
[]
SYSTEM
96
Q72318 Q6015989 Q132001 Q1033140 Q6015984 Q2564633 Q2913791 Q5439542 Q6016007 Q1361434 Q1059995 Q463754 Q1355051 Q1968642 Q14873405 Q2185469 Q1139876 Q514400 Q1851080 Q1009535 Q1361489 Q5242947 Q14942960 Q6016005 Q34812 Q186206 Q7603928 Q9396697 Q1359602 Q7303033 Q4320094 Q7311733 Q1034573 Q2247397 Q755999 Q1472650 Q1070437 Q3665109 Q26943774 Q952721 Q5348941 Q11269 Q875766 Q14830607 Q12525597 Q14830608 Q6015972 Q7190975 Q587 Q14916777 Q14916772 Q10265921 Q1539489 Q2512993 Q367523 Q1186127 Q14873061 Q132994 Q10488275 Q14885577 Q14942952 Q14873199 Q1049141 Q464458 Q7313972 Q51638 Q14931580 Q154326 Q1038328 Q2577826 Q14916756 Q13636529 Q37081 Q3538509 Q14873618 Q3360565 Q502375 Q956699 Q7318670 Q2936192 Q483226 Q10881633 Q209663 Q162691 Q4173673 Q7296056 Q131772 Q14757696 Q3870479 Q42236 Q1355833 Q295859 Q6016023 Q8035753 Q157582 Q7987485
(c(Q1445650),P837,c(Q573)|c(Q186081))
[ANSWER]
[{'concept': 'Q1445650'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:P837 ?y } UNION { ?z property:P837 ?x } } . ?z rdf:type ontology:Q1445650 . ?y rdf:type ontology:Q573 . ?x rdf:type ontology:Q186081 }
The Emperor's Birthday Independence Day Epiphany All Souls' Day Independence Day Queen's official birthday Thanksgiving Feast of the Annunciation Independence Day Shōwa Day National Foundation Day Double Ninth Festival Greenery Day Independence Day of Ukraine Liberation from Fascism Prešeren Day Yemeni unification Eid al-Adha Waitangi Day Culture Day Constitution Memorial Day Day of Reconciliation Macau Special Administrative Region Establishment Day Independence Day New Year of a calendar Holy Saturday Statehood Day Armed Forces Day Health and Sports Day Recreation Day holiday Nikoljdan Remembrance Day Patriot Day First Day of Summer Veterans Day Jerusalem Day Día Nacional de Galicia Installation ceremony of the Captains Regent Yap Day Yom Ha'atzmaut Buddha's birthday New Year's Eve National Holiday Constitution Day Silvester Meritxell Day Independence Day Picnic Day All Saints Easter Tuesday Proclamation Day Universal Brotherhood Day Yom Hazikaron Whit Monday Columbus Day Respect for the Aged Day Feast of Saint Agatha Yom Kippur Independence Day Independence Day Children's Day Anniversary of the Arengo Vernal Equinox Day Eid al-Fitr Repentance Day Feast of the Ascension Chinese Mid-Autumn Festival Annunciation Saint Joseph's Day May Day Eight Hours Day Hong Kong Special Administrative Region Establishment Day Children's day Feast of the Immaculate Conception Feast of San Marino and the Republic Michaelmas Australia Day Boxing Day Revolution Day Canberra Day Coming of Age Day Youth Day Easter Monday Assumption of Mary George's Day in Autumn Ratu Sir Lala Sukuna Day Chinese New Year Heroes' Day Nativity of St. John the Baptist Palm Sunday Marine Day Anzac Day Independence Day World Freedom Day German Unity Day Western Australia Day
96
[{'concept': 'holiday'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:day_in_year_for_periodic_occurrence ?y } UNION { ?z property:day_in_year_for_periodic_occurrence ?x } } . ?z rdf:type ontology:holiday . ?y rdf:type ontology:day . ?x rdf:type ontology:time_interval }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2247
P837
Q573 Q1445650
USER
Which days do more number of holidays occur on than January 11 ?
(c(Q1445650),P837,c(Q573))
action greater
action find_reverse_tuple_counts
relation P837
type Q573
type Q1445650
action count
action filter_type
action find
entity Q2247
relation P837
type Q573
[{'concept': 'Q1445650'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?z > ?j ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:Q573 . resource:Q2247 property:P837 ?o } } . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P837 ?l . ?l rdf:type ontology:Q573 . ?x rdf:type ontology:Q1445650 } GROUP BY ?l } }
January 11
action greater
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type holiday
action count
action filter_type
action find
entity January 11
relation day in year for periodic occurrence
type day
[{'concept': 'holiday'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?z > ?j ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:day . resource:January_11 property:day_in_year_for_periodic_occurrence ?o } } . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:day_in_year_for_periodic_occurrence ?l . ?l rdf:type ontology:day . ?x rdf:type ontology:holiday } GROUP BY ?l } }
[]
day holiday
Q2454 Q2459 Q2248
SYSTEM
March 25, March 29, January 12
Q2454 Q2248 Q2459 Q7452083 Q2221 Q2267 Q2168 Q2282 Q2825 Q2823
(c(Q1445650),P837,c(Q573))
action greater
action find_reverse_tuple_counts
relation P837
type Q573
type Q1445650
action count
action filter_type
action find
entity Q2247
relation P837
type Q573
More number of holidays occur on [ANSWERS] on than January 11
[{'concept': 'Q1445650'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?z > ?j ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:Q573 . resource:Q2247 property:P837 ?o } } . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P837 ?l . ?l rdf:type ontology:Q573 . ?x rdf:type ontology:Q1445650 } GROUP BY ?l } }
March 25 January 12 March 29 September 15 January 6 January 20 January 4 January 26 August 24 August 21
More number of holidays occur on March 25, March 29 and January 12 on than January 11
March 25 March 29 January 12
action greater
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type holiday
action count
action filter_type
action find
entity January 11
relation day in year for periodic occurrence
type day
[{'concept': 'holiday'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?l WHERE { FILTER ( ?z > ?j ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ontology:day . resource:January_11 property:day_in_year_for_periodic_occurrence ?o } } . { SELECT DISTINCT ?l ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:day_in_year_for_periodic_occurrence ?l . ?l rdf:type ontology:day . ?x rdf:type ontology:holiday } GROUP BY ?l } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2243
P837
Q573 Q1445650
USER
And what about January 10?
(c(Q1445650),P837,c(Q573))
action greater
action find_reverse_tuple_counts
relation P837
type Q573
type Q1445650
action count
action filter_type
action find
entity Q2243
relation P837
type Q573
[{'concept': 'Q1445650'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?k ) WHERE { ?e rdf:type ontology:Q573 . ?y rdf:type ontology:Q1445650 . ?y property:P837 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:Q573 . resource:Q2243 property:P837 ?b } } . FILTER ( ?k > ?o ) }
January 10
action greater
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type holiday
action count
action filter_type
action find
entity January 10
relation day in year for periodic occurrence
type day
[{'concept': 'holiday'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?k ) WHERE { ?e rdf:type ontology:day . ?y rdf:type ontology:holiday . ?y property:day_in_year_for_periodic_occurrence ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:day . resource:January_10 property:day_in_year_for_periodic_occurrence ?b } } . FILTER ( ?k > ?o ) }
[]
day holiday
Q2454 Q2459 Q2248
SYSTEM
March 25, March 29, January 12
Q2454 Q2248 Q2459 Q7452083 Q2221 Q2267 Q2168 Q2282 Q2825 Q2823
(c(Q1445650),P837,c(Q573))
action greater
action find_reverse_tuple_counts
relation P837
type Q573
type Q1445650
action count
action filter_type
action find
entity Q2243
relation P837
type Q573
[ANSWERS]
[{'concept': 'Q1445650'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?k ) WHERE { ?e rdf:type ontology:Q573 . ?y rdf:type ontology:Q1445650 . ?y property:P837 ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:Q573 . resource:Q2243 property:P837 ?b } } . FILTER ( ?k > ?o ) }
March 25 January 12 March 29 September 15 January 6 January 20 January 4 January 26 August 24 August 21
March 25 March 29 January 12
action greater
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type holiday
action count
action filter_type
action find
entity January 10
relation day in year for periodic occurrence
type day
[{'concept': 'holiday'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?y ) AS ?k ) WHERE { ?e rdf:type ontology:day . ?y rdf:type ontology:holiday . ?y property:day_in_year_for_periodic_occurrence ?e } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { ?b rdf:type ontology:day . resource:January_10 property:day_in_year_for_periodic_occurrence ?b } } . FILTER ( ?k > ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1718
P740
Q43229 Q2088357
USER
How many organizations and musical ensembles were formed at Düsseldorf ?
(c(Q43229),P740,Q1718) (c(Q2088357),P740,Q1718)
action count
action union
action filter_type
action find_reverse
entity Q1718
relation P740
type Q43229
action filter_type
action find_reverse
entity Q1718
relation P740
type Q2088357
[{'concept': 'Q43229'}, 'P740', 'Q1718'] [{'concept': 'Q2088357'}, 'P740', 'Q1718']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q2088357 ) } }
Düsseldorf
action count
action union
action filter_type
action find_reverse
entity Düsseldorf
relation location of formation
type organization
action filter_type
action find_reverse
entity Düsseldorf
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Düsseldorf'] [{'concept': 'musical ensemble'}, 'location of formation', 'Düsseldorf']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:organization ) ( ontology:musical_ensemble ) } }
[]
organization musical ensemble
SYSTEM
3 organizations and 4 musical ensembles
Q270223 Q44892 Q1395350 Q2116356 Q161544 Q698362 Q2101764
(c(Q43229),P740,Q1718) (c(Q2088357),P740,Q1718)
action count
action union
action filter_type
action find_reverse
entity Q1718
relation P740
type Q43229
action filter_type
action find_reverse
entity Q1718
relation P740
type Q2088357
[ANSWER]
[{'concept': 'Q43229'}, 'P740', 'Q1718'] [{'concept': 'Q2088357'}, 'P740', 'Q1718']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:Q43229 ) ( ontology:Q2088357 ) } }
E.ON SE Kraftwerk Family 5 Public Toys Rheinmetall Falkenbach Hunter Douglas
3 organizations and 4 musical ensembles
action count
action union
action filter_type
action find_reverse
entity Düsseldorf
relation location of formation
type organization
action filter_type
action find_reverse
entity Düsseldorf
relation location of formation
type musical ensemble
[{'concept': 'organization'}, 'location of formation', 'Düsseldorf'] [{'concept': 'musical ensemble'}, 'location of formation', 'Düsseldorf']
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { ?j rdf:type ?s . VALUES ( ?s ) { ( ontology:organization ) ( ontology:musical_ensemble ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P837
Q573 Q186081 Q1445650
USER
Which holidays falls on exactly 4 days and time intervals ?
(c(Q1445650),P837,c(Q573)|c(Q186081))
action equal
action union
action find_tuple_counts
relation P837
type Q1445650
type Q573
action find_tuple_counts
relation P837
type Q1445650
type Q186081
value 4
[{'concept': 'Q1445650'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?u = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?z WHERE { { ?z property:P837 ?t . ?z rdf:type ontology:Q1445650 . ?t rdf:type ontology:Q573 } UNION { ?z property:P837 ?t . ?z rdf:type ontology:Q1445650 . ?t rdf:type ontology:Q186081 } } GROUP BY ?z } }
action equal
action union
action find_tuple_counts
relation day in year for periodic occurrence
type holiday
type day
action find_tuple_counts
relation day in year for periodic occurrence
type holiday
type time interval
value 4
[{'concept': 'holiday'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?u = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?z WHERE { { ?z property:day_in_year_for_periodic_occurrence ?t . ?z rdf:type ontology:holiday . ?t rdf:type ontology:day } UNION { ?z property:day_in_year_for_periodic_occurrence ?t . ?z rdf:type ontology:holiday . ?t rdf:type ontology:time_interval } } GROUP BY ?z } }
[]
day time interval holiday
Q13959
SYSTEM
Thanksgiving
Q13959
(c(Q1445650),P837,c(Q573)|c(Q186081))
action equal
action union
action find_tuple_counts
relation P837
type Q1445650
type Q573
action find_tuple_counts
relation P837
type Q1445650
type Q186081
value 4
[ANSWER] falls on exactly 4 days and time intervals
[{'concept': 'Q1445650'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?u = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?z WHERE { { ?z property:P837 ?t . ?z rdf:type ontology:Q1445650 . ?t rdf:type ontology:Q573 } UNION { ?z property:P837 ?t . ?z rdf:type ontology:Q1445650 . ?t rdf:type ontology:Q186081 } } GROUP BY ?z } }
Thanksgiving
Thanksgiving falls on exactly 4 days and time intervals
Thanksgiving
action equal
action union
action find_tuple_counts
relation day in year for periodic occurrence
type holiday
type day
action find_tuple_counts
relation day in year for periodic occurrence
type holiday
type time interval
value 4
[{'concept': 'holiday'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ?z WHERE { FILTER ( ?u = 4 ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) ?z WHERE { { ?z property:day_in_year_for_periodic_occurrence ?t . ?z rdf:type ontology:holiday . ?t rdf:type ontology:day } UNION { ?z property:day_in_year_for_periodic_occurrence ?t . ?z rdf:type ontology:holiday . ?t rdf:type ontology:time_interval } } GROUP BY ?z } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P837
Q573 Q1445650 Q573
USER
How many days do around 3 holidays or days occur ?
(c(Q1445650)|c(Q573),P837,c(Q573))
action count
action approx
action union
action find_reverse_tuple_counts
relation P837
type Q573
type Q1445650
action find_reverse_tuple_counts
relation P837
type Q573
type Q573
value 3
[[{'concept': 'Q1445650'}, {'concept': 'Q573'}], 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P837 ?v . ?o rdf:type ontology:Q1445650 . ?v rdf:type ontology:Q573 } UNION { ?o property:P837 ?v . ?o rdf:type ontology:Q573 . ?v rdf:type ontology:Q573 } } GROUP BY ?v } . FILTER ( ?g = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type holiday
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type day
value 3
[[{'concept': 'holiday'}, {'concept': 'day'}], 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:day_in_year_for_periodic_occurrence ?v . ?o rdf:type ontology:holiday . ?v rdf:type ontology:day } UNION { ?o property:day_in_year_for_periodic_occurrence ?v . ?o rdf:type ontology:day . ?v rdf:type ontology:day } } GROUP BY ?v } . FILTER ( ?g = 3 ) }
[]
day holiday day
SYSTEM
2
Q2454 Q2267
(c(Q1445650)|c(Q573),P837,c(Q573))
action count
action approx
action union
action find_reverse_tuple_counts
relation P837
type Q573
type Q1445650
action find_reverse_tuple_counts
relation P837
type Q573
type Q573
value 3
[ANSWER]
[[{'concept': 'Q1445650'}, {'concept': 'Q573'}], 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:P837 ?v . ?o rdf:type ontology:Q1445650 . ?v rdf:type ontology:Q573 } UNION { ?o property:P837 ?v . ?o rdf:type ontology:Q573 . ?v rdf:type ontology:Q573 } } GROUP BY ?v } . FILTER ( ?g = 3 ) }
March 25 January 20
2
action count
action approx
action union
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type holiday
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type day
value 3
[[{'concept': 'holiday'}, {'concept': 'day'}], 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?o ) AS ?g ) WHERE { { ?o property:day_in_year_for_periodic_occurrence ?v . ?o rdf:type ontology:holiday . ?v rdf:type ontology:day } UNION { ?o property:day_in_year_for_periodic_occurrence ?v . ?o rdf:type ontology:day . ?v rdf:type ontology:day } } GROUP BY ?v } . FILTER ( ?g = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154326
P180
Q1445650
USER
What is depcited in Annunciation ?
(Q154326,P180,c(Q1445650))
action filter_type
action find
entity Q154326
relation P180
type Q1445650
['Q154326', 'P180', {'concept': 'Q1445650'}]
SELECT DISTINCT ?c WHERE { resource:Q154326 property:P180 ?c . ?c rdf:type ontology:Q1445650 }
Annunciation
action filter_type
action find
entity Annunciation
relation depicts
type holiday
['Annunciation', 'depicts', {'concept': 'holiday'}]
SELECT DISTINCT ?c WHERE { resource:Annunciation property:depicts ?c . ?c rdf:type ontology:holiday }
[]
holiday
Q154326
SYSTEM
Annunciation
Q154326
(Q154326,P180,c(Q1445650))
action filter_type
action find
entity Q154326
relation P180
type Q1445650
In [ANSWER] is depcited in [ANSWER]
['Q154326', 'P180', {'concept': 'Q1445650'}]
SELECT DISTINCT ?c WHERE { resource:Q154326 property:P180 ?c . ?c rdf:type ontology:Q1445650 }
Annunciation
In Annunciation is depcited in Annunciation
Annunciation
action filter_type
action find
entity Annunciation
relation depicts
type holiday
['Annunciation', 'depicts', {'concept': 'holiday'}]
SELECT DISTINCT ?c WHERE { resource:Annunciation property:depicts ?c . ?c rdf:type ontology:holiday }
[]