Simple Question (Direct)
Simple Question
Q2114700
P106
Q151885
USER
What is the job of Jacques Lataste ?
(Q2114700,P106,c(Q151885))
action filter_type
action find
entity Q2114700
relation P106
type Q151885
['Q2114700', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q2114700 property:P106 ?y . ?y rdf:type ontology:Q151885 }
Jacques Lataste
action filter_type
action find
entity Jacques Lataste
relation occupation
type concept
['Jacques Lataste', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Jacques_Lataste property:occupation ?y . ?y rdf:type ontology:concept }
[]
concept
Q13381863
SYSTEM
fencer
Q13381863
(Q2114700,P106,c(Q151885))
action filter_type
action find
entity Q2114700
relation P106
type Q151885
The job of Jacques Lataste is a [ANSWER]
['Q2114700', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { resource:Q2114700 property:P106 ?y . ?y rdf:type ontology:Q151885 }
fencer
The job of Jacques Lataste is a fencer
fencer
action filter_type
action find
entity Jacques Lataste
relation occupation
type concept
['Jacques Lataste', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { resource:Jacques_Lataste property:occupation ?y . ?y rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2114700
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q13381863,P19,c(Q20667921))
action filter_type
action find
entity Q2114700
relation P19
type Q20667921
['Q13381863', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q2114700 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
Jacques Lataste
action filter_type
action find
entity Jacques Lataste
relation place of birth
type type of french administrative division
['fencer', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Jacques_Lataste property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q239967
SYSTEM
La Grand-Combe
Q239967
(Q13381863,P19,c(Q20667921))
action filter_type
action find
entity Q2114700
relation P19
type Q20667921
That person was born in [ANSWER]
['Q13381863', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?s WHERE { resource:Q2114700 property:P19 ?s . ?s rdf:type ontology:Q20667921 }
La Grand-Combe
That person was born in La Grand-Combe
La Grand-Combe
action filter_type
action find
entity Jacques Lataste
relation place of birth
type type of french administrative division
['fencer', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?s WHERE { resource:Jacques_Lataste property:place_of_birth ?s . ?s rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q20855823 Q2114700
P27
Q15617994
USER
Which administrative territories are Jacques Lataste or Renée Corciade a civilian of ?
OR((Q2114700,P27,c(Q15617994)), (Q20855823,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2114700
relation P27
action find
entity Q20855823
relation P27
type Q15617994
{'OR': [['Q2114700', 'P27', {'concept': 'Q15617994'}], ['Q20855823', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { ?h property:P27 ?u . VALUES ( ?h ) { ( resource:Q2114700 ) ( resource:Q20855823 ) } } . ?u rdf:type ontology:Q15617994 }
Renée Corciade Jacques Lataste
action filter_type
action union
action find
entity Jacques Lataste
relation country of citizenship
action find
entity Renée Corciade
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jacques Lataste', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Renée Corciade', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?h property:country_of_citizenship ?u . VALUES ( ?h ) { ( resource:Jacques_Lataste ) ( resource:Renée_Corciade ) } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
OR((Q2114700,P27,c(Q15617994)), (Q20855823,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2114700
relation P27
action find
entity Q20855823
relation P27
type Q15617994
[ANSWER] is Jacques Lataste or Renée Corciade a civilian of
{'OR': [['Q2114700', 'P27', {'concept': 'Q15617994'}], ['Q20855823', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { ?h property:P27 ?u . VALUES ( ?h ) { ( resource:Q2114700 ) ( resource:Q20855823 ) } } . ?u rdf:type ontology:Q15617994 }
France
France is Jacques Lataste or Renée Corciade a civilian of
France
action filter_type
action union
action find
entity Jacques Lataste
relation country of citizenship
action find
entity Renée Corciade
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jacques Lataste', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Renée Corciade', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { ?h property:country_of_citizenship ?u . VALUES ( ?h ) { ( resource:Jacques_Lataste ) ( resource:Renée_Corciade ) } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories have diplomatic relationships with exactly 1 administrative territory ?
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?l rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?l property:P530 ?z } GROUP BY ?l } . FILTER ( ?g = 1 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?z } GROUP BY ?l } . FILTER ( ?g = 1 ) }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q1000 Q781 Q778 Q769
(c(Q15617994),P530,c(Q1048835))
action count
action equal
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?l rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 . ?l property:P530 ?z } GROUP BY ?l } . FILTER ( ?g = 1 ) }
Gabon Antigua and Barbuda The Bahamas Grenada
4
action count
action equal
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?z ) AS ?g ) WHERE { ?l rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation ?z } GROUP BY ?l } . FILTER ( ?g = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P138
Q874405
USER
Which social group is the origin of France ?
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q874405 . resource:Q142 property:P138 ?h }
France
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:social_group . resource:France property:named_after ?h }
[]
social group
Q43482
SYSTEM
Franks
Q43482
(Q142,P138,c(Q874405))
action filter_type
action find
entity Q142
relation P138
type Q874405
Frank [ANSWER] is the origin of France
['Q142', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q874405 . resource:Q142 property:P138 ?h }
Franks
Frank Franks is the origin of France
Franks
action filter_type
action find
entity France
relation named after
type social group
['France', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:social_group . resource:France property:named_after ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23055584
Q874405
USER
And what about Carlsberg Foundation Research Prize?
(Q23055584,P138,c(Q874405))
action filter_type
action find
entity Q23055584
relation P138
type Q874405
['Q23055584', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q23055584 property:P138 ?f . ?f rdf:type ontology:Q874405 }
Carlsberg Foundation Research Prize
action filter_type
action find
entity Carlsberg Foundation Research Prize
relation named after
type social group
['Carlsberg Foundation Research Prize', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:Carlsberg_Foundation_Research_Prize property:named_after ?f . ?f rdf:type ontology:social_group }
[]
social group
Q1043358
SYSTEM
Carlsberg Foundation
Q1043358
(Q23055584,P138,c(Q874405))
action filter_type
action find
entity Q23055584
relation P138
type Q874405
[ANSWER]
['Q23055584', 'P138', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q23055584 property:P138 ?f . ?f rdf:type ontology:Q874405 }
Carlsberg Foundation
Carlsberg Foundation
action filter_type
action find
entity Carlsberg Foundation Research Prize
relation named after
type social group
['Carlsberg Foundation Research Prize', 'named after', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:Carlsberg_Foundation_Research_Prize property:named_after ?f . ?f rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1043358
P112
Q502895
USER
Who founded that social group ?
(Q1043358,P112,c(Q502895))
action filter_type
action find
entity Q1043358
relation P112
type Q502895
['Q1043358', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1043358 property:P112 ?j . ?j rdf:type ontology:Q502895 }
Carlsberg Foundation
action filter_type
action find
entity Carlsberg Foundation
relation founder
type common name
['Carlsberg Foundation', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Carlsberg_Foundation property:founder ?j . ?j rdf:type ontology:common_name }
[]
common name
Q719753
SYSTEM
J. C. Jacobsen
Q719753
(Q1043358,P112,c(Q502895))
action filter_type
action find
entity Q1043358
relation P112
type Q502895
[ANSWER] founded that social group
['Q1043358', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1043358 property:P112 ?j . ?j rdf:type ontology:Q502895 }
J. C. Jacobsen
J. C. Jacobsen founded that social group
J. C. Jacobsen
action filter_type
action find
entity Carlsberg Foundation
relation founder
type common name
['Carlsberg Foundation', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Carlsberg_Foundation property:founder ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q166142
USER
How many applications had their voice dubbing done by atleast 47 people ?
(c(Q166142),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 47
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?b ) WHERE { ?i property:P725 ?d . ?i rdf:type ontology:Q166142 . ?d rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?b >= 47 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 47
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?b ) WHERE { ?i property:voice_actor ?d . ?i rdf:type ontology:application . ?d rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?b >= 47 ) }
[]
common name application
SYSTEM
1
Q843131
(c(Q166142),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q166142
type Q502895
value 47
[ANSWER]
[{'concept': 'Q166142'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?b ) WHERE { ?i property:P725 ?d . ?i rdf:type ontology:Q166142 . ?d rdf:type ontology:Q502895 } GROUP BY ?i } . FILTER ( ?b >= 47 ) }
Super Smash Bros. Brawl
1
action count
action atleast
action find_tuple_counts
relation voice actor
type application
type common name
value 47
[{'concept': 'application'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?d ) AS ?b ) WHERE { ?i property:voice_actor ?d . ?i rdf:type ontology:application . ?d rdf:type ontology:common_name } GROUP BY ?i } . FILTER ( ?b >= 47 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P35
Q502895
USER
How many people have the highest formal authority in France ?
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q142 property:P35 ?r . ?r rdf:type ontology:Q502895 }
France
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:France property:head_of_state ?r . ?r rdf:type ontology:common_name }
[]
common name
SYSTEM
8
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWER]
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:Q142 property:P35 ?r . ?r rdf:type ontology:Q502895 }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
8
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { resource:France property:head_of_state ?r . ?r rdf:type ontology:common_name }
[]