Simple Question (Direct)
Simple Question
Q5735277
P106
Q151885
USER
What is the profession of Herbert Polzhuber ?
(Q5735277,P106,c(Q151885))
action filter_type
action find
entity Q5735277
relation P106
type Q151885
['Q5735277', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q5735277 property:P106 ?h . ?h rdf:type ontology:Q151885 }
Herbert Polzhuber
action filter_type
action find
entity Herbert Polzhuber
relation occupation
type concept
['Herbert Polzhuber', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Herbert_Polzhuber property:occupation ?h . ?h rdf:type ontology:concept }
[]
concept
Q13381863
SYSTEM
fencer
Q13381863
(Q5735277,P106,c(Q151885))
action filter_type
action find
entity Q5735277
relation P106
type Q151885
The profession of Herbert Polzhuber is the [ANSWER]
['Q5735277', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?h WHERE { resource:Q5735277 property:P106 ?h . ?h rdf:type ontology:Q151885 }
fencer
The profession of Herbert Polzhuber is the fencer
fencer
action filter_type
action find
entity Herbert Polzhuber
relation occupation
type concept
['Herbert Polzhuber', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?h WHERE { resource:Herbert_Polzhuber property:occupation ?h . ?h rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5735277
P21
Q290
USER
What is the sex of that person ?
(Q13381863,P21,c(Q290))
action filter_type
action find
entity Q5735277
relation P21
type Q290
['Q13381863', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q5735277 property:P21 ?g . ?g rdf:type ontology:Q290 }
Herbert Polzhuber
action filter_type
action find
entity Herbert Polzhuber
relation gender
type sex
['fencer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Herbert_Polzhuber property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q13381863,P21,c(Q290))
action filter_type
action find
entity Q5735277
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q13381863', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q5735277 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Herbert Polzhuber
relation gender
type sex
['fencer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Herbert_Polzhuber property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5735277
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q5735277
relation P27
type Q1048835
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q5735277 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Herbert Polzhuber
action filter_type
action find
entity Herbert Polzhuber
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Herbert_Polzhuber property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q6581097,P27,c(Q1048835))
action filter_type
action find
entity Q5735277
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q6581097', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q5735277 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Austria
Austria is the native country of that person
Austria
action filter_type
action find
entity Herbert Polzhuber
relation country of citizenship
type political territorial entity
['male', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Herbert_Polzhuber property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q40 Q11527904
P35
Q502895
USER
Is Sadao Shoji elected as the head of state of that political territory ?
(Q40,P35,Q11527904)
action is_in
entity Q11527904
action find
entity Q40
relation P35
['Q40', 'P35', 'Q11527904']
ASK WHERE { resource:Q40 property:P35 resource:Q11527904 }
Austria Sadao Shoji
action is_in
entity Sadao Shoji
action find
entity Austria
relation head of state
['Austria', 'head of state', 'Sadao Shoji']
ASK WHERE { resource:Austria property:head_of_state resource:Sadao_Shoji }
[]
common name
SYSTEM
NO
(Q40,P35,Q11527904)
action is_in
entity Q11527904
action find
entity Q40
relation P35
[ANSWER]
['Q40', 'P35', 'Q11527904']
ASK WHERE { resource:Q40 property:P35 resource:Q11527904 }
No
action is_in
entity Sadao Shoji
action find
entity Austria
relation head of state
['Austria', 'head of state', 'Sadao Shoji']
ASK WHERE { resource:Austria property:head_of_state resource:Sadao_Shoji }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q869
P530
Q15617994 Q1048835
USER
How many administrative territories have diplomatic relationships with lesser number of political territories than Thailand ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q869
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q869 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } . FILTER ( ?n < ?z ) }
Thailand
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Thailand property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } . FILTER ( ?n < ?z ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
84
Q702 Q805 Q262 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q869
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Q869 property:P530 ?p . ?p rdf:type ontology:Q1048835 } } . FILTER ( ?n < ?z ) }
Federated States of Micronesia Yemen Algeria Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
84
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Thailand
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?c ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?m ) AS ?n ) WHERE { ?m property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { resource:Thailand property:diplomatic_relation ?p . ?p rdf:type ontology:political_territorial_entity } } . FILTER ( ?n < ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q96
P530
Q15617994 Q1048835
USER
And also tell me about Mexico?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?w ) WHERE { ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 . ?f property:P530 ?v } GROUP BY ?v } . FILTER ( ?w < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q96 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
Mexico
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?w ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?v } GROUP BY ?v } . FILTER ( ?w < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Mexico property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
84
Q702 Q805 Q262 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q792 Q790 Q958 Q986 Q822 Q241 Q242 Q244 Q32 Q929 Q983 Q29999 Q854 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q238 Q1045 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q228 Q227 Q222 Q221 Q1037 Q974 Q1032 Q191 Q965 Q967 Q962 Q697 Q695 Q754 Q211 Q217 Q214 Q912 Q917 Q1007 Q1006 Q1005 Q977 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q948 Q817 Q1019 Q1016 Q1011 Q945 Q678 Q33788
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?w ) WHERE { ?v rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 . ?f property:P530 ?v } GROUP BY ?v } . FILTER ( ?w < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Q96 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Yemen Algeria Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad El Salvador Haiti South Sudan Eritrea Lebanon Cuba Belize Barbados Luxembourg Central African Republic Equatorial Guinea Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan San Marino Somalia Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Andorra Azerbaijan Albania Republic of Macedonia Rwanda Democratic Republic of the Congo Niger Estonia Burkina Faso Burundi Benin Nauru Palau Trinidad and Tobago Latvia Republic of Moldova Slovakia Mali Bhutan Guinea-Bissau Guinea Gambia Djibouti Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Tunisia Kuwait Madagascar Libya Cape Verde Togo Tonga New Caledonia
84
action count
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?w ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?v } GROUP BY ?v } . FILTER ( ?w < ?p ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { resource:Mexico property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40
P1001
Q573
USER
Which day presides the jurisdiction over Austria ?
(c(Q573),P1001,Q40)
action filter_type
action find_reverse
entity Q40
relation P1001
type Q573
[{'concept': 'Q573'}, 'P1001', 'Q40']
SELECT DISTINCT ?e WHERE { ?e property:P1001 resource:Q40 . ?e rdf:type ontology:Q573 }
Austria
action filter_type
action find_reverse
entity Austria
relation applies to jurisdiction
type day
[{'concept': 'day'}, 'applies to jurisdiction', 'Austria']
SELECT DISTINCT ?e WHERE { ?e property:applies_to_jurisdiction resource:Austria . ?e rdf:type ontology:day }
[]
day
Q876608
SYSTEM
Public holidays in Austria
Q876608
(c(Q573),P1001,Q40)
action filter_type
action find_reverse
entity Q40
relation P1001
type Q573
Austria [ANSWER] presides the jurisdiction over Austria
[{'concept': 'Q573'}, 'P1001', 'Q40']
SELECT DISTINCT ?e WHERE { ?e property:P1001 resource:Q40 . ?e rdf:type ontology:Q573 }
Public holidays in Austria
Austria Public holidays in Austria presides the jurisdiction over Austria
Public holidays in Austria
action filter_type
action find_reverse
entity Austria
relation applies to jurisdiction
type day
[{'concept': 'day'}, 'applies to jurisdiction', 'Austria']
SELECT DISTINCT ?e WHERE { ?e property:applies_to_jurisdiction resource:Austria . ?e rdf:type ontology:day }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2276
P837
Q573 Q573
USER
Which days do lesser number of days occur than January 23 ?
(c(Q573),P837,c(Q573))
action less
action find_reverse_tuple_counts
relation P837
type Q573
type Q573
action count
action filter_type
action find_reverse
entity Q2276
relation P837
type Q573
[{'concept': 'Q573'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P837 ?l . ?l rdf:type ontology:Q573 . ?e rdf:type ontology:Q573 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P837 resource:Q2276 . ?p rdf:type ontology:Q573 } } . FILTER ( ?q < ?s ) }
January 23
action less
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type day
action count
action filter_type
action find_reverse
entity January 23
relation day in year for periodic occurrence
type day
[{'concept': 'day'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:day_in_year_for_periodic_occurrence ?l . ?l rdf:type ontology:day . ?e rdf:type ontology:day } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:day_in_year_for_periodic_occurrence resource:January_23 . ?p rdf:type ontology:day } } . FILTER ( ?q < ?s ) }
[]
day day
Q2454 Q2457 Q2459
SYSTEM
March 25, March 27, March 29
Q2454 Q2457 Q2247 Q2248 Q2459 Q2456 Q7452083 Q2168 Q2427 Q2691 Q2278 Q2273 Q2238 Q2284 Q2435 Q2433 Q2282 Q2825 Q2823
(c(Q573),P837,c(Q573))
action less
action find_reverse_tuple_counts
relation P837
type Q573
type Q573
action count
action filter_type
action find_reverse
entity Q2276
relation P837
type Q573
Lesser number of days occur on [ANSWERS] than January 23
[{'concept': 'Q573'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:P837 ?l . ?l rdf:type ontology:Q573 . ?e rdf:type ontology:Q573 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P837 resource:Q2276 . ?p rdf:type ontology:Q573 } } . FILTER ( ?q < ?s ) }
March 25 March 27 January 11 January 12 March 29 March 26 September 15 January 4 March 20 July 14 January 24 January 21 January 9 January 27 March 22 March 21 January 26 August 24 August 21
Lesser number of days occur on March 25, March 27 and March 29 than January 23
March 25 March 27 March 29
action less
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type day
action count
action filter_type
action find_reverse
entity January 23
relation day in year for periodic occurrence
type day
[{'concept': 'day'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?e ) AS ?q ) WHERE { ?e property:day_in_year_for_periodic_occurrence ?l . ?l rdf:type ontology:day . ?e rdf:type ontology:day } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:day_in_year_for_periodic_occurrence resource:January_23 . ?p rdf:type ontology:day } } . FILTER ( ?q < ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2221
P837
Q573 Q573
USER
And how about January 6?
(c(Q573),P837,c(Q573))
action less
action find_reverse_tuple_counts
relation P837
type Q573
type Q573
action count
action filter_type
action find_reverse
entity Q2221
relation P837
type Q573
[{'concept': 'Q573'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P837 ?d . ?s rdf:type ontology:Q573 . ?d rdf:type ontology:Q573 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P837 resource:Q2221 . ?y rdf:type ontology:Q573 } } . FILTER ( ?l < ?f ) }
January 6
action less
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type day
action count
action filter_type
action find_reverse
entity January 6
relation day in year for periodic occurrence
type day
[{'concept': 'day'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:day_in_year_for_periodic_occurrence ?d . ?s rdf:type ontology:day . ?d rdf:type ontology:day } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:day_in_year_for_periodic_occurrence resource:January_6 . ?y rdf:type ontology:day } } . FILTER ( ?l < ?f ) }
[]
day day
Q2454 Q2457 Q2459
SYSTEM
March 25, March 27, March 29
Q2454 Q2457 Q2247 Q2248 Q2459 Q2456 Q7452083 Q2168 Q2427 Q2691 Q2278 Q2273 Q2238 Q2284 Q2435 Q2433 Q2282 Q2825 Q2823
(c(Q573),P837,c(Q573))
action less
action find_reverse_tuple_counts
relation P837
type Q573
type Q573
action count
action filter_type
action find_reverse
entity Q2221
relation P837
type Q573
[ANSWERS]
[{'concept': 'Q573'}, 'P837', {'concept': 'Q573'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:P837 ?d . ?s rdf:type ontology:Q573 . ?d rdf:type ontology:Q573 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P837 resource:Q2221 . ?y rdf:type ontology:Q573 } } . FILTER ( ?l < ?f ) }
March 25 March 27 January 11 January 12 March 29 March 26 September 15 January 4 March 20 July 14 January 24 January 21 January 9 January 27 March 22 March 21 January 26 August 24 August 21
March 25 March 27 March 29
action less
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type day
type day
action count
action filter_type
action find_reverse
entity January 6
relation day in year for periodic occurrence
type day
[{'concept': 'day'}, 'day in year for periodic occurrence', {'concept': 'day'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?l ) WHERE { ?s property:day_in_year_for_periodic_occurrence ?d . ?s rdf:type ontology:day . ?d rdf:type ontology:day } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:day_in_year_for_periodic_occurrence resource:January_6 . ?y rdf:type ontology:day } } . FILTER ( ?l < ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q11244589
P837
Q573 Q186081 Q573
USER
How many days falls on greater number of days and time intervals than Law Day, U.S.A. ?
(c(Q573),P837,c(Q573)|c(Q186081))
action count
action greater
action union
action find_tuple_counts
relation P837
type Q573
type Q573
action find_tuple_counts
relation P837
type Q573
type Q186081
action count
action filter_multi_types
action find
entity Q11244589
relation P837
type Q573
type Q186081
[{'concept': 'Q573'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q11244589 property:P837 ?n . { VALUES ( ?z ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?n rdf:type ?z } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?m WHERE { { ?m property:P837 ?u . ?m rdf:type ontology:Q573 . ?u rdf:type ontology:Q573 } UNION { ?m property:P837 ?u . ?m rdf:type ontology:Q573 . ?u rdf:type ontology:Q186081 } } GROUP BY ?m } }
Law Day, U.S.A.
action count
action greater
action union
action find_tuple_counts
relation day in year for periodic occurrence
type day
type day
action find_tuple_counts
relation day in year for periodic occurrence
type day
type time interval
action count
action filter_multi_types
action find
entity Law Day, U.S.A.
relation day in year for periodic occurrence
type day
type time interval
[{'concept': 'day'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Law_Day,_U.S.A. property:day_in_year_for_periodic_occurrence ?n . { VALUES ( ?z ) { ( ontology:time_interval ) ( ontology:day ) } . ?n rdf:type ?z } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?m WHERE { { ?m property:day_in_year_for_periodic_occurrence ?u . ?m rdf:type ontology:day . ?u rdf:type ontology:day } UNION { ?m property:day_in_year_for_periodic_occurrence ?u . ?m rdf:type ontology:day . ?u rdf:type ontology:time_interval } } GROUP BY ?m } }
[]
day time interval day
SYSTEM
23
Q5368985 Q7116293 Q4158133 Q4114082 Q1961932 Q2578183 Q3135940 Q501685 Q719651 Q2395663 Q2792065 Q2338650 Q129726 Q152662 Q35146 Q2511873 Q135856 Q833147 Q72900 Q803181 Q8152262 Q1969422 Q2613579
(c(Q573),P837,c(Q573)|c(Q186081))
action count
action greater
action union
action find_tuple_counts
relation P837
type Q573
type Q573
action find_tuple_counts
relation P837
type Q573
type Q186081
action count
action filter_multi_types
action find
entity Q11244589
relation P837
type Q573
type Q186081
[ANSWER]
[{'concept': 'Q573'}, 'P837', [{'concept': 'Q573'}, {'concept': 'Q186081'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Q11244589 property:P837 ?n . { VALUES ( ?z ) { ( ontology:Q186081 ) ( ontology:Q573 ) } . ?n rdf:type ?z } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?m WHERE { { ?m property:P837 ?u . ?m rdf:type ontology:Q573 . ?u rdf:type ontology:Q573 } UNION { ?m property:P837 ?u . ?m rdf:type ontology:Q573 . ?u rdf:type ontology:Q186081 } } GROUP BY ?m } }
Emancipation Day Oynyena Maria Peter and Fevronia Day Vodokres Malanka Elijah's day atanasov den Translation of the Relics of Saint Nicholas from Myra to Bari St. Barbara Day wikieng Babinden Feast of Saint Mark St. Catherine's Day St. Andrew's Day Candlemas Beheading of St. John the Baptist Koleda Vidovdan Saint Blaise's feast day Republic Day Kupala Night Savior of the Apple Feast Day Distaff Day
23
action count
action greater
action union
action find_tuple_counts
relation day in year for periodic occurrence
type day
type day
action find_tuple_counts
relation day in year for periodic occurrence
type day
type time interval
action count
action filter_multi_types
action find
entity Law Day, U.S.A.
relation day in year for periodic occurrence
type day
type time interval
[{'concept': 'day'}, 'day in year for periodic occurrence', [{'concept': 'day'}, {'concept': 'time interval'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { resource:Law_Day,_U.S.A. property:day_in_year_for_periodic_occurrence ?n . { VALUES ( ?z ) { ( ontology:time_interval ) ( ontology:day ) } . ?n rdf:type ?z } } } . FILTER ( ?v > ?x ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?v ) ?m WHERE { { ?m property:day_in_year_for_periodic_occurrence ?u . ?m rdf:type ontology:day . ?u rdf:type ontology:day } UNION { ?m property:day_in_year_for_periodic_occurrence ?u . ?m rdf:type ontology:day . ?u rdf:type ontology:time_interval } } GROUP BY ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2454
P361
Q1790144
USER
Which unit of time is March 25 a component of ?
(Q2454,P361,c(Q1790144))
action filter_type
action find
entity Q2454
relation P361
type Q1790144
['Q2454', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?g WHERE { resource:Q2454 property:P361 ?g . ?g rdf:type ontology:Q1790144 }
March 25
action filter_type
action find
entity March 25
relation part of
type unit of time
['March 25', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?g WHERE { resource:March_25 property:part_of ?g . ?g rdf:type ontology:unit_of_time }
[]
unit of time
Q110
SYSTEM
March
Q110
(Q2454,P361,c(Q1790144))
action filter_type
action find
entity Q2454
relation P361
type Q1790144
Is [ANSWER] is [ANSWER] 25 a component of
['Q2454', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?g WHERE { resource:Q2454 property:P361 ?g . ?g rdf:type ontology:Q1790144 }
March
Is March is March 25 a component of
March
action filter_type
action find
entity March 25
relation part of
type unit of time
['March 25', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?g WHERE { resource:March_25 property:part_of ?g . ?g rdf:type ontology:unit_of_time }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q30203
Q1790144
USER
And also tell me about 69?
(Q30203,P361,c(Q1790144))
action filter_type
action find
entity Q30203
relation P361
type Q1790144
['Q30203', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?p WHERE { resource:Q30203 property:P361 ?p . ?p rdf:type ontology:Q1790144 }
69
action filter_type
action find
entity 69
relation part of
type unit of time
['69', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?p WHERE { resource:69 property:part_of ?p . ?p rdf:type ontology:unit_of_time }
[]
unit of time
Q1286756
SYSTEM
60s
Q1286756
(Q30203,P361,c(Q1790144))
action filter_type
action find
entity Q30203
relation P361
type Q1790144
[ANSWER]
['Q30203', 'P361', {'concept': 'Q1790144'}]
SELECT DISTINCT ?p WHERE { resource:Q30203 property:P361 ?p . ?p rdf:type ontology:Q1790144 }
60s
60s
action filter_type
action find
entity 69
relation part of
type unit of time
['69', 'part of', {'concept': 'unit of time'}]
SELECT DISTINCT ?p WHERE { resource:69 property:part_of ?p . ?p rdf:type ontology:unit_of_time }
[]