Simple Question (Direct)
Simple Question
Q519977
P40
Q502895
USER
Which person is an offspring of André Jolly ?
(Q519977,P40,c(Q502895))
action filter_type
action find
entity Q519977
relation P40
type Q502895
['Q519977', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q519977 property:P40 ?y . ?y rdf:type ontology:Q502895 }
André Jolly
action filter_type
action find
entity André Jolly
relation child
type common name
['André Jolly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:André_Jolly property:child ?y . ?y rdf:type ontology:common_name }
[]
common name
Q23901671
SYSTEM
Ferdinand Jolly
Q23901671
(Q519977,P40,c(Q502895))
action filter_type
action find
entity Q519977
relation P40
type Q502895
[ANSWER] is an offspring of André Jolly
['Q519977', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q519977 property:P40 ?y . ?y rdf:type ontology:Q502895 }
Ferdinand Jolly
Ferdinand Jolly is an offspring of André Jolly
Ferdinand Jolly
action filter_type
action find
entity André Jolly
relation child
type common name
['André Jolly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:André_Jolly property:child ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q519977
P20
Q515
USER
Where did the expiration of André Jolly occur ?
(Q519977,P20,c(Q515))
action filter_type
action find
entity Q519977
relation P20
type Q515
['Q519977', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q519977 property:P20 ?p . ?p rdf:type ontology:Q515 }
André Jolly
action filter_type
action find
entity André Jolly
relation place of death
type city
['André Jolly', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:André_Jolly property:place_of_death ?p . ?p rdf:type ontology:city }
[]
city
Q9005
SYSTEM
Brussels
Q9005
(Q519977,P20,c(Q515))
action filter_type
action find
entity Q519977
relation P20
type Q515
The expiration of André Jolly occurred in [ANSWER]
['Q519977', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?p WHERE { resource:Q519977 property:P20 ?p . ?p rdf:type ontology:Q515 }
Brussels
The expiration of André Jolly occurred in Brussels
Brussels
action filter_type
action find
entity André Jolly
relation place of death
type city
['André Jolly', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?p WHERE { resource:André_Jolly property:place_of_death ?p . ?p rdf:type ontology:city }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q519977
P21 P22
Q502895
USER
Which people have André Jolly as a parent and are a male ?
AND((c(Q502895),P22,Q519977), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q519977
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q519977'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P21 resource:Q6581097 . ?w property:P22 resource:Q519977 }
male André Jolly
action filter_type
action intersection
action find_reverse
entity André Jolly
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'André Jolly'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:gender resource:male . ?w property:father resource:André_Jolly }
[]
common name
Q17351366 Q23901671
SYSTEM
Oscar Jolly, Ferdinand Jolly
Q17351366 Q23901671
AND((c(Q502895),P22,Q519977), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q519977
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have André Jolly as a parent and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q519977'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . ?w property:P21 resource:Q6581097 . ?w property:P22 resource:Q519977 }
Oscar Jolly Ferdinand Jolly
Oscar Jolly and Ferdinand Jolly have André Jolly as a parent and are a male
Oscar Jolly Ferdinand Jolly
action filter_type
action intersection
action find_reverse
entity André Jolly
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'André Jolly'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . ?w property:gender resource:male . ?w property:father resource:André_Jolly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23901671
P19
Q56061
USER
How many administrative territories were Ferdinand Jolly born in ?
(Q23901671,P19,c(Q56061))
action count
action filter_type
action find
entity Q23901671
relation P19
type Q56061
['Q23901671', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q23901671 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Ferdinand Jolly
action count
action filter_type
action find
entity Ferdinand Jolly
relation place of birth
type administrative territorial entity
['Ferdinand Jolly', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Ferdinand_Jolly property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q239
(Q23901671,P19,c(Q56061))
action count
action filter_type
action find
entity Q23901671
relation P19
type Q56061
[ANSWER]
['Q23901671', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Q23901671 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Brussels
1
action count
action filter_type
action find
entity Ferdinand Jolly
relation place of birth
type administrative territorial entity
['Ferdinand Jolly', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { resource:Ferdinand_Jolly property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q16269568
P19
Q56061
USER
And how about Sylvie Payette?
(Q16269568,P19,c(Q56061))
action count
action filter_type
action find
entity Q16269568
relation P19
type Q56061
['Q16269568', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:Q56061 . resource:Q16269568 property:P19 ?u }
Sylvie Payette
action count
action filter_type
action find
entity Sylvie Payette
relation place of birth
type administrative territorial entity
['Sylvie Payette', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Sylvie_Payette property:place_of_birth ?u }
[]
administrative territorial entity
SYSTEM
1
Q340
(Q16269568,P19,c(Q56061))
action count
action filter_type
action find
entity Q16269568
relation P19
type Q56061
[ANSWER]
['Q16269568', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:Q56061 . resource:Q16269568 property:P19 ?u }
Montreal
1
action count
action filter_type
action find
entity Sylvie Payette
relation place of birth
type administrative territorial entity
['Sylvie Payette', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { ?u rdf:type ontology:administrative_territorial_entity . resource:Sylvie_Payette property:place_of_birth ?u }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q6722501
Q56061
USER
And what about Verónica Macamo?
(Q6722501,P19,c(Q56061))
action count
action filter_type
action find
entity Q6722501
relation P19
type Q56061
['Q6722501', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q56061 . resource:Q6722501 property:P19 ?l }
Verónica Macamo
action count
action filter_type
action find
entity Verónica Macamo
relation place of birth
type administrative territorial entity
['Verónica Macamo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Verónica_Macamo property:place_of_birth ?l }
[]
administrative territorial entity
SYSTEM
1
(Q6722501,P19,c(Q56061))
action count
action filter_type
action find
entity Q6722501
relation P19
type Q56061
[ANSWER]
['Q6722501', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q56061 . resource:Q6722501 property:P19 ?l }
1
action count
action filter_type
action find
entity Verónica Macamo
relation place of birth
type administrative territorial entity
['Verónica Macamo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Verónica_Macamo property:place_of_birth ?l }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by exactly 5 people ?
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?d = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?f } }
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?d = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?f } }
[]
musical instrument common name
Q213461 Q213100
SYSTEM
harmonium, tabla
Q213461 Q213100
(c(Q502895),P1303,c(Q34379))
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 5
[ANSWERS] are played by exactly 5 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?d = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?f } }
harmonium tabla
Harmonium and tabla are played by exactly 5 people
harmonium tabla
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 5
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?d = 5 ) . { SELECT DISTINCT ?f ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q519977 Q2608870
P106
Q12737077
USER
How many occupations are the professions of André Jolly or Bowser Jr. Koopa ?
(Q519977,P106,c(Q12737077)) (Q2608870,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q519977
relation P106
type Q12737077
action filter_type
action find
entity Q2608870
relation P106
type Q12737077
['Q519977', 'P106', {'concept': 'Q12737077'}] ['Q2608870', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:Q12737077 . resource:Q519977 property:P106 ?r } UNION { ?r rdf:type ontology:Q12737077 . resource:Q2608870 property:P106 ?r } }
André Jolly Bowser Jr. Koopa
action count
action union
action filter_type
action find
entity André Jolly
relation occupation
type occupation
action filter_type
action find
entity Bowser Jr. Koopa
relation occupation
type occupation
['André Jolly', 'occupation', {'concept': 'occupation'}] ['Bowser Jr. Koopa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:occupation . resource:André_Jolly property:occupation ?r } UNION { ?r rdf:type ontology:occupation . resource:Bowser_Jr._Koopa property:occupation ?r } }
[]
occupation
SYSTEM
3
Q1028181 Q81096 Q82955
(Q519977,P106,c(Q12737077)) (Q2608870,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q519977
relation P106
type Q12737077
action filter_type
action find
entity Q2608870
relation P106
type Q12737077
[ANSWER]
['Q519977', 'P106', {'concept': 'Q12737077'}] ['Q2608870', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:Q12737077 . resource:Q519977 property:P106 ?r } UNION { ?r rdf:type ontology:Q12737077 . resource:Q2608870 property:P106 ?r } }
painter engineer politician
3
action count
action union
action filter_type
action find
entity André Jolly
relation occupation
type occupation
action filter_type
action find
entity Bowser Jr. Koopa
relation occupation
type occupation
['André Jolly', 'occupation', {'concept': 'occupation'}] ['Bowser Jr. Koopa', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { { ?r rdf:type ontology:occupation . resource:André_Jolly property:occupation ?r } UNION { ?r rdf:type ontology:occupation . resource:Bowser_Jr._Koopa property:occupation ?r } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9005
P1313
Q12737077
USER
Which occupation serves as the political office that is fulfilled by the head of the government of Brussels ?
(Q9005,P1313,c(Q12737077))
action filter_type
action find
entity Q9005
relation P1313
type Q12737077
['Q9005', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q9005 property:P1313 ?k . ?k rdf:type ontology:Q12737077 }
Brussels
action filter_type
action find
entity Brussels
relation office held by head of government
type occupation
['Brussels', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Brussels property:office_held_by_head_of_government ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q435627
SYSTEM
Minister-President of the Brussels-Capital Region
Q435627
(Q9005,P1313,c(Q12737077))
action filter_type
action find
entity Q9005
relation P1313
type Q12737077
The [ANSWER] serves as the political office that is fulfilled by the head of the government of Brussels
['Q9005', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q9005 property:P1313 ?k . ?k rdf:type ontology:Q12737077 }
Minister-President of the Brussels-Capital Region
The Minister-President of the Brussels-Capital Region serves as the political office that is fulfilled by the head of the government of Brussels
Minister-President of the Brussels-Capital Region
action filter_type
action find
entity Brussels
relation office held by head of government
type occupation
['Brussels', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Brussels property:office_held_by_head_of_government ?k . ?k rdf:type ontology:occupation }
[]