Simple Question (Direct)
Simple Question
Q14806480
P463
Q186081
USER
Which time interval was Ondřej Benešík a member of ?
(Q14806480,P463,c(Q186081))
action filter_type
action find
entity Q14806480
relation P463
type Q186081
['Q14806480', 'P463', {'concept': 'Q186081'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q186081 . resource:Q14806480 property:P463 ?a }
Ondřej Benešík
action filter_type
action find
entity Ondřej Benešík
relation member of
type time interval
['Ondřej Benešík', 'member of', {'concept': 'time interval'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:time_interval . resource:Ondřej_Benešík property:member_of ?a }
[]
time interval
Q21140425
SYSTEM
7th Czech Legislature
Q21140425
(Q14806480,P463,c(Q186081))
action filter_type
action find
entity Q14806480
relation P463
type Q186081
[ANSWER] was Ondřej Benešík a member of
['Q14806480', 'P463', {'concept': 'Q186081'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q186081 . resource:Q14806480 property:P463 ?a }
7th Czech Legislature
7th Czech Legislature was Ondřej Benešík a member of
7th Czech Legislature
action filter_type
action find
entity Ondřej Benešík
relation member of
type time interval
['Ondřej Benešík', 'member of', {'concept': 'time interval'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:time_interval . resource:Ondřej_Benešík property:member_of ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q14806480
P27
Q15617994
USER
Which administrative territory is Ondřej Benešík a civilian of ?
(Q14806480,P27,c(Q15617994))
action filter_type
action find
entity Q14806480
relation P27
type Q15617994
['Q14806480', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q14806480 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Ondřej Benešík
action filter_type
action find
entity Ondřej Benešík
relation country of citizenship
type designation for an administrative territorial entity
['Ondřej Benešík', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ondřej_Benešík property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q14806480,P27,c(Q15617994))
action filter_type
action find
entity Q14806480
relation P27
type Q15617994
[ANSWER] is Ondřej Benešík a civilian of
['Q14806480', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q14806480 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic is Ondřej Benešík a civilian of
Czech Republic
action filter_type
action find
entity Ondřej Benešík
relation country of citizenship
type designation for an administrative territorial entity
['Ondřej Benešík', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ondřej_Benešík property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14806480
P102
Q7210356
USER
Which party does that person belong to ?
(Q213,P102,c(Q7210356))
action filter_type
action find
entity Q14806480
relation P102
type Q7210356
['Q213', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q14806480 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Ondřej Benešík
action filter_type
action find
entity Ondřej Benešík
relation member of political party
type political organization
['Czech Republic', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Ondřej_Benešík property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q1142687
SYSTEM
Christian and Democratic Union – Czechoslovak People's Party
Q1142687
(Q213,P102,c(Q7210356))
action filter_type
action find
entity Q14806480
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q213', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q14806480 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Christian and Democratic Union – Czechoslovak People's Party
That person belongs to Christian and Democratic Union – Czechoslovak People's Party
Christian and Democratic Union – Czechoslovak People's Party
action filter_type
action find
entity Ondřej Benešík
relation member of political party
type political organization
['Czech Republic', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Ondřej_Benešík property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P837
Q186081 Q1197685 Q573
USER
How many time intervals do exactly 1 public holidays and days occur ?
(c(Q1197685)|c(Q573),P837,c(Q186081))
action count
action equal
action union
action find_reverse_tuple_counts
relation P837
type Q186081
type Q1197685
action find_reverse_tuple_counts
relation P837
type Q186081
type Q573
value 1
[[{'concept': 'Q1197685'}, {'concept': 'Q573'}], 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u rdf:type ontology:Q186081 . ?t rdf:type ontology:Q1197685 . ?t property:P837 ?u } UNION { ?t property:P837 ?u . ?u rdf:type ontology:Q186081 . ?t rdf:type ontology:Q573 } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type public holiday
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type day
value 1
[[{'concept': 'public holiday'}, {'concept': 'day'}], 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u rdf:type ontology:time_interval . ?t rdf:type ontology:public_holiday . ?t property:day_in_year_for_periodic_occurrence ?u } UNION { ?t property:day_in_year_for_periodic_occurrence ?u . ?u rdf:type ontology:time_interval . ?t rdf:type ontology:day } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
[]
time interval public holiday day
SYSTEM
112
Q14873846 Q2578 Q2579 Q2576 Q14915111 Q2575 Q14795488 Q2901 Q21292031 Q14915973 Q14915825 Q14804622 Q2619 Q2616 Q2615 Q2613 Q14916790 Q2694 Q14827173 Q14795170 Q14915965 Q14914714 Q2355 Q2665 Q2662 Q2383 Q2788 Q2301 Q14832552 Q2782 Q2785 Q7076968 Q2990 Q2891 Q2890 Q2775 Q2949 Q2816 Q2524 Q14914700 Q2403 Q7076973 Q2728 Q3022 Q3021 Q2310 Q2924 Q2954 Q2955 Q2951 Q14914954 Q14916789 Q3020 Q14915817 Q7064772 Q14827163 Q2320 Q2692 Q2519 Q14914944 Q2923 Q14914947 Q14914941 Q14914943 Q2669 Q14914948 Q14914949 Q2670 Q2832 Q2716 Q4121525 Q14914953 Q2504 Q2964 Q2334 Q2332 Q14827171 Q2952 Q2395 Q2953 Q12407171 Q14914939 Q14914938 Q2820 Q2822 Q2913 Q2451 Q2303 Q14915587 Q2729 Q2700 Q2525 Q2787 Q2987 Q2982 Q14915827 Q2850 Q2581 Q2852 Q2585 Q2696 Q2299 Q2562 Q2698 Q2359 Q2352 Q2919 Q2668 Q2623 Q2849 Q2994 Q2624
(c(Q1197685)|c(Q573),P837,c(Q186081))
action count
action equal
action union
action find_reverse_tuple_counts
relation P837
type Q186081
type Q1197685
action find_reverse_tuple_counts
relation P837
type Q186081
type Q573
value 1
[ANSWER]
[[{'concept': 'Q1197685'}, {'concept': 'Q573'}], 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u rdf:type ontology:Q186081 . ?t rdf:type ontology:Q1197685 . ?t property:P837 ?u } UNION { ?t property:P837 ?u . ?u rdf:type ontology:Q186081 . ?t rdf:type ontology:Q573 } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
Easter + 56 days May 19 May 20 May 18 Easter - 52 days May 17 Easter - 2 days December 30 third Monday in November Easter + 6 days Easter - 5 days Easter + 60 days June 12 June 7 June 10 June 15 Easter + 4 days July 7 last Monday in May Easter + 1 day Easter + 5 days first Monday in August February 24 June 24 June 25 December 15 August 1 December 8 first Monday in September August 9 August 2 October 27 November 8 September 21 September 24 August 14 October 31 August 29 April 20 Easter - 3 days March 15 October 31 July 20 November 24 November 23 December 4 October 8 October 25 October 24 October 29 Easter - 63 days Easter + 3 days November 25 Easter - 4 days November 7 third Monday in January February 6 July 8 April 16 Easter - 14 days October 9 Easter - 49 days Easter - 47 days Easter - 48 days June 19 Easter - 56 days Easter - 21 days June 18 December 28 July 30 1 Muharram Easter - 57 days April 9 October 18 February 15 February 14 third Monday in February October 28 March 8 October 26 Seventh of Cheshvan Easter - 46 days Easter - 8 days August 26 August 27 October 1 December 19 December 6 Easter - 42 days July 17 July 1 April 21 August 6 November 11 November 15 Easter - 6 days September 8 May 22 September 7 May 25 July 5 December 7 May 15 July 4 February 26 February 23 October 15 June 23 June 3 September 12 November 4 June 2
112
action count
action equal
action union
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type public holiday
action find_reverse_tuple_counts
relation day in year for periodic occurrence
type time interval
type day
value 1
[[{'concept': 'public holiday'}, {'concept': 'day'}], 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?n ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?t ) AS ?y ) WHERE { { ?u rdf:type ontology:time_interval . ?t rdf:type ontology:public_holiday . ?t property:day_in_year_for_periodic_occurrence ?u } UNION { ?t property:day_in_year_for_periodic_occurrence ?u . ?u rdf:type ontology:time_interval . ?t rdf:type ontology:day } } GROUP BY ?u } . FILTER ( ?y = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q14806480
P106
Q12737077
USER
What is the job of that person ?
action filter_type
action find
entity Q14806480
relation P106
type Q12737077
SELECT DISTINCT ?n WHERE { resource:Q14806480 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Ondřej Benešík
action filter_type
action find
entity Ondřej Benešík
relation occupation
type occupation
SELECT DISTINCT ?n WHERE { resource:Ondřej_Benešík property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
action filter_type
action find
entity Q14806480
relation P106
type Q12737077
The job of that person is a [ANSWER]
SELECT DISTINCT ?n WHERE { resource:Q14806480 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Ondřej Benešík
relation occupation
type occupation
SELECT DISTINCT ?n WHERE { resource:Ondřej_Benešík property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q213
P47
Q15617994
USER
Which administrative territories are next to the border of Czech Republic ?
(c(Q15617994),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q213']
SELECT DISTINCT ?v WHERE { resource:Q213 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Czech Republic
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?v WHERE { resource:Czech_Republic property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q214
SYSTEM
Poland, Slovakia
Q36 Q214
(c(Q15617994),P47,Q213)
action filter_type
action find
entity Q213
relation P47
type Q15617994
[ANSWERS] are next to the border of Czech Republic
[{'concept': 'Q15617994'}, 'P47', 'Q213']
SELECT DISTINCT ?v WHERE { resource:Q213 property:P47 ?v . ?v rdf:type ontology:Q15617994 }
Poland Slovakia
Poland and Slovakia are next to the border of Czech Republic
Poland Slovakia
action filter_type
action find
entity Czech Republic
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Czech Republic']
SELECT DISTINCT ?v WHERE { resource:Czech_Republic property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36 Q214
P530
Q1048835
USER
Who have diplomatic relationships with those administrative territories ?
(Q36,P530,c(Q1048835)) (Q214,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
['Q36', 'P530', {'concept': 'Q1048835'}] ['Q214', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?j property:P530 ?z . VALUES ( ?j ) { ( resource:Q36 ) ( resource:Q214 ) } . ?z rdf:type ontology:Q1048835 }
Poland Slovakia
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Slovakia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?j property:diplomatic_relation ?z . VALUES ( ?j ) { ( resource:Poland ) ( resource:Slovakia ) } . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q183 Q408
SYSTEM
Australia for 3rd, Germany for 1st, 2nd
Q408 Q16 Q183 Q183
(Q36,P530,c(Q1048835)) (Q214,P530,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P530
type Q1048835
[ANSWERS]
['Q36', 'P530', {'concept': 'Q1048835'}] ['Q214', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { ?j property:P530 ?z . VALUES ( ?j ) { ( resource:Q36 ) ( resource:Q214 ) } . ?z rdf:type ontology:Q1048835 }
Australia Canada Germany Germany
Germany, Germany and Australia have diplomatic relationships with those administrative territories
Germany Germany Australia
action filter_type
action find
entity prev_answer
relation diplomatic relation
type political territorial entity
['Poland', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Slovakia', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { ?j property:diplomatic_relation ?z . VALUES ( ?j ) { ( resource:Poland ) ( resource:Slovakia ) } . ?z rdf:type ontology:political_territorial_entity }
[]