Simple Question (Direct)
Simple Question
Q16235852
P21
Q290
USER
What is the sex of Jakub Sokolík ?
(Q16235852,P21,c(Q290))
action filter_type
action find
entity Q16235852
relation P21
type Q290
['Q16235852', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q16235852 property:P21 ?o }
Jakub Sokolík
action filter_type
action find
entity Jakub Sokolík
relation gender
type sex
['Jakub Sokolík', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Jakub_Sokolík property:gender ?o }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16235852,P21,c(Q290))
action filter_type
action find
entity Q16235852
relation P21
type Q290
[ANSWER]
['Q16235852', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q290 . resource:Q16235852 property:P21 ?o }
male
male
action filter_type
action find
entity Jakub Sokolík
relation gender
type sex
['Jakub Sokolík', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sex . resource:Jakub_Sokolík property:gender ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16235852
P641
Q349
USER
What did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q16235852
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q16235852 property:P641 ?z . ?z rdf:type ontology:Q349 }
Jakub Sokolík
action filter_type
action find
entity Jakub Sokolík
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Jakub_Sokolík property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q16235852
relation P641
type Q349
[ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q16235852 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Jakub Sokolík
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Jakub_Sokolík property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16235852
P19
Q56061
USER
Which administrative territory is the birthplace of Jakub Sokolík ?
(Q16235852,P19,c(Q56061))
action filter_type
action find
entity Q16235852
relation P19
type Q56061
['Q16235852', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16235852 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Jakub Sokolík
action filter_type
action find
entity Jakub Sokolík
relation place of birth
type administrative territorial entity
['Jakub Sokolík', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jakub_Sokolík property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8385
SYSTEM
Ostrava
Q8385
(Q16235852,P19,c(Q56061))
action filter_type
action find
entity Q16235852
relation P19
type Q56061
[ANSWER]
['Q16235852', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q16235852 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Ostrava
Ostrava
action filter_type
action find
entity Jakub Sokolík
relation place of birth
type administrative territorial entity
['Jakub Sokolík', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Jakub_Sokolík property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q768446
P69
Q502895
USER
How many people were educated at male or Corcoran Gallery of Art ?
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q768446)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q768446
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q768446']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P69 resource:Q6581097 . ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q502895 . ?k property:P69 resource:Q768446 } }
male Corcoran Gallery of Art
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity Corcoran Gallery of Art
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'Corcoran Gallery of Art']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:educated_at resource:male . ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:common_name . ?k property:educated_at resource:Corcoran_Gallery_of_Art } }
[]
common name
SYSTEM
3
Q16198317 Q4662307 Q21978966
(c(Q502895),P69,Q6581097) (c(Q502895),P69,Q768446)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
action filter_type
action find_reverse
entity Q768446
relation P69
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P69', 'Q6581097'] [{'concept': 'Q502895'}, 'P69', 'Q768446']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:P69 resource:Q6581097 . ?k rdf:type ontology:Q502895 } UNION { ?k rdf:type ontology:Q502895 . ?k property:P69 resource:Q768446 } }
Adelia Armstrong Lutz Aaron Parchem Ernest Lee Major
3
action count
action union
action filter_type
action find_reverse
entity male
relation educated at
type common name
action filter_type
action find_reverse
entity Corcoran Gallery of Art
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male'] [{'concept': 'common name'}, 'educated at', 'Corcoran Gallery of Art']
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { ?k property:educated_at resource:male . ?k rdf:type ontology:common_name } UNION { ?k rdf:type ontology:common_name . ?k property:educated_at resource:Corcoran_Gallery_of_Art } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types are the registry port of around 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?b ) WHERE { ?g rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 . ?g property:P532 ?n } GROUP BY ?g } . FILTER ( ?b = 2 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?b ) WHERE { ?g rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity . ?g property:port_of_registry ?n } GROUP BY ?g } . FILTER ( ?b = 2 ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?b ) WHERE { ?g rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 . ?g property:P532 ?n } GROUP BY ?g } . FILTER ( ?b = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?n ) AS ?b ) WHERE { ?g rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity . ?g property:port_of_registry ?n } GROUP BY ?g } . FILTER ( ?b = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q15700808
USER
How many urban unit definitions are named after atmost 1 ship type ?
(c(Q15700808),P138,c(Q2235308))
action count
action atmost
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
value 1
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?t property:P138 ?k . ?t rdf:type ontology:Q15700808 . ?k rdf:type ontology:Q2235308 } GROUP BY ?t } }
action count
action atmost
action find_tuple_counts
relation named after
type urban unit definition
type ship type
value 1
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?t property:named_after ?k . ?t rdf:type ontology:urban_unit_definition . ?k rdf:type ontology:ship_type } GROUP BY ?t } }
[]
ship type urban unit definition
SYSTEM
103
Q1594002 Q1421389 Q7026520 Q5377277 Q14935141 Q692763 Q7338840 Q2896400 Q4476251 Q949824 Q7989345 Q7626934 Q6391446 Q7641406 Q6271274 Q673418 Q1012058 Q6722652 Q4894915 Q7185600 Q22525629 Q763513 Q2651034 Q2918153 Q6480572 Q5167620 Q660135 Q1521059 Q4999948 Q482055 Q2918803 Q2918802 Q7810475 Q1160037 Q5184107 Q5598698 Q516923 Q5148151 Q7002958 Q1003684 Q5102084 Q2900456 Q256948 Q291305 Q12060435 Q4977003 Q5455716 Q5125861 Q4942699 Q5315441 Q2236090 Q256629 Q443946 Q7244455 Q1001743 Q17007340 Q6938213 Q1011478 Q7330307 Q905081 Q5679492 Q910857 Q7968787 Q2975743 Q6813667 Q4530072 Q59593 Q617029 Q3764261 Q1004189 Q652017 Q7899493 Q5135073 Q12736886 Q1228554 Q24239665 Q4976165 Q257618 Q5048437 Q2895133 Q538592 Q1109698 Q4455973 Q8026553 Q591771 Q860086 Q7617547 Q4972237 Q532284 Q2918677 Q7798372 Q1200355 Q1109824 Q4155281 Q6933244 Q994135 Q848872 Q520022 Q5166874 Q1012076 Q13420360 Q5211219 Q7141839
(c(Q15700808),P138,c(Q2235308))
action count
action atmost
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?t property:P138 ?k . ?t rdf:type ontology:Q15700808 . ?k rdf:type ontology:Q2235308 } GROUP BY ?t } }
Heidelberg Fitzroy Nicholls Enfield Fawkner Bonner Rivett Chifley Watson Sturt Weston Stuart Park Kensington Gardens Sunshine Tempe Bondi Beach Williamstown Macarthur Berserker Phillip Gillen Cremorne Alphington La Perouse Lalor Coombs Florey Tullamarine Burnley Acton Potts Point Camperdown Tiwi Lyons Cremorne Great Barr Evatt Colonel Light Gardens Neutral Bay Fraser Chisholm Darling Point Hackett Banks Holroyd Bruce Fitzroy North Clapham Bonython Dunlop Bankstown Scullin Altona Princes Hill Fisher Denman Prospect Murdoch Darlinghurst Richardson Dickson Hassall Grove Duffy Waramanga Kingsford Melrose Park Ainslie Fortitude Valley Holder Gilberton Frösön Crace Upwey Clontarf Normanhurst Palmerston Eaton Brown Hill Creek Waterloo Casey Phillip Bay Curtin Collingwood Turner Winthrop Albert Park Chapman Stirling Broadmeadows Chifley Waverley Throsby Derrimut Collinsvale Downer Muirhead Brunswick Braddon Forde Cook Richmond Barton Dallas Pascoe Vale
103
action count
action atmost
action find_tuple_counts
relation named after
type urban unit definition
type ship type
value 1
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { FILTER ( ?w <= 1 ) . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?w ) WHERE { ?t property:named_after ?k . ?t rdf:type ontology:urban_unit_definition . ?k rdf:type ontology:ship_type } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q804
P532
Q15617994 Q2235308
USER
Which administrative territories are the ports of registry of lesser number of ship types than Panama ?
(c(Q2235308),P532,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find_reverse
entity Q804
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P532 ?s . ?s rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2235308 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P532 resource:Q804 . ?n rdf:type ontology:Q2235308 } } . FILTER ( ?m < ?t ) }
Panama
action less
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find_reverse
entity Panama
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:port_of_registry ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:ship_type } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:port_of_registry resource:Panama . ?n rdf:type ontology:ship_type } } . FILTER ( ?m < ?t ) }
[]
designation for an administrative territorial entity ship type
Q38 Q55 Q145
SYSTEM
Italy, Netherlands, United Kingdom
Q55 Q233 Q709 Q145 Q20 Q38
(c(Q2235308),P532,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find_reverse
entity Q804
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:P532 ?s . ?s rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2235308 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:P532 resource:Q804 . ?n rdf:type ontology:Q2235308 } } . FILTER ( ?m < ?t ) }
Netherlands Malta Marshall Islands United Kingdom Norway Italy
Italy Netherlands United Kingdom
action less
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find_reverse
entity Panama
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?o ) AS ?m ) WHERE { ?o property:port_of_registry ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:ship_type } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { ?n property:port_of_registry resource:Panama . ?n rdf:type ontology:ship_type } } . FILTER ( ?m < ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q490453
P532
Q15617994 Q2235308
USER
And what about Eckernförde?
(c(Q2235308),P532,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find_reverse
entity Q490453
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P532 ?v . ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2235308 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P532 resource:Q490453 . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?c < ?s ) }
Eckernförde
action less
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find_reverse
entity Eckernförde
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:port_of_registry ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:ship_type } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:port_of_registry resource:Eckernförde . ?k rdf:type ontology:ship_type } } . FILTER ( ?c < ?s ) }
[]
designation for an administrative territorial entity ship type
Q38 Q55 Q145
SYSTEM
Italy, Netherlands, United Kingdom
Q55 Q233 Q709 Q145 Q20 Q38
(c(Q2235308),P532,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P532
type Q15617994
type Q2235308
action count
action filter_type
action find_reverse
entity Q490453
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P532 ?v . ?v rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q2235308 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:P532 resource:Q490453 . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?c < ?s ) }
Netherlands Malta Marshall Islands United Kingdom Norway Italy
Italy Netherlands United Kingdom
action less
action find_reverse_tuple_counts
relation port of registry
type designation for an administrative territorial entity
type ship type
action count
action filter_type
action find_reverse
entity Eckernförde
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:port_of_registry ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:ship_type } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { ?k property:port_of_registry resource:Eckernförde . ?k rdf:type ontology:ship_type } } . FILTER ( ?c < ?s ) }
[]