Simple Question (Direct)
Simple Question
Q6668982
P136
Q151885
USER
Which concept is the genre for Lolly ?
(Q6668982,P136,c(Q151885))
action filter_type
action find
entity Q6668982
relation P136
type Q151885
['Q6668982', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q6668982 property:P136 ?m . ?m rdf:type ontology:Q151885 }
Lolly
action filter_type
action find
entity Lolly
relation genre
type concept
['Lolly', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Lolly property:genre ?m . ?m rdf:type ontology:concept }
[]
concept
Q997481
SYSTEM
bubblegum pop
Q997481
(Q6668982,P136,c(Q151885))
action filter_type
action find
entity Q6668982
relation P136
type Q151885
In [ANSWER] is the genre for Lolly
['Q6668982', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?m WHERE { resource:Q6668982 property:P136 ?m . ?m rdf:type ontology:Q151885 }
bubblegum pop
In bubblegum pop is the genre for Lolly
bubblegum pop
action filter_type
action find
entity Lolly
relation genre
type concept
['Lolly', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?m WHERE { resource:Lolly property:genre ?m . ?m rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6668982
P27
Q15617994
USER
Which administrative territory is Lolly a civilian of ?
(Q6668982,P27,c(Q15617994))
action filter_type
action find
entity Q6668982
relation P27
type Q15617994
['Q6668982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q6668982 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Lolly
action filter_type
action find
entity Lolly
relation country of citizenship
type designation for an administrative territorial entity
['Lolly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lolly property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6668982,P27,c(Q15617994))
action filter_type
action find
entity Q6668982
relation P27
type Q15617994
Which administrative territory is Lolly a civilian of
['Q6668982', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q6668982 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is Lolly a civilian of
United Kingdom
action filter_type
action find
entity Lolly
relation country of citizenship
type designation for an administrative territorial entity
['Lolly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Lolly property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P30
Q2221906
USER
Where is that administrative territory located ?
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q145 property:P30 ?e }
United Kingdom
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:United_Kingdom property:continent ?e }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q2221906 . resource:Q145 property:P30 ?e }
Europe
That administrative territory is located in Europe
Europe
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographic_location . resource:United_Kingdom property:continent ?e }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3105035 Q6668982
P19
Q56061
USER
Which administrative territories are the places of birth of Lolly or Giacomo Caneva ?
OR((Q6668982,P19,c(Q56061)), (Q3105035,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6668982
relation P19
action find
entity Q3105035
relation P19
type Q56061
{'OR': [['Q6668982', 'P19', {'concept': 'Q56061'}], ['Q3105035', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3105035 property:P19 ?d } UNION { resource:Q6668982 property:P19 ?d } } . ?d rdf:type ontology:Q56061 }
Giacomo Caneva Lolly
action filter_type
action union
action find
entity Lolly
relation place of birth
action find
entity Giacomo Caneva
relation place of birth
type administrative territorial entity
{'OR': [['Lolly', 'place of birth', {'concept': 'administrative territorial entity'}], ['Giacomo Caneva', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Giacomo_Caneva property:place_of_birth ?d } UNION { resource:Lolly property:place_of_birth ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q868196 Q617
SYSTEM
Sutton Coldfield, Padua
Q868196 Q617
OR((Q6668982,P19,c(Q56061)), (Q3105035,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6668982
relation P19
action find
entity Q3105035
relation P19
type Q56061
[ANSWERS] are the places of birth of Lolly or Giacomo Caneva
{'OR': [['Q6668982', 'P19', {'concept': 'Q56061'}], ['Q3105035', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3105035 property:P19 ?d } UNION { resource:Q6668982 property:P19 ?d } } . ?d rdf:type ontology:Q56061 }
Sutton Coldfield Padua
Sutton Coldfield and Padua are the places of birth of Lolly or Giacomo Caneva
Sutton Coldfield Padua
action filter_type
action union
action find
entity Lolly
relation place of birth
action find
entity Giacomo Caneva
relation place of birth
type administrative territorial entity
{'OR': [['Lolly', 'place of birth', {'concept': 'administrative territorial entity'}], ['Giacomo Caneva', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Giacomo_Caneva property:place_of_birth ?d } UNION { resource:Lolly property:place_of_birth ?d } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3105035
P19
Q56061
USER
How many administrative territories are the places of birth of Giacomo Caneva ?
(Q3105035,P19,c(Q56061))
action count
action filter_type
action find
entity Q3105035
relation P19
type Q56061
['Q3105035', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q3105035 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Giacomo Caneva
action count
action filter_type
action find
entity Giacomo Caneva
relation place of birth
type administrative territorial entity
['Giacomo Caneva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Giacomo_Caneva property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q617
(Q3105035,P19,c(Q56061))
action count
action filter_type
action find
entity Q3105035
relation P19
type Q56061
[ANSWER]
['Q3105035', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q3105035 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Padua
1
action count
action filter_type
action find
entity Giacomo Caneva
relation place of birth
type administrative territorial entity
['Giacomo Caneva', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Giacomo_Caneva property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3510003
P19
Q56061
USER
And what about Sébastien Charles Giraud?
(Q3510003,P19,c(Q56061))
action count
action filter_type
action find
entity Q3510003
relation P19
type Q56061
['Q3510003', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q3510003 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Sébastien Charles Giraud
action count
action filter_type
action find
entity Sébastien Charles Giraud
relation place of birth
type administrative territorial entity
['Sébastien Charles Giraud', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Sébastien_Charles_Giraud property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q90
(Q3510003,P19,c(Q56061))
action count
action filter_type
action find
entity Q3510003
relation P19
type Q56061
[ANSWER]
['Q3510003', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Q3510003 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Paris
1
action count
action filter_type
action find
entity Sébastien Charles Giraud
relation place of birth
type administrative territorial entity
['Sébastien Charles Giraud', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { resource:Sébastien_Charles_Giraud property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4334647
Q56061
USER
And what about Vincent van Ommen?
(Q4334647,P19,c(Q56061))
action count
action filter_type
action find
entity Q4334647
relation P19
type Q56061
['Q4334647', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q4334647 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Vincent van Ommen
action count
action filter_type
action find
entity Vincent van Ommen
relation place of birth
type administrative territorial entity
['Vincent van Ommen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Vincent_van_Ommen property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q4334647,P19,c(Q56061))
action count
action filter_type
action find
entity Q4334647
relation P19
type Q56061
[ANSWER]
['Q4334647', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q4334647 property:P19 ?h . ?h rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Vincent van Ommen
relation place of birth
type administrative territorial entity
['Vincent van Ommen', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Vincent_van_Ommen property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3486711 Q617
P17
Q15617994
USER
Which administrative territories are Padua or Slinky Dog Zigzag Spin located in ?
OR((Q617,P17,c(Q15617994)), (Q3486711,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q617
relation P17
action find
entity Q3486711
relation P17
type Q15617994
{'OR': [['Q617', 'P17', {'concept': 'Q15617994'}], ['Q3486711', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:P17 ?r . VALUES ( ?z ) { ( resource:Q3486711 ) ( resource:Q617 ) } } . ?r rdf:type ontology:Q15617994 }
Slinky Dog Zigzag Spin Padua
action filter_type
action union
action find
entity Padua
relation country
action find
entity Slinky Dog Zigzag Spin
relation country
type designation for an administrative territorial entity
{'OR': [['Padua', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Slinky Dog Zigzag Spin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:country ?r . VALUES ( ?z ) { ( resource:Slinky_Dog_Zigzag_Spin ) ( resource:Padua ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q148 Q38 Q153136
SYSTEM
France, People's Republic of China, Italy, Habsburg Empire
Q142 Q148 Q38 Q153136
OR((Q617,P17,c(Q15617994)), (Q3486711,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q617
relation P17
action find
entity Q3486711
relation P17
type Q15617994
Padua or Slinky Dog Zigzag Spin are located in [ANSWERS]
{'OR': [['Q617', 'P17', {'concept': 'Q15617994'}], ['Q3486711', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:P17 ?r . VALUES ( ?z ) { ( resource:Q3486711 ) ( resource:Q617 ) } } . ?r rdf:type ontology:Q15617994 }
France People's Republic of China Italy Habsburg Empire
Padua or Slinky Dog Zigzag Spin are located in France, People's Republic of China, Italy and Habsburg Empire
France People's Republic of China Italy Habsburg Empire
action filter_type
action union
action find
entity Padua
relation country
action find
entity Slinky Dog Zigzag Spin
relation country
type designation for an administrative territorial entity
{'OR': [['Padua', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Slinky Dog Zigzag Spin', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { ?z property:country ?r . VALUES ( ?z ) { ( resource:Slinky_Dog_Zigzag_Spin ) ( resource:Padua ) } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q183
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with lesser number of administrative territories than Germany ?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q183 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?m property:P530 ?s } GROUP BY ?m } }
Germany
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Germany property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?s } GROUP BY ?m } }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
12
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Q183 property:P530 ?g . ?g rdf:type ontology:Q15617994 } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15617994 . ?m property:P530 ?s } GROUP BY ?m } }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
12
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { resource:Germany property:diplomatic_relation ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a < ?n ) . { SELECT DISTINCT ?m ( COUNT ( ?s ) AS ?a ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:diplomatic_relation ?s } GROUP BY ?m } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16
P530
Q15617994 Q1048835
USER
And how about Canada?
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?k ) WHERE { ?l property:P530 ?d . ?l rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Q16 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?r ) }
Canada
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?k ) WHERE { ?l property:diplomatic_relation ?d . ?l rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Canada property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?r ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
10
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?k ) WHERE { ?l property:P530 ?d . ?l rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Q16 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?k < ?r ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
10
action count
action less
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?k ) WHERE { ?l property:diplomatic_relation ?d . ?l rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { resource:Canada property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?k < ?r ) }
[]