Simple Question (Direct)
Simple Question
Q19720813
P1346
Q502895
USER
Which people were the winner of 2015 Ronde van Zeeland Seaports ?
(Q19720813,P1346,c(Q502895))
action filter_type
action find
entity Q19720813
relation P1346
type Q502895
['Q19720813', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19720813 property:P1346 ?q . ?q rdf:type ontology:Q502895 }
2015 Ronde van Zeeland Seaports
action filter_type
action find
entity 2015 Ronde van Zeeland Seaports
relation winner
type common name
['2015 Ronde van Zeeland Seaports', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:2015_Ronde_van_Zeeland_Seaports property:winner ?q . ?q rdf:type ontology:common_name }
[]
common name
Q15878904 Q447532 Q939507
SYSTEM
Łukasz Wiśniowski, Niki Terpstra, Iljo Keisse
Q15878904 Q447532 Q939507
(Q19720813,P1346,c(Q502895))
action filter_type
action find
entity Q19720813
relation P1346
type Q502895
[ANSWERS] were the winner of 2015 Ronde van Zeeland Seaports
['Q19720813', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q19720813 property:P1346 ?q . ?q rdf:type ontology:Q502895 }
Łukasz Wiśniowski Niki Terpstra Iljo Keisse
Łukasz Wiśniowski, Niki Terpstra and Iljo Keisse were the winner of 2015 Ronde van Zeeland Seaports
Łukasz Wiśniowski Niki Terpstra Iljo Keisse
action filter_type
action find
entity 2015 Ronde van Zeeland Seaports
relation winner
type common name
['2015 Ronde van Zeeland Seaports', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:2015_Ronde_van_Zeeland_Seaports property:winner ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19720813
P1427
Q13220204
USER
Which administrative country subdivision is the starting point of that single-day race ?
(Q15878904,P1427,c(Q13220204)) (Q447532,P1427,c(Q13220204)) (Q939507,P1427,c(Q13220204))
action filter_type
action find
entity Q19720813
relation P1427
type Q13220204
['Q15878904', 'P1427', {'concept': 'Q13220204'}] ['Q447532', 'P1427', {'concept': 'Q13220204'}] ['Q939507', 'P1427', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q19720813 property:P1427 ?n . ?n rdf:type ontology:Q13220204 }
2015 Ronde van Zeeland Seaports
action filter_type
action find
entity 2015 Ronde van Zeeland Seaports
relation start point
type second-level administrative country subdivision
['Łukasz Wiśniowski', 'start point', {'concept': 'second-level administrative country subdivision'}] ['Niki Terpstra', 'start point', {'concept': 'second-level administrative country subdivision'}] ['Iljo Keisse', 'start point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:2015_Ronde_van_Zeeland_Seaports property:start_point ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q10081
SYSTEM
Terneuzen
Q10081
(Q15878904,P1427,c(Q13220204)) (Q447532,P1427,c(Q13220204)) (Q939507,P1427,c(Q13220204))
action filter_type
action find
entity Q19720813
relation P1427
type Q13220204
[ANSWER] is the starting point of that single-day race
['Q15878904', 'P1427', {'concept': 'Q13220204'}] ['Q447532', 'P1427', {'concept': 'Q13220204'}] ['Q939507', 'P1427', {'concept': 'Q13220204'}]
SELECT DISTINCT ?n WHERE { resource:Q19720813 property:P1427 ?n . ?n rdf:type ontology:Q13220204 }
Terneuzen
Terneuzen is the starting point of that single-day race
Terneuzen
action filter_type
action find
entity 2015 Ronde van Zeeland Seaports
relation start point
type second-level administrative country subdivision
['Łukasz Wiśniowski', 'start point', {'concept': 'second-level administrative country subdivision'}] ['Niki Terpstra', 'start point', {'concept': 'second-level administrative country subdivision'}] ['Iljo Keisse', 'start point', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?n WHERE { resource:2015_Ronde_van_Zeeland_Seaports property:start_point ?n . ?n rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1444
Q486972 Q515 Q2912397
USER
How many single-day races finish the journey at exactly 1 human settlements and cities ?
(c(Q2912397),P1444,c(Q486972)|c(Q515))
action count
action equal
action union
action find_tuple_counts
relation P1444
type Q2912397
type Q486972
action find_tuple_counts
relation P1444
type Q2912397
type Q515
value 1
[{'concept': 'Q2912397'}, 'P1444', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?l WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?l } . FILTER ( ?q = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation destination point
type single-day race
type human settlement
action find_tuple_counts
relation destination point
type single-day race
type city
value 1
[{'concept': 'single-day race'}, 'destination point', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?l WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?l } . FILTER ( ?q = 1 ) }
[]
human settlement city single-day race
SYSTEM
5
Q18745059 Q19598869 Q20084072 Q17652014 Q20895350
(c(Q2912397),P1444,c(Q486972)|c(Q515))
action count
action equal
action union
action find_tuple_counts
relation P1444
type Q2912397
type Q486972
action find_tuple_counts
relation P1444
type Q2912397
type Q515
value 1
[ANSWER]
[{'concept': 'Q2912397'}, 'P1444', [{'concept': 'Q486972'}, {'concept': 'Q515'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?l WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q486972 ) ( ontology:Q515 ) } } GROUP BY ?l } . FILTER ( ?q = 1 ) }
2015 Grand Prix d'Ouverture La Marseillaise 2015 Vattenfall Cyclassics 2015 ZLM Tour 2014 Ronde van Zeeland Seaports Himmerland Rundt 2013
5
action count
action equal
action union
action find_tuple_counts
relation destination point
type single-day race
type human settlement
action find_tuple_counts
relation destination point
type single-day race
type city
value 1
[{'concept': 'single-day race'}, 'destination point', [{'concept': 'human settlement'}, {'concept': 'city'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?l WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:human_settlement ) ( ontology:city ) } } GROUP BY ?l } . FILTER ( ?q = 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q105586 Q10081
P20 P17
Q15617994
USER
Which administrative territories are Terneuzen situated in or did the expiration of Margaret of Brunswick-Lüneburg occur ?
OR((Q10081,P17,c(Q15617994)), (Q105586,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q10081
relation P17
action find
entity Q105586
relation P20
type Q15617994
{'OR': [['Q10081', 'P17', {'concept': 'Q15617994'}], ['Q105586', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q10081 property:P17 ?z } UNION { resource:Q105586 property:P20 ?z } } . ?z rdf:type ontology:Q15617994 }
Margaret of Brunswick-Lüneburg Terneuzen
action filter_type
action union
action find
entity Terneuzen
relation country
action find
entity Margaret of Brunswick-Lüneburg
relation place of death
type designation for an administrative territorial entity
{'OR': [['Terneuzen', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Margaret of Brunswick-Lüneburg', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Terneuzen property:country ?z } UNION { resource:Margaret_of_Brunswick-Lüneburg property:place_of_death ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q566292 Q55
SYSTEM
Wienhausen, Netherlands
Q566292 Q55
OR((Q10081,P17,c(Q15617994)), (Q105586,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q10081
relation P17
action find
entity Q105586
relation P20
type Q15617994
Terneuzen are situated in occur rence [ANSWERS]
{'OR': [['Q10081', 'P17', {'concept': 'Q15617994'}], ['Q105586', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q10081 property:P17 ?z } UNION { resource:Q105586 property:P20 ?z } } . ?z rdf:type ontology:Q15617994 }
Wienhausen Netherlands
Terneuzen are situated in occur rence Wienhausen and Netherlands
Wienhausen Netherlands
action filter_type
action union
action find
entity Terneuzen
relation country
action find
entity Margaret of Brunswick-Lüneburg
relation place of death
type designation for an administrative territorial entity
{'OR': [['Terneuzen', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Margaret of Brunswick-Lüneburg', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Terneuzen property:country ?z } UNION { resource:Margaret_of_Brunswick-Lüneburg property:place_of_death ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q566292
P190
Q20667921
USER
Which french administrative division is a sister city of that administrative territory ?
(c(Q20667921),P190,Q566292)
action filter_type
action find
entity Q566292
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q566292']
SELECT DISTINCT ?o WHERE { resource:Q566292 property:P190 ?o . ?o rdf:type ontology:Q20667921 }
Wienhausen
action filter_type
action find
entity Wienhausen
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Wienhausen']
SELECT DISTINCT ?o WHERE { resource:Wienhausen property:sister_city ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Clarification for simple ques.
Q566292
SYSTEM
Did you mean Wienhausen ?
Q566292 Q55
(c(Q20667921),P190,Q566292) (c(Q20667921),P190,Q55)
[ANSWER]
[{'concept': 'Q20667921'}, 'P190', 'Q566292'] [{'concept': 'Q20667921'}, 'P190', 'Q55']
SELECT DISTINCT ?o WHERE { resource:Q566292 property:P190 ?o . ?o rdf:type ontology:Q20667921 }
Wienhausen Netherlands
Did you mean Wienhausen ?
Wienhausen
[{'concept': 'type of french administrative division'}, 'sister city', 'Wienhausen'] [{'concept': 'type of french administrative division'}, 'sister city', 'Netherlands']
SELECT DISTINCT ?o WHERE { resource:Wienhausen property:sister_city ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q20667921),P190,Q566292)
[{'concept': 'Q20667921'}, 'P190', 'Q566292']
[{'concept': 'type of french administrative division'}, 'sister city', 'Wienhausen']
[]
Q630364
SYSTEM
Portbail
Q630364
(c(Q20667921),P190,Q566292)
action filter_type
action find
entity Q566292
relation P190
type Q20667921
[ANSWER] is a sister city of that administrative territory
[{'concept': 'Q20667921'}, 'P190', 'Q566292']
SELECT DISTINCT ?o WHERE { resource:Q566292 property:P190 ?o . ?o rdf:type ontology:Q20667921 }
Portbail
Portbail is a sister city of that administrative territory
Portbail
action filter_type
action find
entity Wienhausen
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Wienhausen']
SELECT DISTINCT ?o WHERE { resource:Wienhausen property:sister_city ?o . ?o rdf:type ontology:type_of_french_administrative_division }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q34762
P1376
Q15617994 Q20667921 Q486972
USER
How many administrative territories have more number of french administrative divisions or human settlements as their capital than Principality of Bayreuth ?
(c(Q20667921)|c(Q486972),P1376,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q34762
relation P1376
type Q20667921
type Q486972
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { { ?p rdf:type ontology:Q20667921 } UNION { ?p rdf:type ontology:Q486972 } } . ?p property:P1376 resource:Q34762 } } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?l property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q486972 } UNION { ?l property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q20667921 } } GROUP BY ?t } }
Principality of Bayreuth
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Principality of Bayreuth
relation capital of
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { { ?p rdf:type ontology:type_of_french_administrative_division } UNION { ?p rdf:type ontology:human_settlement } } . ?p property:capital_of resource:Principality_of_Bayreuth } } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?l property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:human_settlement } UNION { ?l property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?t } }
[]
designation for an administrative territorial entity type of french administrative division human settlement
SYSTEM
95
Q12631 Q3368 Q1111401 Q2998020 Q3044731 Q12689 Q3377 Q3372 Q3093 Q3259 Q2528268 Q12594 Q12574 Q12798 Q12792 Q12700 Q12703 Q12709 Q12569 Q12642 Q3216 Q3194 Q541589 Q12804 Q12808 Q3326 Q3286 Q3266 Q3105 Q33788 Q12740 Q12745 Q12779 Q12607 Q12789 Q2281221 Q12694 Q12515 Q12517 Q3364 Q3148 Q492437 Q12675 Q12589 Q12584 Q12580 Q3131 Q12788 Q12784 Q12782 Q12730 Q12736 Q12657 Q12652 Q12556 Q12816 Q3353 Q3357 Q492430 Q3278 Q3184 Q2900529 Q12772 Q1999970 Q155019 Q107426 Q12661 Q1270623 Q965 Q3125 Q3120 Q3110307 Q12722 Q12553 Q12620 Q12626 Q12543 Q12563 Q426025 Q3349 Q3083 Q3240 Q3249 Q12761 Q12765 Q3334 Q12572 Q12576 Q12578 Q12679 Q3113 Q12758 Q12753 Q12751 Q12564
(c(Q20667921)|c(Q486972),P1376,c(Q15617994))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q20667921
action find_reverse_tuple_counts
relation P1376
type Q15617994
type Q486972
action count
action filter_multi_types
action find_reverse
entity Q34762
relation P1376
type Q20667921
type Q486972
[ANSWER]
[[{'concept': 'Q20667921'}, {'concept': 'Q486972'}], 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { { ?p rdf:type ontology:Q20667921 } UNION { ?p rdf:type ontology:Q486972 } } . ?p property:P1376 resource:Q34762 } } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?l property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q486972 } UNION { ?l property:P1376 ?t . ?t rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q20667921 } } GROUP BY ?t } }
Meuse Essonne Kispest District Corse Guyane Pas-de-Calais Eure-et-Loir Eure Aisne Cantal Mont-Blanc Marne Loiret Vendée Vaucluse Hautes-Pyrénées Pyrénées-Atlantiques Pyrénées-Orientales Loire Morbihan Aveyron Aube Ems-Supérieur Vienne Haute-Vienne Corrèze Cher Charente Vosges New Caledonia Sarthe Savoie Tarn-et-Garonne Haute-Marne Var Principality of Orange Puy-de-Dôme Gard Gers Drôme Ardèche Bouches-du-Weser Oise Manche Maine-et-Loire Lozère Alpes-de-Haute-Provence Val-de-Marne Val-d'Oise Territoire de Belfort Haute-Saône Saône-et-Loire Nièvre Moselle Indre-et-Loire Yonne Creuse Dordogne Bouches-de-l'Elbe Charente-Maritime Ariège Bezirk Lothringen Tarn Upper Alsace Duchy of Lorraine Anjou Nord Meurthe Burkina Faso Hautes-Alpes Jura Golo Haut-Rhin Indre Mayenne Meurthe-et-Moselle Hauts-de-Seine Landes Duchy of Savoy Côtes-d'Armor Ain Bouches-du-Rhône Calvados Seine-Saint-Denis Deux-Sèvres Haute-Corse Haute-Loire Lot Lot-et-Garonne Orne Allier Seine-Maritime Seine-et-Marne Haute-Savoie Loir-et-Cher
95
action count
action greater
action union
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type type of french administrative division
action find_reverse_tuple_counts
relation capital of
type designation for an administrative territorial entity
type human settlement
action count
action filter_multi_types
action find_reverse
entity Principality of Bayreuth
relation capital of
type type of french administrative division
type human settlement
[[{'concept': 'type of french administrative division'}, {'concept': 'human settlement'}], 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { { ?p rdf:type ontology:type_of_french_administrative_division } UNION { ?p rdf:type ontology:human_settlement } } . ?p property:capital_of resource:Principality_of_Bayreuth } } . FILTER ( ?y > ?n ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) ?t WHERE { { ?l property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:human_settlement } UNION { ?l property:capital_of ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?t } }
[]