Simple Question (Direct)
Simple Question
Q2958066
P27
Q15617994
USER
Which administrative territory does Charles-François de Guilhem de Clermont-Lodève belong to ?
(Q2958066,P27,c(Q15617994))
action filter_type
action find
entity Q2958066
relation P27
type Q15617994
['Q2958066', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q2958066 property:P27 ?w }
Charles-François de Guilhem de Clermont-Lodève
action filter_type
action find
entity Charles-François de Guilhem de Clermont-Lodève
relation country of citizenship
type designation for an administrative territorial entity
['Charles-François de Guilhem de Clermont-Lodève', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Charles-François_de_Guilhem_de_Clermont-Lodève property:country_of_citizenship ?w }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2958066,P27,c(Q15617994))
action filter_type
action find
entity Q2958066
relation P27
type Q15617994
[ANSWER] Charles-François de Guilhem de Clermont-Lodève belongs to
['Q2958066', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q2958066 property:P27 ?w }
France
France Charles-François de Guilhem de Clermont-Lodève belongs to
France
action filter_type
action find
entity Charles-François de Guilhem de Clermont-Lodève
relation country of citizenship
type designation for an administrative territorial entity
['Charles-François de Guilhem de Clermont-Lodève', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Charles-François_de_Guilhem_de_Clermont-Lodève property:country_of_citizenship ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2958066
P21
Q290
USER
Which sex does Charles-François de Guilhem de Clermont-Lodève have ?
(Q2958066,P21,c(Q290))
action filter_type
action find
entity Q2958066
relation P21
type Q290
['Q2958066', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q2958066 property:P21 ?o . ?o rdf:type ontology:Q290 }
Charles-François de Guilhem de Clermont-Lodève
action filter_type
action find
entity Charles-François de Guilhem de Clermont-Lodève
relation gender
type sex
['Charles-François de Guilhem de Clermont-Lodève', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Charles-François_de_Guilhem_de_Clermont-Lodève property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2958066,P21,c(Q290))
action filter_type
action find
entity Q2958066
relation P21
type Q290
Charles-François de Guilhem de Clermont-Lodève has a [ANSWER]
['Q2958066', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q2958066 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Charles-François de Guilhem de Clermont-Lodève has a male
male
action filter_type
action find
entity Charles-François de Guilhem de Clermont-Lodève
relation gender
type sex
['Charles-François de Guilhem de Clermont-Lodève', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Charles-François_de_Guilhem_de_Clermont-Lodève property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23888192
Q290
USER
And what about Rowan Hazem Wageeh?
(Q23888192,P21,c(Q290))
action filter_type
action find
entity Q23888192
relation P21
type Q290
['Q23888192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q23888192 property:P21 ?x . ?x rdf:type ontology:Q290 }
Rowan Hazem Wageeh
action filter_type
action find
entity Rowan Hazem Wageeh
relation gender
type sex
['Rowan Hazem Wageeh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Rowan_Hazem_Wageeh property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q23888192,P21,c(Q290))
action filter_type
action find
entity Q23888192
relation P21
type Q290
[ANSWER]
['Q23888192', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q23888192 property:P21 ?x . ?x rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Rowan Hazem Wageeh
relation gender
type sex
['Rowan Hazem Wageeh', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:Rowan_Hazem_Wageeh property:gender ?x . ?x rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q389528
P1750
Q186081
USER
Which time interval is connected with Irene ?
(Q389528,P1750,c(Q186081))
action filter_type
action find
entity Q389528
relation P1750
type Q186081
['Q389528', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q186081 . resource:Q389528 property:P1750 ?f }
Irene
action filter_type
action find
entity Irene
relation name day
type time interval
['Irene', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:time_interval . resource:Irene property:name_day ?f }
[]
time interval
Q2507
SYSTEM
April 5
Q2507
(Q389528,P1750,c(Q186081))
action filter_type
action find
entity Q389528
relation P1750
type Q186081
[ANSWER] is connected with Irene
['Q389528', 'P1750', {'concept': 'Q186081'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q186081 . resource:Q389528 property:P1750 ?f }
April 5
April 5 is connected with Irene
April 5
action filter_type
action find
entity Irene
relation name day
type time interval
['Irene', 'name day', {'concept': 'time interval'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:time_interval . resource:Irene property:name_day ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2507
P361
Q5151
USER
Which month is that time interval a component of ?
(Q2507,P361,c(Q5151))
action filter_type
action find
entity Q2507
relation P361
type Q5151
['Q2507', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?w WHERE { resource:Q2507 property:P361 ?w . ?w rdf:type ontology:Q5151 }
April 5
action filter_type
action find
entity April 5
relation part of
type month
['April 5', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?w WHERE { resource:April_5 property:part_of ?w . ?w rdf:type ontology:month }
[]
month
Q118
SYSTEM
April
Q118
(Q2507,P361,c(Q5151))
action filter_type
action find
entity Q2507
relation P361
type Q5151
The [ANSWER] is that time interval a component of
['Q2507', 'P361', {'concept': 'Q5151'}]
SELECT DISTINCT ?w WHERE { resource:Q2507 property:P361 ?w . ?w rdf:type ontology:Q5151 }
April
The April is that time interval a component of
April
action filter_type
action find
entity April 5
relation part of
type month
['April 5', 'part of', {'concept': 'month'}]
SELECT DISTINCT ?w WHERE { resource:April_5 property:part_of ?w . ?w rdf:type ontology:month }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P837
Q186081 Q573 Q1197685
USER
Which time intervals do atleast 1 days and public holidays occur ?
(c(Q573)|c(Q1197685),P837,c(Q186081))
action atleast
action union
action find_reverse_tuple_counts
relation P837
type Q186081
type Q573
action find_reverse_tuple_counts
relation P837
type Q186081
type Q1197685
value 1
[[{'concept': 'Q573'}, {'concept': 'Q1197685'}], 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?v WHERE { { ?z property:P837 ?v . ?v rdf:type ontology:Q186081 . ?z rdf:type ontology:Q573 } UNION { ?z property:P837 ?v . ?v rdf:type ontology:Q186081 . ?z rdf:type ontology:Q1197685 } } GROUP BY ?v } }
action atleast
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 public holiday
value 1
[[{'concept': 'day'}, {'concept': 'public holiday'}], 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?v WHERE { { ?z property:day_in_year_for_periodic_occurrence ?v . ?v rdf:type ontology:time_interval . ?z rdf:type ontology:day } UNION { ?z property:day_in_year_for_periodic_occurrence ?v . ?v rdf:type ontology:time_interval . ?z rdf:type ontology:public_holiday } } GROUP BY ?v } }
[]
time interval day public holiday
Q2150 Q14795488 Q14915827
SYSTEM
January 1, Easter - 2 days, Easter - 6 days
Q14873846 Q2578 Q2579 Q2761 Q2576 Q14915111 Q2575 Q14795488 Q2901 Q21292031 Q2533 Q14915973 Q14915825 Q14804622 Q2619 Q2616 Q2615 Q2613 Q14916790 Q2379 Q2694 Q2672 Q14827173 Q14795170 Q14915965 Q2544 Q14914714 Q2355 Q2413 Q2665 Q2662 Q2383 Q2788 Q2301 Q14832552 Q2782 Q2785 Q7076968 Q2990 Q2891 Q2890 Q2774 Q2775 Q2949 Q2816 Q2524 Q14914700 Q2403 Q7076973 Q2728 Q2404 Q3022 Q3021 Q2315 Q2310 Q2150 Q2588 Q2924 Q2954 Q2955 Q2951 Q14914954 Q14916789 Q3020 Q2705 Q2555 Q14915817 Q7064772 Q2531 Q14827163 Q2313 Q2320 Q2692 Q2519 Q14914944 Q2923 Q14914947 Q14914941 Q14914943 Q2669 Q14914948 Q14914949 Q2670 Q2832 Q2716 Q4121525 Q14914953 Q2504 Q2964 Q2334 Q2335 Q2332 Q14827171 Q2952 Q2395 Q2953 Q12407171 Q3015 Q2829 Q14914939 Q14914938 Q2820 Q2822 Q2913 Q2451 Q2745 Q2303 Q14915587 Q2729 Q2700 Q2525 Q2787 Q2987 Q14915584 Q2982 Q14915827 Q2851 Q2850 Q2581 Q2852 Q2585 Q2696 Q2299 Q2562 Q2550 Q2699 Q2698 Q2359 Q2352 Q2919 Q2556 Q2668 Q2623 Q2620 Q2849 Q2994 Q2624 Q2625
(c(Q573)|c(Q1197685),P837,c(Q186081))
action atleast
action union
action find_reverse_tuple_counts
relation P837
type Q186081
type Q573
action find_reverse_tuple_counts
relation P837
type Q186081
type Q1197685
value 1
[ANSWERS] atleast 1 days and public holidays occur
[[{'concept': 'Q573'}, {'concept': 'Q1197685'}], 'P837', {'concept': 'Q186081'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?v WHERE { { ?z property:P837 ?v . ?v rdf:type ontology:Q186081 . ?z rdf:type ontology:Q573 } UNION { ?z property:P837 ?v . ?v rdf:type ontology:Q186081 . ?z rdf:type ontology:Q1197685 } } GROUP BY ?v } }
Easter + 56 days May 19 May 20 December 26 May 18 Easter - 52 days May 17 Easter - 2 days December 30 third Monday in November April 27 Easter + 6 days Easter - 5 days Easter + 60 days June 12 June 7 June 10 June 15 Easter + 4 days December 13 July 7 June 17 last Monday in May Easter + 1 day Easter + 5 days May 1 first Monday in August February 24 December 17 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 15 August 14 October 31 August 29 April 20 Easter - 3 days March 15 October 31 July 20 March 14 November 24 November 23 February 3 December 4 January 1 May 28 October 8 October 25 October 24 October 29 Easter - 63 days Easter + 3 days November 25 December 24 May 8 Easter - 4 days November 7 April 25 third Monday in January February 2 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 11 February 14 third Monday in February October 28 March 8 October 26 Seventh of Cheshvan November 30 August 19 Easter - 46 days Easter - 8 days August 26 August 27 October 1 December 19 December 25 December 6 Easter - 42 days July 17 July 1 April 21 August 6 November 11 Easter + 49 days November 15 Easter - 6 days September 11 September 8 May 22 September 7 May 25 July 5 December 7 May 15 May 5 July 3 July 4 February 26 February 23 October 15 May 9 June 23 June 3 June 6 September 12 November 4 June 2 June 1
January 1, Easter - 2 days and Easter - 6 days atleast 1 days and public holidays occur
January 1 Easter - 2 days Easter - 6 days
action atleast
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 public holiday
value 1
[[{'concept': 'day'}, {'concept': 'public holiday'}], 'day in year for periodic occurrence', {'concept': 'time interval'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?k >= 1 ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) ?v WHERE { { ?z property:day_in_year_for_periodic_occurrence ?v . ?v rdf:type ontology:time_interval . ?z rdf:type ontology:day } UNION { ?z property:day_in_year_for_periodic_occurrence ?v . ?v rdf:type ontology:time_interval . ?z rdf:type ontology:public_holiday } } GROUP BY ?v } }
[]