Simple Question (Direct)
Simple Question
Q3287661
P39
Q12737077
USER
Which occupation was a position occupied by Marc-Antoine Laumon ?
(Q3287661,P39,c(Q12737077))
action filter_type
action find
entity Q3287661
relation P39
type Q12737077
['Q3287661', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3287661 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
Marc-Antoine Laumon
action filter_type
action find
entity Marc-Antoine Laumon
relation position held
type occupation
['Marc-Antoine Laumon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Marc-Antoine_Laumon property:position_held ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q3287661,P39,c(Q12737077))
action filter_type
action find
entity Q3287661
relation P39
type Q12737077
A member of the French National Assembly was a position occupied by Marc-Antoine Laumon
['Q3287661', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q3287661 property:P39 ?t . ?t rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position occupied by Marc-Antoine Laumon
member of the French National Assembly
action filter_type
action find
entity Marc-Antoine Laumon
relation position held
type occupation
['Marc-Antoine Laumon', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Marc-Antoine_Laumon property:position_held ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3044918
P106
Q502895
USER
Which person has that occupation as his/her means of employment ?
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?e WHERE { ?e property:P106 resource:Q3044918 . ?e rdf:type ontology:Q502895 }
member of the French National Assembly
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?e WHERE { ?e property:occupation resource:member_of_the_French National_Assembly . ?e rdf:type ontology:common_name }
[]
common name
Q3085896
SYSTEM
François Thibault de Ménonville
Q3085896
(c(Q502895),P106,Q3044918)
action filter_type
action find_reverse
entity Q3044918
relation P106
type Q502895
[ANSWER] has that occupation as his/her means of employment
[{'concept': 'Q502895'}, 'P106', 'Q3044918']
SELECT DISTINCT ?e WHERE { ?e property:P106 resource:Q3044918 . ?e rdf:type ontology:Q502895 }
François Thibault de Ménonville
François Thibault de Ménonville has that occupation as his/her means of employment
François Thibault de Ménonville
action filter_type
action find_reverse
entity member of the French National Assembly
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'member of the French\xa0National Assembly']
SELECT DISTINCT ?e WHERE { ?e property:occupation resource:member_of_the_French National_Assembly . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
How many television programs did around 18 people dub for ?
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 18
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?l ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q15416 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?l = 18 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 18
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?l ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:television_program . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?l = 18 ) }
[]
common name television program
SYSTEM
2
Q18571935 Q18553975
(c(Q15416),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 18
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?l ) WHERE { ?z property:P725 ?k . ?z rdf:type ontology:Q15416 . ?k rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?l = 18 ) }
The Big O Soul Eater
2
action count
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 18
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?k ) AS ?l ) WHERE { ?z property:voice_actor ?k . ?z rdf:type ontology:television_program . ?k rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?l = 18 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atleast 3606 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3606
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P1303 ?o . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } . FILTER ( ?e >= 3606 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3606
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:instrument ?o . ?p rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } . FILTER ( ?e >= 3606 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3606
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P1303 ?o . ?p rdf:type ontology:Q502895 . ?o rdf:type ontology:Q34379 } GROUP BY ?o } . FILTER ( ?e >= 3606 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3606
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:instrument ?o . ?p rdf:type ontology:common_name . ?o rdf:type ontology:musical_instrument } GROUP BY ?o } . FILTER ( ?e >= 3606 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3044918
P17
Q15617994
USER
Which administrative territory is member of the French National Assembly located in ?
(Q3044918,P17,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3044918 property:P17 ?u }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_French National_Assembly property:country ?u }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P17,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P17
type Q15617994
[ANSWER] is member of the French National Assembly located in
['Q3044918', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q3044918 property:P17 ?u }
France
France is member of the French National Assembly located in
France
action filter_type
action find
entity member of the French National Assembly
relation country
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_French National_Assembly property:country ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P463
Q180516
USER
What was that administrative territory a member of ?
(Q142,P463,c(Q180516))
action filter_type
action find
entity Q142
relation P463
type Q180516
['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q180516 . resource:Q142 property:P463 ?e }
France
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:room . resource:France property:member_of ?e }
[]
room
Q141720
SYSTEM
European Air Transport Command
Q141720
(Q142,P463,c(Q180516))
action filter_type
action find
entity Q142
relation P463
type Q180516
That administrative territory a member of was the [ANSWER]
['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q180516 . resource:Q142 property:P463 ?e }
European Air Transport Command
That administrative territory a member of was the European Air Transport Command
European Air Transport Command
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:room . resource:France property:member_of ?e }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q15921693
P366
Q1190554 Q180516
USER
Which events represent the main use of around the same number of rooms as test flight ?
(c(Q180516),P366,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P366
type Q1190554
type Q180516
action count
action filter_type
action find
entity Q15921693
relation P366
type Q1190554
[{'concept': 'Q180516'}, 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P366 ?a . ?a rdf:type ontology:Q1190554 . ?x rdf:type ontology:Q180516 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:Q1190554 . resource:Q15921693 property:P366 ?m } } . FILTER ( ?y = ?v ) }
test flight
action approx
action find_reverse_tuple_counts
relation use
type event
type room
action count
action filter_type
action find
entity test flight
relation use
type event
[{'concept': 'room'}, 'use', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:use ?a . ?a rdf:type ontology:event . ?x rdf:type ontology:room } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:event . resource:test_flight property:use ?m } } . FILTER ( ?y = ?v ) }
[]
event room
Q5916 Q8016240 Q17116077
SYSTEM
spaceflight, trial, separating eggs
Q261839 Q1609891 Q953045 Q187657 Q46857 Q2009662 Q15921693 Q8016240 Q26882416 Q650711 Q2627975 Q17116077 Q23007394 Q2761147 Q5916 Q201676 Q1455803 Q4566923 Q385378 Q2746524 Q182899
(c(Q180516),P366,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P366
type Q1190554
type Q180516
action count
action filter_type
action find
entity Q15921693
relation P366
type Q1190554
[ANSWERS] represent the main use of around the same number of rooms as test flight
[{'concept': 'Q180516'}, 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P366 ?a . ?a rdf:type ontology:Q1190554 . ?x rdf:type ontology:Q180516 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:Q1190554 . resource:Q15921693 property:P366 ?m } } . FILTER ( ?y = ?v ) }
sheep shearing wood processing metalwork dubbing scientific method surface finishing test flight trial grinding combat ceremony separating eggs aggregation meeting spaceflight funeral Lubrication workplace conflict construction password cracking quarantine
Spaceflight, trial and separating eggs represent the main use of around the same number of rooms as test flight
spaceflight trial separating eggs
action approx
action find_reverse_tuple_counts
relation use
type event
type room
action count
action filter_type
action find
entity test flight
relation use
type event
[{'concept': 'room'}, 'use', {'concept': 'event'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:use ?a . ?a rdf:type ontology:event . ?x rdf:type ontology:room } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { ?m rdf:type ontology:event . resource:test_flight property:use ?m } } . FILTER ( ?y = ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2761147
P366
Q1190554 Q180516
USER
And also tell me about meeting?
(c(Q180516),P366,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P366
type Q1190554
type Q180516
action count
action filter_type
action find
entity Q2761147
relation P366
type Q1190554
[{'concept': 'Q180516'}, 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P366 ?t . ?t rdf:type ontology:Q1190554 . ?l rdf:type ontology:Q180516 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q2761147 property:P366 ?d . ?d rdf:type ontology:Q1190554 } } . FILTER ( ?r = ?s ) }
meeting
action approx
action find_reverse_tuple_counts
relation use
type event
type room
action count
action filter_type
action find
entity meeting
relation use
type event
[{'concept': 'room'}, 'use', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:use ?t . ?t rdf:type ontology:event . ?l rdf:type ontology:room } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:meeting property:use ?d . ?d rdf:type ontology:event } } . FILTER ( ?r = ?s ) }
[]
event room
Q5916 Q8016240 Q17116077
SYSTEM
spaceflight, trial, separating eggs
Q261839 Q1609891 Q953045 Q187657 Q46857 Q2009662 Q15921693 Q8016240 Q26882416 Q650711 Q2627975 Q17116077 Q23007394 Q2761147 Q5916 Q201676 Q1455803 Q4566923 Q385378 Q2746524 Q182899
(c(Q180516),P366,c(Q1190554))
action approx
action find_reverse_tuple_counts
relation P366
type Q1190554
type Q180516
action count
action filter_type
action find
entity Q2761147
relation P366
type Q1190554
[ANSWERS]
[{'concept': 'Q180516'}, 'P366', {'concept': 'Q1190554'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:P366 ?t . ?t rdf:type ontology:Q1190554 . ?l rdf:type ontology:Q180516 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q2761147 property:P366 ?d . ?d rdf:type ontology:Q1190554 } } . FILTER ( ?r = ?s ) }
sheep shearing wood processing metalwork dubbing scientific method surface finishing test flight trial grinding combat ceremony separating eggs aggregation meeting spaceflight funeral Lubrication workplace conflict construction password cracking quarantine
spaceflight trial separating eggs
action approx
action find_reverse_tuple_counts
relation use
type event
type room
action count
action filter_type
action find
entity meeting
relation use
type event
[{'concept': 'room'}, 'use', {'concept': 'event'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?r ) WHERE { ?l property:use ?t . ?t rdf:type ontology:event . ?l rdf:type ontology:room } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:meeting property:use ?d . ?d rdf:type ontology:event } } . FILTER ( ?r = ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5916
P452
Q43229
USER
Who are associated with the industry that event ?
(c(Q43229),P452,Q5916)
action filter_type
action find_reverse
entity Q5916
relation P452
type Q43229
[{'concept': 'Q43229'}, 'P452', 'Q5916']
SELECT DISTINCT ?u WHERE { ?u property:P452 resource:Q5916 . ?u rdf:type ontology:Q43229 }
spaceflight
action filter_type
action find_reverse
entity spaceflight
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'spaceflight']
SELECT DISTINCT ?u WHERE { ?u property:industry resource:spaceflight . ?u rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q8016240
SYSTEM
Did you mean trial ?
Q5916 Q8016240 Q17116077
(c(Q43229),P452,Q5916) (c(Q43229),P452,Q8016240) (c(Q43229),P452,Q17116077)
[ANSWER]
[{'concept': 'Q43229'}, 'P452', 'Q5916'] [{'concept': 'Q43229'}, 'P452', 'Q8016240'] [{'concept': 'Q43229'}, 'P452', 'Q17116077']
SELECT DISTINCT ?u WHERE { ?u property:P452 resource:Q5916 . ?u rdf:type ontology:Q43229 }
spaceflight trial separating eggs
Did you mean trial ?
trial
[{'concept': 'organization'}, 'industry', 'spaceflight'] [{'concept': 'organization'}, 'industry', 'trial'] [{'concept': 'organization'}, 'industry', 'separating eggs']
SELECT DISTINCT ?u WHERE { ?u property:industry resource:spaceflight . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant spaceflight. Could you tell me the answer for that?
(c(Q43229),P452,Q5916)
Q5916
[{'concept': 'Q43229'}, 'P452', 'Q5916']
[{'concept': 'organization'}, 'industry', 'spaceflight']
[]
Q541905 Q763402 Q2311
SYSTEM
NPP Zvezda, S.P. Korolev Rocket and Space Corporation Energia, Airbus Group SE
Q2382556 Q541905 Q763402 Q2311
(c(Q43229),P452,Q5916)
action filter_type
action find_reverse
entity Q5916
relation P452
type Q43229
[ANSWERS] are associated with the industry that event
[{'concept': 'Q43229'}, 'P452', 'Q5916']
SELECT DISTINCT ?u WHERE { ?u property:P452 resource:Q5916 . ?u rdf:type ontology:Q43229 }
MKB Raduga NPP Zvezda S.P. Korolev Rocket and Space Corporation Energia Airbus Group SE
NPP Zvezda, S.P. Korolev Rocket and Space Corporation Energia and Airbus Group SE are associated with the industry that event
NPP Zvezda S.P. Korolev Rocket and Space Corporation Energia Airbus Group SE
action filter_type
action find_reverse
entity spaceflight
relation industry
type organization
[{'concept': 'organization'}, 'industry', 'spaceflight']
SELECT DISTINCT ?u WHERE { ?u property:industry resource:spaceflight . ?u rdf:type ontology:organization }
[]