Simple Question (Direct)
Simple Question
Q3371333
P166
Q193622
USER
Which orders were Paul Gochet awarded with ?
(Q3371333,P166,c(Q193622))
action filter_type
action find
entity Q3371333
relation P166
type Q193622
['Q3371333', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?g WHERE { resource:Q3371333 property:P166 ?g . ?g rdf:type ontology:Q193622 }
Paul Gochet
action filter_type
action find
entity Paul Gochet
relation award received
type order
['Paul Gochet', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?g WHERE { resource:Paul_Gochet property:award_received ?g . ?g rdf:type ontology:order }
[]
order
Q17200714 Q16787468
SYSTEM
Commander of the Order of the Crown, Grand Officer of the Order of Leopold II
Q17200714 Q16787468
(Q3371333,P166,c(Q193622))
action filter_type
action find
entity Q3371333
relation P166
type Q193622
Paul Gochet were awarded Grand [ANSWERS]
['Q3371333', 'P166', {'concept': 'Q193622'}]
SELECT DISTINCT ?g WHERE { resource:Q3371333 property:P166 ?g . ?g rdf:type ontology:Q193622 }
Commander of the Order of the Crown Grand Officer of the Order of Leopold II
Paul Gochet were awarded Grand Commander of the Order of the Crown and Grand Officer of the Order of Leopold II
Commander of the Order of the Crown Grand Officer of the Order of Leopold II
action filter_type
action find
entity Paul Gochet
relation award received
type order
['Paul Gochet', 'award received', {'concept': 'order'}]
SELECT DISTINCT ?g WHERE { resource:Paul_Gochet property:award_received ?g . ?g rdf:type ontology:order }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17200714
P17
Q15617994
USER
Which administrative territory is Commander of the Order of the Crown located in ?
(Q17200714,P17,c(Q15617994))
action filter_type
action find
entity Q17200714
relation P17
type Q15617994
['Q17200714', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q17200714 property:P17 ?q }
Commander of the Order of the Crown
action filter_type
action find
entity Commander of the Order of the Crown
relation country
type designation for an administrative territorial entity
['Commander of the Order of the Crown', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Commander_of_the_Order_of_the_Crown property:country ?q }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q17200714,P17,c(Q15617994))
action filter_type
action find
entity Q17200714
relation P17
type Q15617994
Commander of the Order of the Crown is located in [ANSWER]
['Q17200714', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q17200714 property:P17 ?q }
Belgium
Commander of the Order of the Crown is located in Belgium
Belgium
action filter_type
action find
entity Commander of the Order of the Crown
relation country
type designation for an administrative territorial entity
['Commander of the Order of the Crown', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Commander_of_the_Order_of_the_Crown property:country ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q31
P1001
Q8436
USER
Which family has jurisdiction over that administrative territory ?
(c(Q8436),P1001,Q31)
action filter_type
action find_reverse
entity Q31
relation P1001
type Q8436
[{'concept': 'Q8436'}, 'P1001', 'Q31']
SELECT DISTINCT ?z WHERE { ?z property:P1001 resource:Q31 . ?z rdf:type ontology:Q8436 }
Belgium
action filter_type
action find_reverse
entity Belgium
relation applies to jurisdiction
type family
[{'concept': 'family'}, 'applies to jurisdiction', 'Belgium']
SELECT DISTINCT ?z WHERE { ?z property:applies_to_jurisdiction resource:Belgium . ?z rdf:type ontology:family }
[]
family
Q1753846
SYSTEM
House of Saxe-Coburg and Gotha
Q1753846
(c(Q8436),P1001,Q31)
action filter_type
action find_reverse
entity Q31
relation P1001
type Q8436
[ANSWER] has jurisdiction over that administrative territory
[{'concept': 'Q8436'}, 'P1001', 'Q31']
SELECT DISTINCT ?z WHERE { ?z property:P1001 resource:Q31 . ?z rdf:type ontology:Q8436 }
House of Saxe-Coburg and Gotha
House of Saxe-Coburg and Gotha has jurisdiction over that administrative territory
House of Saxe-Coburg and Gotha
action filter_type
action find_reverse
entity Belgium
relation applies to jurisdiction
type family
[{'concept': 'family'}, 'applies to jurisdiction', 'Belgium']
SELECT DISTINCT ?z WHERE { ?z property:applies_to_jurisdiction resource:Belgium . ?z rdf:type ontology:family }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1001
Q15617994 Q7275
USER
How many administrative territories or states come under the supervision of that family ?
(Q1753846,P1001,c(Q15617994)) (Q1753846,P1001,c(Q7275)) (Q1753846,P1001,c(Q15617994)) (Q1753846,P1001,c(Q7275))
action count
action union
action filter_type
action find
entity Q1753846
relation P1001
type Q15617994
action filter_type
action find
entity Q1753846
relation P1001
type Q7275
['Q1753846', 'P1001', {'concept': 'Q15617994'}] ['Q1753846', 'P1001', {'concept': 'Q7275'}] ['Q1753846', 'P1001', {'concept': 'Q15617994'}] ['Q1753846', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Q1753846 property:P1001 ?n . ?n rdf:type ontology:Q15617994 } UNION { resource:Q1753846 property:P1001 ?n . ?n rdf:type ontology:Q7275 } }
action count
action union
action filter_type
action find
entity House of Saxe-Coburg and Gotha
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity House of Saxe-Coburg and Gotha
relation applies to jurisdiction
type state
['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'state'}] ['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:House_of_Saxe-Coburg_and_Gotha property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:House_of_Saxe-Coburg_and_Gotha property:applies_to_jurisdiction ?n . ?n rdf:type ontology:state } }
[]
designation for an administrative territorial entity state
SYSTEM
4
Q31 Q174193 Q147909 Q3462133
(Q1753846,P1001,c(Q15617994)) (Q1753846,P1001,c(Q7275)) (Q1753846,P1001,c(Q15617994)) (Q1753846,P1001,c(Q7275))
action count
action union
action filter_type
action find
entity Q1753846
relation P1001
type Q15617994
action filter_type
action find
entity Q1753846
relation P1001
type Q7275
[ANSWER]
['Q1753846', 'P1001', {'concept': 'Q15617994'}] ['Q1753846', 'P1001', {'concept': 'Q7275'}] ['Q1753846', 'P1001', {'concept': 'Q15617994'}] ['Q1753846', 'P1001', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:Q1753846 property:P1001 ?n . ?n rdf:type ontology:Q15617994 } UNION { resource:Q1753846 property:P1001 ?n . ?n rdf:type ontology:Q7275 } }
Belgium United Kingdom of Great Britain and Ireland Kingdom of Bulgaria Saxe-Coburg and Gotha
4
action count
action union
action filter_type
action find
entity House of Saxe-Coburg and Gotha
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity House of Saxe-Coburg and Gotha
relation applies to jurisdiction
type state
['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'state'}] ['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['House of Saxe-Coburg and Gotha', 'applies to jurisdiction', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { { resource:House_of_Saxe-Coburg_and_Gotha property:applies_to_jurisdiction ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:House_of_Saxe-Coburg_and_Gotha property:applies_to_jurisdiction ?n . ?n rdf:type ontology:state } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1753846
P112
Q502895
USER
Which person founded that family ?
action filter_type
action find
entity Q1753846
relation P112
type Q502895
SELECT DISTINCT ?a WHERE { resource:Q1753846 property:P112 ?a . ?a rdf:type ontology:Q502895 }
House of Saxe-Coburg and Gotha
action filter_type
action find
entity House of Saxe-Coburg and Gotha
relation founder
type common name
SELECT DISTINCT ?a WHERE { resource:House_of_Saxe-Coburg_and_Gotha property:founder ?a . ?a rdf:type ontology:common_name }
[]
common name
Q58770
SYSTEM
Ernest I, Duke of Saxe-Coburg and Gotha
Q58770
action filter_type
action find
entity Q1753846
relation P112
type Q502895
[ANSWER] founded that family
SELECT DISTINCT ?a WHERE { resource:Q1753846 property:P112 ?a . ?a rdf:type ontology:Q502895 }
Ernest I, Duke of Saxe-Coburg and Gotha
Ernest I, Duke of Saxe-Coburg and Gotha founded that family
Ernest I, Duke of Saxe-Coburg and Gotha
action filter_type
action find
entity House of Saxe-Coburg and Gotha
relation founder
type common name
SELECT DISTINCT ?a WHERE { resource:House_of_Saxe-Coburg_and_Gotha property:founder ?a . ?a rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q58770 Q19286810
P22
Q502895
USER
Was Johann Joseph Meisburger the dad of that one ?
(Q58770,P22,Q19286810)
action is_in
entity Q19286810
action find
entity Q58770
relation P22
['Q58770', 'P22', 'Q19286810']
ASK WHERE { resource:Q58770 property:P22 resource:Q19286810 }
Ernest I, Duke of Saxe-Coburg and Gotha Johann Joseph Meisburger
action is_in
entity Johann Joseph Meisburger
action find
entity Ernest I, Duke of Saxe-Coburg and Gotha
relation father
['Ernest I, Duke of Saxe-Coburg and Gotha', 'father', 'Johann Joseph Meisburger']
ASK WHERE { resource:Ernest_I,_Duke_of_Saxe-Coburg_and_Gotha property:father resource:Johann_Joseph_Meisburger }
[]
common name
SYSTEM
NO
(Q58770,P22,Q19286810)
action is_in
entity Q19286810
action find
entity Q58770
relation P22
[ANSWER]
['Q58770', 'P22', 'Q19286810']
ASK WHERE { resource:Q58770 property:P22 resource:Q19286810 }
No
action is_in
entity Johann Joseph Meisburger
action find
entity Ernest I, Duke of Saxe-Coburg and Gotha
relation father
['Ernest I, Duke of Saxe-Coburg and Gotha', 'father', 'Johann Joseph Meisburger']
ASK WHERE { resource:Ernest_I,_Duke_of_Saxe-Coburg_and_Gotha property:father resource:Johann_Joseph_Meisburger }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can around 1740 people perform with ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1740
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?t = 1740 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1740
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?t = 1740 ) }
[]
musical instrument common name
Q80284 Q46185 Q80019
SYSTEM
viola, bass guitar, double bass
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1740
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?t = 1740 ) }
viola bass guitar double bass trumpet cello organ drum kit
Which musical instruments can around 1740 people perform with
viola bass guitar double bass
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1740
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?c ) AS ?t ) WHERE { ?c property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?t = 1740 ) }
[]