Simple Question (Direct)
Simple Question
Q5272934
P106
Q12737077
USER
What do Dick Gibbs do for a living ?
(Q5272934,P106,c(Q12737077))
action filter_type
action find
entity Q5272934
relation P106
type Q12737077
['Q5272934', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q5272934 property:P106 ?m }
Dick Gibbs
action filter_type
action find
entity Dick Gibbs
relation occupation
type occupation
['Dick Gibbs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Dick_Gibbs property:occupation ?m }
[]
occupation
Q13414980 Q3665646
SYSTEM
Australian-rules footballer, basketball player
Q13414980 Q3665646
(Q5272934,P106,c(Q12737077))
action filter_type
action find
entity Q5272934
relation P106
type Q12737077
[ANSWERS] Dick Gibbs do for a living
['Q5272934', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q5272934 property:P106 ?m }
Australian-rules footballer basketball player
Australian-rules footballer and basketball player Dick Gibbs do for a living
Australian-rules footballer basketball player
action filter_type
action find
entity Dick Gibbs
relation occupation
type occupation
['Dick Gibbs', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Dick_Gibbs property:occupation ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5272934
P734
Q82799
USER
Which name is associated with Dick Gibbs ?
(Q5272934,P734,c(Q82799))
action filter_type
action find
entity Q5272934
relation P734
type Q82799
['Q5272934', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q5272934 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Dick Gibbs
action filter_type
action find
entity Dick Gibbs
relation family name
type name
['Dick Gibbs', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Dick_Gibbs property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q16870181
SYSTEM
Gibbs
Q16870181
(Q5272934,P734,c(Q82799))
action filter_type
action find
entity Q5272934
relation P734
type Q82799
[ANSWER] is associated with Dick [ANSWER]
['Q5272934', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q5272934 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Gibbs
Gibbs is associated with Dick Gibbs
Gibbs
action filter_type
action find
entity Dick Gibbs
relation family name
type name
['Dick Gibbs', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Dick_Gibbs property:family_name ?t . ?t rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q853614 Q151885 Q82799
USER
How many names are a component of around 1 identifiers and concepts ?
(c(Q82799),P361,c(Q853614)|c(Q151885))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:P361 ?s . ?f rdf:type ontology:Q82799 . ?s rdf:type ontology:Q853614 } UNION { ?f property:P361 ?s . ?s rdf:type ontology:Q151885 . ?f rdf:type ontology:Q82799 } } GROUP BY ?f } }
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:part_of ?s . ?f rdf:type ontology:name . ?s rdf:type ontology:identifier } UNION { ?f property:part_of ?s . ?s rdf:type ontology:concept . ?f rdf:type ontology:name } } GROUP BY ?f } }
[]
identifier concept name
SYSTEM
255
Q19984029 Q23539781 Q16101731 Q16515753 Q27355533 Q22001585 Q26000745 Q26822115 Q19986366 Q19963541 Q20731004 Q27651197 Q21491652 Q21501467 Q27037178 Q21484983 Q12783920 Q27037174 Q27651212 Q12594770 Q27356490 Q1946932 Q21144151 Q20731003 Q27357908 Q18001608 Q26775417 Q20155939 Q26971843 Q27465067 Q18645215 Q12788667 Q19831808 Q27357598 Q21475479 Q24477965 Q21488853 Q21487329 Q24477968 Q24090443 Q20675459 Q21279602 Q1058384 Q16563753 Q21450326 Q21510209 Q25114460 Q27436303 Q21431253 Q20985269 Q27037161 Q355505 Q27037165 Q21498452 Q27037169 Q1513700 Q18515515 Q18808411 Q21492574 Q19688789 Q18844248 Q27678568 Q19311987 Q5646565 Q20089343 Q19672747 Q19828992 Q21043141 Q22673958 Q4082729 Q18171095 Q110874 Q26448488 Q19832245 Q26822136 Q26822137 Q27635577 Q26822132 Q19688838 Q23636060 Q26822155 Q16161715 Q11878943 Q21506948 Q2547055 Q21492983 Q21584287 Q23039002 Q27037119 Q19944848 Q21512664 Q27204774 Q18808940 Q1173421 Q27476988 Q23822720 Q21450808 Q25114459 Q27230306 Q27538384 Q16390676 Q26772804 Q26822160 Q20900701 Q26986281 Q26235096 Q26944932 Q15897047 Q27450778 Q27229561 Q26944931 Q23640302 Q3372303 Q17165817 Q26736729 Q21450395 Q27357173 Q27356099 Q1247793 Q27355703 Q27185681 Q21506801 Q27203015 Q23590373 Q27355517 Q26235204 Q21069157 Q27229604 Q23907762 Q27450583 Q27229563 Q27450587 Q15835964 Q21471177 Q20083701 Q885595 Q27203027 Q1707301 Q26822099 Q27229572 Q24573284 Q27251921 Q26868860 Q20003434 Q26877838 Q26986610 Q21502033 Q26449961 Q21452487 Q1158284 Q16876541 Q16932005 Q27642537 Q27450911 Q12788669 Q23590368 Q13639177 Q27037180 Q19944235 Q804437 Q21450555 Q27670177 Q23041619 Q1620641 Q21130107 Q808994 Q16279139 Q21447940 Q19998957 Q17505763 Q18552178 Q27356272 Q19768404 Q12036851 Q19810530 Q26822081 Q24090532 Q18228388 Q26906549 Q26742856 Q26986918 Q1703599 Q19961051 Q12020943 Q12188082 Q20010325 Q26235099 Q23578592 Q27133109 Q21491435 Q23767331 Q23767330 Q21507872 Q27450606 Q21508944 Q2824680 Q27450608 Q26774382 Q19550817 Q18689509 Q27355496 Q19768398 Q15813147 Q12784475 Q21431135 Q26772911 Q21484692 Q27037157 Q27651236 Q26972674 Q18402175 Q21886149 Q12785732 Q19839042 Q27450686 Q23569212 Q21492540 Q21142292 Q27450728 Q27450834 Q27450836 Q23907739 Q2287331 Q23578587 Q22348139 Q21057288 Q21476618 Q3701009 Q21484521 Q746990 Q4812724 Q21534898 Q26234451 Q19550800 Q23538357 Q1737707 Q26972634 Q16175496 Q19856970 Q21143968 Q21143966 Q21450552 Q19839041 Q27450738 Q27450739 Q876933 Q27131901 Q19582298 Q19688887 Q27450824 Q26220628 Q13582244 Q15789615 Q20982280 Q27450829
(c(Q82799),P361,c(Q853614)|c(Q151885))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q82799
type Q853614
action find_tuple_counts
relation P361
type Q82799
type Q151885
value 1
[ANSWER]
[{'concept': 'Q82799'}, 'P361', [{'concept': 'Q853614'}, {'concept': 'Q151885'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:P361 ?s . ?f rdf:type ontology:Q82799 . ?s rdf:type ontology:Q853614 } UNION { ?f property:P361 ?s . ?s rdf:type ontology:Q151885 . ?f rdf:type ontology:Q82799 } } GROUP BY ?f } }
Minami Asami Carter Farkas Türkkan Lamont Meta Candan Brodie Cassie Crawford Littleton Esin Olivera Bainbridge Dwyer Abram Bridger Redmond Man Holly Moosa Fedde Crawford Ademola Sylvain Dalibor Clancy Ado Özgen Agostino Fabjan Loren Siemion Ersan Guibert Tyson Hewitt Guibert Matsuo Anania Regan hakham Hunter Jayne Sierra Savva Gisbert Adamou Barrington Hakim Nobiliary particle Abner Kelso Hersey Gerlach Albano Egerton Loui Achim Rowan Sami Yoshihara Han Han Aubrey Shelley Cave Sherman Belarusian surname Armand patronymic Akiyoshi Sami Akilu Řehoř Gruffudd Wito Kaj Cassie Rauf Albin Urban Izumi Walther Regan Jabez Marshall Melvyn Eraydın Redouane Parvin Neil Davern Şentürk Malick Inal Savva Durmuş Fedde Falk Elias Chadi Nolan Seyfi Lillie Apple Percy Shigematsu Köken Apple Britt Mai Warren Olumide Hillis Cave Frenk Kinnon Eden Rickard Herschel Joby Raimond Savin Loudon Mateja Sweeney Florenz Asiedu Robison Mordaunt Mynors Prentice Man Blue Joby Tyler Ademola Aydın Laverne Lamont Cale Marielle Sanusi Addis Browning Takumi Alfonzo Heinz Máté Mai Robbie Mahrez Fabjan Raimond Jean Dalrymple Osborne Bakir Hilbert Ripley Stuart Hisataka Calvert Barry Máté Hester Paltiel Virgil Alonso Golden Courtney Michel Han Amin Minami Leonard Germann Fabiano Sabra Jordan Izumi Hunter James Ganna Lillie Aynsley Arnell Norman Koren Koren Henning Wilf Finlay Ado Haym Chariton Alden Marion Milić Jonas Bas Amos Gill Abbas Neilson Řehoř Sylvester Thijs Bernard Alfonzo Berchtold Cushman Flower Clint Kingsley Gerbrand Greenbury Harouna Henrie Florian Simon Aynsley Ripley Hester Miwa Dale Romaine Brahman Ataman Fethi Rupert Alden Azuma Keefe Noah Bas Squire Herrmann Henrie Hamilton Cushman Keill Moumouni magi Tokiwa Melville Tone Savea Arian Dale Brady Maury Akpan
255
action count
action approx
action union
action find_tuple_counts
relation part of
type name
type identifier
action find_tuple_counts
relation part of
type name
type concept
value 1
[{'concept': 'name'}, 'part of', [{'concept': 'identifier'}, {'concept': 'concept'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?j ) WHERE { FILTER ( ?u = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?u ) ?f WHERE { { ?f property:part_of ?s . ?f rdf:type ontology:name . ?s rdf:type ontology:identifier } UNION { ?f property:part_of ?s . ?s rdf:type ontology:concept . ?f rdf:type ontology:name } } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5272934
P20
Q20667921
USER
Where did Dick Gibbs die ?
(Q5272934,P20,c(Q20667921))
action filter_type
action find
entity Q5272934
relation P20
type Q20667921
['Q5272934', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q5272934 property:P20 ?f }
Dick Gibbs
action filter_type
action find
entity Dick Gibbs
relation place of death
type type of french administrative division
['Dick Gibbs', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Dick_Gibbs property:place_of_death ?f }
[]
type of french administrative division
Q1024755
SYSTEM
Fleurbaix
Q1024755
(Q5272934,P20,c(Q20667921))
action filter_type
action find
entity Q5272934
relation P20
type Q20667921
Dick Gibbs died in [ANSWER]
['Q5272934', 'P20', {'concept': 'Q20667921'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q20667921 . resource:Q5272934 property:P20 ?f }
Fleurbaix
Dick Gibbs died in Fleurbaix
Fleurbaix
action filter_type
action find
entity Dick Gibbs
relation place of death
type type of french administrative division
['Dick Gibbs', 'place of death', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:type_of_french_administrative_division . resource:Dick_Gibbs property:place_of_death ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5272934
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q1024755,P19,c(Q56061))
action filter_type
action find
entity Q5272934
relation P19
type Q56061
['Q1024755', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5272934 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Dick Gibbs
action filter_type
action find
entity Dick Gibbs
relation place of birth
type administrative territorial entity
['Fleurbaix', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Dick_Gibbs property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1009509
SYSTEM
Colac
Q1009509
(Q1024755,P19,c(Q56061))
action filter_type
action find
entity Q5272934
relation P19
type Q56061
That person was born to [ANSWER]
['Q1024755', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5272934 property:P19 ?j . ?j rdf:type ontology:Q56061 }
Colac
That person was born to Colac
Colac
action filter_type
action find
entity Dick Gibbs
relation place of birth
type administrative territorial entity
['Fleurbaix', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Dick_Gibbs property:place_of_birth ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5272934
P607
Q198
USER
Which battle did Dick Gibbs take part in ?
(Q5272934,P607,c(Q198))
action filter_type
action find
entity Q5272934
relation P607
type Q198
['Q5272934', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q5272934 property:P607 ?t . ?t rdf:type ontology:Q198 }
Dick Gibbs
action filter_type
action find
entity Dick Gibbs
relation conflict
type war
['Dick Gibbs', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Dick_Gibbs property:conflict ?t . ?t rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q5272934,P607,c(Q198))
action filter_type
action find
entity Q5272934
relation P607
type Q198
Dick Gibbs took part in [ANSWER]
['Q5272934', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?t WHERE { resource:Q5272934 property:P607 ?t . ?t rdf:type ontology:Q198 }
World War I
Dick Gibbs took part in World War I
World War I
action filter_type
action find
entity Dick Gibbs
relation conflict
type war
['Dick Gibbs', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?t WHERE { resource:Dick_Gibbs property:conflict ?t . ?t rdf:type ontology:war }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7870946
Q198
USER
And how about USS LST-332?
(Q7870946,P607,c(Q198))
action filter_type
action find
entity Q7870946
relation P607
type Q198
['Q7870946', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { resource:Q7870946 property:P607 ?g . ?g rdf:type ontology:Q198 }
USS LST-332
action filter_type
action find
entity USS LST-332
relation conflict
type war
['USS LST-332', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { resource:USS_LST-332 property:conflict ?g . ?g rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q7870946,P607,c(Q198))
action filter_type
action find
entity Q7870946
relation P607
type Q198
[ANSWER]
['Q7870946', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { resource:Q7870946 property:P607 ?g . ?g rdf:type ontology:Q198 }
World War II
World War II
action filter_type
action find
entity USS LST-332
relation conflict
type war
['USS LST-332', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { resource:USS_LST-332 property:conflict ?g . ?g rdf:type ontology:war }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1024755
P17
Q15617994
USER
Which administrative territory is Fleurbaix present in ?
(Q1024755,P17,c(Q15617994))
action filter_type
action find
entity Q1024755
relation P17
type Q15617994
['Q1024755', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1024755 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Fleurbaix
action filter_type
action find
entity Fleurbaix
relation country
type designation for an administrative territorial entity
['Fleurbaix', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Fleurbaix property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1024755,P17,c(Q15617994))
action filter_type
action find
entity Q1024755
relation P17
type Q15617994
Fleurbaix is in [ANSWER]
['Q1024755', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q1024755 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
France
Fleurbaix is in France
France
action filter_type
action find
entity Fleurbaix
relation country
type designation for an administrative territorial entity
['Fleurbaix', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Fleurbaix property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1024755
P47
Q20667921
USER
Which french administrative divisions have an adjacent border with that one ?
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1024755
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?c WHERE { resource:Q1024755 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Fleurbaix
action filter_type
action find
entity Fleurbaix
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?c WHERE { resource:Fleurbaix property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q458711 Q664635 Q1115971
SYSTEM
Laventie, Aubers, Erquinghem-Lys
Q664635 Q1115971 Q289867 Q642650 Q877819 Q1162906 Q458711
(c(Q20667921),P47,Q142)
action filter_type
action find
entity Q1024755
relation P47
type Q20667921
[ANSWERS] have an adjacent border with that one
[{'concept': 'Q20667921'}, 'P47', 'Q142']
SELECT DISTINCT ?c WHERE { resource:Q1024755 property:P47 ?c . ?c rdf:type ontology:Q20667921 }
Aubers Erquinghem-Lys Bois-Grenier Fromelles Sailly-sur-la-Lys Le Maisnil Laventie
Laventie, Aubers and Erquinghem-Lys have an adjacent border with that one
Laventie Aubers Erquinghem-Lys
action filter_type
action find
entity Fleurbaix
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'France']
SELECT DISTINCT ?c WHERE { resource:Fleurbaix property:shares_border_with ?c . ?c rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1024755
P47
Q20667921
USER
Do those ones share a border with Fleurbaix ?
(Q1024755,P47,Q458711) (Q1024755,P47,Q664635) (Q1024755,P47,Q1115971)
action is_in
entity prev_answer
action find
entity Q1024755
relation P47
['Q1024755', 'P47', 'Q458711'] ['Q1024755', 'P47', 'Q664635'] ['Q1024755', 'P47', 'Q1115971']
ASK WHERE { VALUES ( ?k ) { ( resource:Q664635 ) ( resource:Q1115971 ) ( resource:Q289867 ) } . resource:Q1024755 property:P47 ?k }
Fleurbaix
action is_in
entity prev_answer
action find
entity Fleurbaix
relation shares border with
['Fleurbaix', 'shares border with', 'Laventie'] ['Fleurbaix', 'shares border with', 'Aubers'] ['Fleurbaix', 'shares border with', 'Erquinghem-Lys']
ASK WHERE { VALUES ( ?k ) { ( resource:Aubers ) ( resource:Erquinghem-Lys ) ( resource:Bois-Grenier ) } . resource:Fleurbaix property:shares_border_with ?k }
[]
type of french administrative division
SYSTEM
YES
(Q1024755,P47,Q458711) (Q1024755,P47,Q664635) (Q1024755,P47,Q1115971)
action is_in
entity prev_answer
action find
entity Q1024755
relation P47
[ANSWER]
['Q1024755', 'P47', 'Q458711'] ['Q1024755', 'P47', 'Q664635'] ['Q1024755', 'P47', 'Q1115971']
ASK WHERE { VALUES ( ?k ) { ( resource:Q664635 ) ( resource:Q1115971 ) ( resource:Q289867 ) } . resource:Q1024755 property:P47 ?k }
Yes
action is_in
entity prev_answer
action find
entity Fleurbaix
relation shares border with
['Fleurbaix', 'shares border with', 'Laventie'] ['Fleurbaix', 'shares border with', 'Aubers'] ['Fleurbaix', 'shares border with', 'Erquinghem-Lys']
ASK WHERE { VALUES ( ?k ) { ( resource:Aubers ) ( resource:Erquinghem-Lys ) ( resource:Bois-Grenier ) } . resource:Fleurbaix property:shares_border_with ?k }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q841296
P1376
Q20667921 Q515
USER
How many cities are center of administration for greater number of french administrative divisions than Příbram ?
(c(Q515),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q841296
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?j property:P1376 ?l . ?j rdf:type ontology:Q515 . ?l rdf:type ontology:Q20667921 } GROUP BY ?j } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q515 . resource:Q841296 property:P1376 ?u } } }
Příbram
action count
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Příbram
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?j property:capital_of ?l . ?j rdf:type ontology:city . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?j } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:city . resource:Příbram property:capital_of ?u } } }
[]
type of french administrative division city
SYSTEM
5
Q23482 Q6602 Q6582 Q456 Q7003
(c(Q515),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q841296
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?j property:P1376 ?l . ?j rdf:type ontology:Q515 . ?l rdf:type ontology:Q20667921 } GROUP BY ?j } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:Q515 . resource:Q841296 property:P1376 ?u } } }
Marseille Strasbourg Carcassonne Lyon Dijon
5
action count
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Příbram
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?j property:capital_of ?l . ?j rdf:type ontology:city . ?l rdf:type ontology:type_of_french_administrative_division } GROUP BY ?j } . FILTER ( ?z > ?f ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?f ) WHERE { ?u rdf:type ontology:city . resource:Příbram property:capital_of ?u } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q335506
P1376
Q20667921 Q515
USER
And also tell me about Salto?
(c(Q515),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q335506
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q335506 property:P1376 ?p . ?p rdf:type ontology:Q515 } } . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?x property:P1376 ?n . ?x rdf:type ontology:Q515 . ?n rdf:type ontology:Q20667921 } GROUP BY ?x } }
Salto
action count
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Salto
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Salto property:capital_of ?p . ?p rdf:type ontology:city } } . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?x property:capital_of ?n . ?x rdf:type ontology:city . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?x } }
[]
type of french administrative division city
SYSTEM
5
Q23482 Q6602 Q6582 Q456 Q7003
(c(Q515),P1376,c(Q20667921))
action count
action greater
action find_tuple_counts
relation P1376
type Q515
type Q20667921
action count
action filter_type
action find
entity Q335506
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q335506 property:P1376 ?p . ?p rdf:type ontology:Q515 } } . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?x property:P1376 ?n . ?x rdf:type ontology:Q515 . ?n rdf:type ontology:Q20667921 } GROUP BY ?x } }
Marseille Strasbourg Carcassonne Lyon Dijon
5
action count
action greater
action find_tuple_counts
relation capital of
type city
type type of french administrative division
action count
action filter_type
action find
entity Salto
relation capital of
type city
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) WHERE { FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Salto property:capital_of ?p . ?p rdf:type ontology:city } } . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?x property:capital_of ?n . ?x rdf:type ontology:city . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?x } }
[]