Simple Question (Direct)
Simple Question
Q718549
P19
Q56061
USER
Which administrative territory was Mattias Hargin born at ?
(Q718549,P19,c(Q56061))
action filter_type
action find
entity Q718549
relation P19
type Q56061
['Q718549', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q718549 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Mattias Hargin
action filter_type
action find
entity Mattias Hargin
relation place of birth
type administrative territorial entity
['Mattias Hargin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mattias_Hargin property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q718549,P19,c(Q56061))
action filter_type
action find
entity Q718549
relation P19
type Q56061
Mattias Hargin was born i [ANSWER]
['Q718549', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q718549 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Stockholm
Mattias Hargin was born i Stockholm
Stockholm
action filter_type
action find
entity Mattias Hargin
relation place of birth
type administrative territorial entity
['Mattias Hargin', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mattias_Hargin property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q718549
P641
Q31629
USER
Which type of sport was that person a part of ?
(Q1754,P641,c(Q31629))
action filter_type
action find
entity Q718549
relation P641
type Q31629
['Q1754', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q31629 . resource:Q718549 property:P641 ?i }
Mattias Hargin
action filter_type
action find
entity Mattias Hargin
relation sport
type type of sport
['Stockholm', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_sport . resource:Mattias_Hargin property:sport ?i }
[]
type of sport
Q186222
SYSTEM
alpine skiing
Q186222
(Q1754,P641,c(Q31629))
action filter_type
action find
entity Q718549
relation P641
type Q31629
Was [ANSWER] was that person a part of
['Q1754', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q31629 . resource:Q718549 property:P641 ?i }
alpine skiing
Was alpine skiing was that person a part of
alpine skiing
action filter_type
action find
entity Mattias Hargin
relation sport
type type of sport
['Stockholm', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:type_of_sport . resource:Mattias_Hargin property:sport ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q718549 Q589595
P27
Q15617994
USER
How many administrative territories are Mattias Hargin or Mike the Headless Chicken an inhabitant of ?
(Q718549,P27,c(Q15617994)) (Q589595,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q718549
relation P27
type Q15617994
action filter_type
action find
entity Q589595
relation P27
type Q15617994
['Q718549', 'P27', {'concept': 'Q15617994'}] ['Q589595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Q718549 ) ( resource:Q589595 ) } . ?l property:P27 ?d }
Mattias Hargin Mike the Headless Chicken
action count
action union
action filter_type
action find
entity Mattias Hargin
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Mike the Headless Chicken
relation country of citizenship
type designation for an administrative territorial entity
['Mattias Hargin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mike the Headless Chicken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Mattias_Hargin ) ( resource:Mike_the_Headless_Chicken ) } . ?l property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
SYSTEM
2
Q30 Q34
(Q718549,P27,c(Q15617994)) (Q589595,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q718549
relation P27
type Q15617994
action filter_type
action find
entity Q589595
relation P27
type Q15617994
[ANSWER]
['Q718549', 'P27', {'concept': 'Q15617994'}] ['Q589595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Q718549 ) ( resource:Q589595 ) } . ?l property:P27 ?d }
United States of America Sweden
2
action count
action union
action filter_type
action find
entity Mattias Hargin
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Mike the Headless Chicken
relation country of citizenship
type designation for an administrative territorial entity
['Mattias Hargin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mike the Headless Chicken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?l ) { ( resource:Mattias_Hargin ) ( resource:Mike_the_Headless_Chicken ) } . ?l property:country_of_citizenship ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q22569505
P361
Q874405 Q18608583 Q31629
USER
How many types of sport are a portion of more number of social groups or recurring sporting events than 2013 Arctic Race of Norway, Stage 4 ?
(c(Q31629),P361,c(Q874405)|c(Q18608583))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q31629
type Q874405
action find_tuple_counts
relation P361
type Q31629
type Q18608583
action count
action filter_multi_types
action find
entity Q22569505
relation P361
type Q874405
type Q18608583
[{'concept': 'Q31629'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q18608583'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?f WHERE { { ?n rdf:type ontology:Q874405 . ?f rdf:type ontology:Q31629 . ?f property:P361 ?n } UNION { ?f property:P361 ?n . ?n rdf:type ontology:Q18608583 . ?f rdf:type ontology:Q31629 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q22569505 property:P361 ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q874405 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?y > ?j ) }
2013 Arctic Race of Norway, Stage 4
action count
action greater
action union
action find_tuple_counts
relation part of
type type of sport
type social group
action find_tuple_counts
relation part of
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find
entity 2013 Arctic Race of Norway, Stage 4
relation part of
type social group
type recurring sporting event
[{'concept': 'type of sport'}, 'part of', [{'concept': 'social group'}, {'concept': 'recurring sporting event'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?f WHERE { { ?n rdf:type ontology:social_group . ?f rdf:type ontology:type_of_sport . ?f property:part_of ?n } UNION { ?f property:part_of ?n . ?n rdf:type ontology:recurring_sporting_event . ?f rdf:type ontology:type_of_sport } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:2013_Arctic_Race_of_Norway,_Stage_4 property:part_of ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:social_group ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?y > ?j ) }
[]
social group recurring sporting event type of sport
SYSTEM
31
Q17747909 Q2807503 Q22344380 Q19392891 Q19392890 Q20746188 Q20746189 Q20746184 Q20746185 Q20746186 Q20746187 Q260938 Q21755419 Q21755418 Q21755417 Q21755416 Q22344375 Q19392888 Q19392889 Q265672 Q17747711 Q2219503 Q512229 Q22344367 Q22344357 Q12007223 Q17747832 Q20746190 Q21755420 Q17747942 Q17747499
(c(Q31629),P361,c(Q874405)|c(Q18608583))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q31629
type Q874405
action find_tuple_counts
relation P361
type Q31629
type Q18608583
action count
action filter_multi_types
action find
entity Q22569505
relation P361
type Q874405
type Q18608583
[ANSWER]
[{'concept': 'Q31629'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q18608583'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?f WHERE { { ?n rdf:type ontology:Q874405 . ?f rdf:type ontology:Q31629 . ?f property:P361 ?n } UNION { ?f property:P361 ?n . ?n rdf:type ontology:Q18608583 . ?f rdf:type ontology:Q31629 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:Q22569505 property:P361 ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:Q874405 ) ( ontology:Q18608583 ) } } } } . FILTER ( ?y > ?j ) }
2014 Tour of Norway, Stage 4 1995 Tour de France, Stage 12 2016 Ladies Tour of Qatar, Stage 4 2013 Tour of Norway, Stage 5 2013 Tour of Norway, Stage 4 2015 Tour de Pologne, Stage 5 2015 Tour de Pologne, Stage 6 2015 Tour de Pologne, Stage 1 2015 Tour de Pologne, Stage 2 2015 Tour de Pologne, Stage 3 2015 Tour de Pologne, Stage 4 2012 Tour de France, Prologue 2014 Tour de l'Ain, Stage 3 2014 Tour de l'Ain, Stage 2 2014 Tour de l'Ain, Stage 1 2014 Tour de l'Ain, Prologue 2016 Ladies Tour of Qatar, Stage 3 2013 Tour of Norway, Stage 1 2013 Tour of Norway, Stage 2 2008 Tour de France, Stage 8 2014 Tour of Norway, Stage 2 2004 Tour de France, Prologue Academic fencing 2016 Ladies Tour of Qatar, Stage 2 2016 Ladies Tour of Qatar, Stage 1 2013 Tour of Norway, Stage 3 2014 Tour of Norway, Stage 3 2015 Tour de Pologne, Stage 7 2014 Tour de l'Ain, Stage 4 2014 Tour of Norway, Stage 5 2014 Tour of Norway, Stage 1
31
action count
action greater
action union
action find_tuple_counts
relation part of
type type of sport
type social group
action find_tuple_counts
relation part of
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find
entity 2013 Arctic Race of Norway, Stage 4
relation part of
type social group
type recurring sporting event
[{'concept': 'type of sport'}, 'part of', [{'concept': 'social group'}, {'concept': 'recurring sporting event'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) ?f WHERE { { ?n rdf:type ontology:social_group . ?f rdf:type ontology:type_of_sport . ?f property:part_of ?n } UNION { ?f property:part_of ?n . ?n rdf:type ontology:recurring_sporting_event . ?f rdf:type ontology:type_of_sport } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { resource:2013_Arctic_Race_of_Norway,_Stage_4 property:part_of ?g . { ?g rdf:type ?l . VALUES ( ?l ) { ( ontology:social_group ) ( ontology:recurring_sporting_event ) } } } } . FILTER ( ?y > ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q22038846
P361
Q874405 Q18608583 Q31629
USER
And also tell me about 2016 Tour de San Luis, Stage 6?
(c(Q31629),P361,c(Q874405)|c(Q18608583))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q31629
type Q874405
action find_tuple_counts
relation P361
type Q31629
type Q18608583
action count
action filter_multi_types
action find
entity Q22038846
relation P361
type Q874405
type Q18608583
[{'concept': 'Q31629'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q18608583'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { VALUES ( ?w ) { ( ontology:Q874405 ) ( ontology:Q18608583 ) } . ?o rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q22038846 property:P361 ?k . { { ?k rdf:type ontology:Q18608583 } UNION { ?k rdf:type ontology:Q874405 } } } } . FILTER ( ?h > ?r ) }
2016 Tour de San Luis, Stage 6
action count
action greater
action union
action find_tuple_counts
relation part of
type type of sport
type social group
action find_tuple_counts
relation part of
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find
entity 2016 Tour de San Luis, Stage 6
relation part of
type social group
type recurring sporting event
[{'concept': 'type of sport'}, 'part of', [{'concept': 'social group'}, {'concept': 'recurring sporting event'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { VALUES ( ?w ) { ( ontology:social_group ) ( ontology:recurring_sporting_event ) } . ?o rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:2016_Tour_de_San_Luis,_Stage_6 property:part_of ?k . { { ?k rdf:type ontology:recurring_sporting_event } UNION { ?k rdf:type ontology:social_group } } } } . FILTER ( ?h > ?r ) }
[]
social group recurring sporting event type of sport
SYSTEM
31
Q17747909 Q2807503 Q22344380 Q19392891 Q19392890 Q20746188 Q20746189 Q20746184 Q20746185 Q20746186 Q20746187 Q260938 Q21755419 Q21755418 Q21755417 Q21755416 Q22344375 Q19392888 Q19392889 Q265672 Q17747711 Q2219503 Q512229 Q22344367 Q22344357 Q12007223 Q17747832 Q20746190 Q21755420 Q17747942 Q17747499
(c(Q31629),P361,c(Q874405)|c(Q18608583))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q31629
type Q874405
action find_tuple_counts
relation P361
type Q31629
type Q18608583
action count
action filter_multi_types
action find
entity Q22038846
relation P361
type Q874405
type Q18608583
[ANSWER]
[{'concept': 'Q31629'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q18608583'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { VALUES ( ?w ) { ( ontology:Q874405 ) ( ontology:Q18608583 ) } . ?o rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:Q22038846 property:P361 ?k . { { ?k rdf:type ontology:Q18608583 } UNION { ?k rdf:type ontology:Q874405 } } } } . FILTER ( ?h > ?r ) }
2014 Tour of Norway, Stage 4 1995 Tour de France, Stage 12 2016 Ladies Tour of Qatar, Stage 4 2013 Tour of Norway, Stage 5 2013 Tour of Norway, Stage 4 2015 Tour de Pologne, Stage 5 2015 Tour de Pologne, Stage 6 2015 Tour de Pologne, Stage 1 2015 Tour de Pologne, Stage 2 2015 Tour de Pologne, Stage 3 2015 Tour de Pologne, Stage 4 2012 Tour de France, Prologue 2014 Tour de l'Ain, Stage 3 2014 Tour de l'Ain, Stage 2 2014 Tour de l'Ain, Stage 1 2014 Tour de l'Ain, Prologue 2016 Ladies Tour of Qatar, Stage 3 2013 Tour of Norway, Stage 1 2013 Tour of Norway, Stage 2 2008 Tour de France, Stage 8 2014 Tour of Norway, Stage 2 2004 Tour de France, Prologue Academic fencing 2016 Ladies Tour of Qatar, Stage 2 2016 Ladies Tour of Qatar, Stage 1 2013 Tour of Norway, Stage 3 2014 Tour of Norway, Stage 3 2015 Tour de Pologne, Stage 7 2014 Tour de l'Ain, Stage 4 2014 Tour of Norway, Stage 5 2014 Tour of Norway, Stage 1
31
action count
action greater
action union
action find_tuple_counts
relation part of
type type of sport
type social group
action find_tuple_counts
relation part of
type type of sport
type recurring sporting event
action count
action filter_multi_types
action find
entity 2016 Tour de San Luis, Stage 6
relation part of
type social group
type recurring sporting event
[{'concept': 'type of sport'}, 'part of', [{'concept': 'social group'}, {'concept': 'recurring sporting event'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?m WHERE { VALUES ( ?w ) { ( ontology:social_group ) ( ontology:recurring_sporting_event ) } . ?o rdf:type ?w } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) WHERE { resource:2016_Tour_de_San_Luis,_Stage_6 property:part_of ?k . { { ?k rdf:type ontology:recurring_sporting_event } UNION { ?k rdf:type ontology:social_group } } } } . FILTER ( ?h > ?r ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3640 Q1754
P190
Q56061
USER
Which administrative territories are the sister cities of Stockholm or Ankara ?
OR((Q1754,P190,c(Q56061)), (Q3640,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1754
relation P190
action find
entity Q3640
relation P190
type Q56061
{'OR': [['Q1754', 'P190', {'concept': 'Q56061'}], ['Q3640', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . { VALUES ( ?m ) { ( resource:Q1754 ) ( resource:Q3640 ) } . ?m property:P190 ?e } }
Ankara Stockholm
action filter_type
action union
action find
entity Stockholm
relation sister city
action find
entity Ankara
relation sister city
type administrative territorial entity
{'OR': [['Stockholm', 'sister city', {'concept': 'administrative territorial entity'}], ['Ankara', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . { VALUES ( ?m ) { ( resource:Stockholm ) ( resource:Ankara ) } . ?m property:sister_city ?e } }
[]
administrative territorial entity
Q956 Q3739 Q1757 Q3711 Q486282 Q3882 Q2280 Q2449 Q13670 Q9365
SYSTEM
Some of them are Beijing, Bissau, Helsinki, Belgrade, Pavlodar, Manama, Minsk, Mogadishu, Syracuse, Dushanbe
Q1757 Q2471 Q994 Q3882 Q35178 Q3766 Q649 Q472 Q2762100 Q1963 Q1770 Q10704 Q226 Q25270 Q3856 Q9361 Q51103 Q3711 Q1520 Q1489 Q3739 Q1748 Q585 Q3805 Q13670 Q9365 Q21197 Q216 Q2449 Q406 Q1764 Q1861 Q486282 Q956 Q2280 Q911 Q23564 Q61
OR((Q1754,P190,c(Q56061)), (Q3640,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1754
relation P190
action find
entity Q3640
relation P190
type Q56061
[ANSWERS] are the sister cities of Stockholm or Ankara
{'OR': [['Q1754', 'P190', {'concept': 'Q56061'}], ['Q3640', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . { VALUES ( ?m ) { ( resource:Q1754 ) ( resource:Q3640 ) } . ?m property:P190 ?e } }
Helsinki Sana‘a Tbilisi Manama Kuwait City Damascus Moscow Sofia North Nicosia Khartoum Tallinn Tórshavn Nuuk Prishtina Nicosia Bishkek Cali Belgrade Astana Mexico City Bissau Copenhagen Oslo Amman Syracuse Dushanbe Chișinău Vilnius Mogadishu Istanbul Reykjavík Bangkok Pavlodar Beijing Minsk Ufa Podgorica Washington, D.C.
Beijing, Bissau, Helsinki, Belgrade, Pavlodar, Manama, Minsk, Mogadishu, Syracuse and Dushanbe are the sister cities of Stockholm or Ankara
Beijing Bissau Helsinki Belgrade Pavlodar Manama Minsk Mogadishu Syracuse Dushanbe
action filter_type
action union
action find
entity Stockholm
relation sister city
action find
entity Ankara
relation sister city
type administrative territorial entity
{'OR': [['Stockholm', 'sister city', {'concept': 'administrative territorial entity'}], ['Ankara', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . { VALUES ( ?m ) { ( resource:Stockholm ) ( resource:Ankara ) } . ?m property:sister_city ?e } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P291
Q56061 Q1002697 Q732577
USER
Which administrative territories are the places of publication of approximately 58 periodical literatures and publications ?
(c(Q1002697)|c(Q732577),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
value 58
[[{'concept': 'Q1002697'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?v = 58 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?w ) { ( ontology:Q1002697 ) ( ontology:Q732577 ) } . ?s rdf:type ?w } GROUP BY ?y } }
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
value 58
[[{'concept': 'periodical literature'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?v = 58 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?w ) { ( ontology:periodical_literature ) ( ontology:publication ) } . ?s rdf:type ?w } GROUP BY ?y } }
[]
administrative territorial entity periodical literature publication
Q90 Q1492
SYSTEM
Paris, Barcelona
Q90 Q1492
(c(Q1002697)|c(Q732577),P291,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P291
type Q56061
type Q1002697
action find_reverse_tuple_counts
relation P291
type Q56061
type Q732577
value 58
[ANSWERS] are the places of publication of approximately 58 periodical literatures and publications
[[{'concept': 'Q1002697'}, {'concept': 'Q732577'}], 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?v = 58 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?w ) { ( ontology:Q1002697 ) ( ontology:Q732577 ) } . ?s rdf:type ?w } GROUP BY ?y } }
Paris Barcelona
Paris and Barcelona are the places of publication of approximately 58 periodical literatures and publications
Paris Barcelona
action approx
action union
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type periodical literature
action find_reverse_tuple_counts
relation place of publication
type administrative territorial entity
type publication
value 58
[[{'concept': 'periodical literature'}, {'concept': 'publication'}], 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?v = 58 ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { VALUES ( ?w ) { ( ontology:periodical_literature ) ( ontology:publication ) } . ?s rdf:type ?w } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q90 Q1492
P6
Q502895
USER
What people are Paris and Barcelona the head of goverment of ?
(Q90,P6,c(Q502895)) (Q1492,P6,c(Q502895))
action union
action filter_type
action find
entity Q90
relation P6
type Q502895
action filter_type
action find
entity Q1492
relation P6
type Q502895
['Q90', 'P6', {'concept': 'Q502895'}] ['Q1492', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?p property:P6 ?v . VALUES ( ?p ) { ( resource:Q90 ) ( resource:Q1492 ) } }
Paris Barcelona
action union
action filter_type
action find
entity Paris
relation head of government
type common name
action filter_type
action find
entity Barcelona
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}] ['Barcelona', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?p property:head_of_government ?v . VALUES ( ?p ) { ( resource:Paris ) ( resource:Barcelona ) } }
[]
common name
Q2105 Q289303 Q1685859
SYSTEM
Jacques Chirac, Étienne Arago, Jean Tiberi
Q1986521 Q2105 Q289303 Q1685859 Q256294 Q1685102 Q601266 Q2596877 Q677730 Q959708 Q3131449 Q947901 Q2851133 Q656015 Q1684642 Q1685301 Q355265 Q953762 Q1690734 Q4779594 Q973064 Q3178484
(Q90,P6,c(Q502895)) (Q1492,P6,c(Q502895))
action union
action filter_type
action find
entity Q90
relation P6
type Q502895
action filter_type
action find
entity Q1492
relation P6
type Q502895
[ANSWERS] are Paris and Barcelona the head of goverment of
['Q90', 'P6', {'concept': 'Q502895'}] ['Q1492', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?p property:P6 ?v . VALUES ( ?p ) { ( resource:Q90 ) ( resource:Q1492 ) } }
Nicolas Chambon Jacques Chirac Étienne Arago Jean Tiberi Bertrand Delanoë Jean-Nicolas Pache Louis-Antoine Garnier-Pagès René Boucher Armand Marrast Jules Ferry Henri Lefèvre d'Ormesson Jérôme Pétion de Villeneuve Anne Hidalgo Philibert Borie Jean-Baptiste Fleuriot-Lescot Jean Sylvain Bailly Pasqual Maragall i Mira Jordi Hereu i Boher Joan Clos i Matheu Ada Colau Xavier Trias Narcís Serra i Serra
Jacques Chirac, Étienne Arago and Jean Tiberi are Paris and Barcelona the head of goverment of
Jacques Chirac Étienne Arago Jean Tiberi
action union
action filter_type
action find
entity Paris
relation head of government
type common name
action filter_type
action find
entity Barcelona
relation head of government
type common name
['Paris', 'head of government', {'concept': 'common name'}] ['Barcelona', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?p property:head_of_government ?v . VALUES ( ?p ) { ( resource:Paris ) ( resource:Barcelona ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2105 Q289303 Q1685859
P6
Q56061
USER
Which administrative territories have their government headed by Jacques Chirac, Étienne Arago and Jean Tiberi ?
(c(Q56061),P6,Q2105) (c(Q56061),P6,Q289303) (c(Q56061),P6,Q1685859)
action union
action filter_type
action find_reverse
entity Q2105
relation P6
type Q56061
action filter_type
action find_reverse
entity Q289303
relation P6
type Q56061
action filter_type
action find_reverse
entity Q1685859
relation P6
type Q56061
[{'concept': 'Q56061'}, 'P6', 'Q2105'] [{'concept': 'Q56061'}, 'P6', 'Q289303'] [{'concept': 'Q56061'}, 'P6', 'Q1685859']
SELECT DISTINCT ?q WHERE { ?q property:P6 ?x . VALUES ( ?x ) { ( resource:Q289303 ) ( resource:Q2105 ) } }
Jacques Chirac Étienne Arago Jean Tiberi
action union
action filter_type
action find_reverse
entity Jacques Chirac
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Étienne Arago
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Jean Tiberi
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Jacques Chirac'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Étienne Arago'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Jean Tiberi']
SELECT DISTINCT ?q WHERE { ?q property:head_of_government ?x . VALUES ( ?x ) { ( resource:Étienne_Arago ) ( resource:Jacques_Chirac ) } }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(c(Q56061),P6,Q2105) (c(Q56061),P6,Q289303) (c(Q56061),P6,Q1685859)
action union
action filter_type
action find_reverse
entity Q2105
relation P6
type Q56061
action filter_type
action find_reverse
entity Q289303
relation P6
type Q56061
action filter_type
action find_reverse
entity Q1685859
relation P6
type Q56061
[ANSWER] have their government headed by Jacques Chirac, Étienne Arago and Jean Tiberi
[{'concept': 'Q56061'}, 'P6', 'Q2105'] [{'concept': 'Q56061'}, 'P6', 'Q289303'] [{'concept': 'Q56061'}, 'P6', 'Q1685859']
SELECT DISTINCT ?q WHERE { ?q property:P6 ?x . VALUES ( ?x ) { ( resource:Q289303 ) ( resource:Q2105 ) } }
Paris
Paris have their government headed by Jacques Chirac, Étienne Arago and Jean Tiberi
Paris
action union
action filter_type
action find_reverse
entity Jacques Chirac
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Étienne Arago
relation head of government
type administrative territorial entity
action filter_type
action find_reverse
entity Jean Tiberi
relation head of government
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'head of government', 'Jacques Chirac'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Étienne Arago'] [{'concept': 'administrative territorial entity'}, 'head of government', 'Jean Tiberi']
SELECT DISTINCT ?q WHERE { ?q property:head_of_government ?x . VALUES ( ?x ) { ( resource:Étienne_Arago ) ( resource:Jacques_Chirac ) } }
[]