Simple Question (Direct)
Simple Question
Q1347021
P166
Q618779
USER
What was won by Janusz Gajos ?
(Q1347021,P166,c(Q618779))
action filter_type
action find
entity Q1347021
relation P166
type Q618779
['Q1347021', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q1347021 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Janusz Gajos
action filter_type
action find
entity Janusz Gajos
relation award received
type award
['Janusz Gajos', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Janusz_Gajos property:award_received ?v . ?v rdf:type ontology:award }
[]
award
Q1702885
SYSTEM
Medal for Merit to Culture
Q1702885
(Q1347021,P166,c(Q618779))
action filter_type
action find
entity Q1347021
relation P166
type Q618779
The [ANSWER] was won by Janusz Gajos
['Q1347021', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q1347021 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Medal for Merit to Culture
The Medal for Merit to Culture was won by Janusz Gajos
Medal for Merit to Culture
action filter_type
action find
entity Janusz Gajos
relation award received
type award
['Janusz Gajos', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Janusz_Gajos property:award_received ?v . ?v rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1347021
P21
Q290
USER
Which sex does Janusz Gajos have ?
(Q1347021,P21,c(Q290))
action filter_type
action find
entity Q1347021
relation P21
type Q290
['Q1347021', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1347021 property:P21 ?n . ?n rdf:type ontology:Q290 }
Janusz Gajos
action filter_type
action find
entity Janusz Gajos
relation gender
type sex
['Janusz Gajos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Janusz_Gajos property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1347021,P21,c(Q290))
action filter_type
action find
entity Q1347021
relation P21
type Q290
Janusz Gajos has a [ANSWER]
['Q1347021', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1347021 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Janusz Gajos has a male
male
action filter_type
action find
entity Janusz Gajos
relation gender
type sex
['Janusz Gajos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Janusz_Gajos property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1347021
P19
Q486972
USER
Where was that person born ?
(Q6581097,P19,c(Q486972))
action filter_type
action find
entity Q1347021
relation P19
type Q486972
['Q6581097', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q1347021 property:P19 ?r . ?r rdf:type ontology:Q486972 }
Janusz Gajos
action filter_type
action find
entity Janusz Gajos
relation place of birth
type human settlement
['male', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Janusz_Gajos property:place_of_birth ?r . ?r rdf:type ontology:human_settlement }
[]
human settlement
Q108672
SYSTEM
Dąbrowa Górnicza
Q108672
(Q6581097,P19,c(Q486972))
action filter_type
action find
entity Q1347021
relation P19
type Q486972
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q1347021 property:P19 ?r . ?r rdf:type ontology:Q486972 }
Dąbrowa Górnicza
That person was born in Dąbrowa Górnicza
Dąbrowa Górnicza
action filter_type
action find
entity Janusz Gajos
relation place of birth
type human settlement
['male', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Janusz_Gajos property:place_of_birth ?r . ?r rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1376
Q515 Q486972
USER
Which cities have min number of human settlements as their capital ?
(c(Q486972),P1376,Q850992)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
[{'concept': 'Q486972'}, 'P1376', 'Q850992']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:P1376 ?f . ?f rdf:type ontology:Q515 . ?n rdf:type ontology:Q486972 } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P1376 ?o . ?o rdf:type ontology:Q515 . ?a rdf:type ontology:Q486972 } GROUP BY ?o } . FILTER ( ?y = ?x ) }
action argmin
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Costești']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:capital_of ?f . ?f rdf:type ontology:city . ?n rdf:type ontology:human_settlement } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:capital_of ?o . ?o rdf:type ontology:city . ?a rdf:type ontology:human_settlement } GROUP BY ?o } . FILTER ( ?y = ?x ) }
[]
city human settlement
Q1410 Q235 Q148540
SYSTEM
Gibraltar, Monaco, Republic of Florence
Q1410 Q235 Q148540
(c(Q486972),P1376,Q850992)
action argmin
action find_reverse_tuple_counts
relation P1376
type Q515
type Q486972
[ANSWERS] have min number of human settlements as their capital
[{'concept': 'Q486972'}, 'P1376', 'Q850992']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:P1376 ?f . ?f rdf:type ontology:Q515 . ?n rdf:type ontology:Q486972 } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:P1376 ?o . ?o rdf:type ontology:Q515 . ?a rdf:type ontology:Q486972 } GROUP BY ?o } . FILTER ( ?y = ?x ) }
Gibraltar Monaco Republic of Florence
Gibraltar, Monaco and Republic of Florence have min number of human settlements as their capital
Gibraltar Monaco Republic of Florence
action argmin
action find_reverse_tuple_counts
relation capital of
type city
type human settlement
[{'concept': 'human settlement'}, 'capital of', 'Costești']
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ?f ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:capital_of ?f . ?f rdf:type ontology:city . ?n rdf:type ontology:human_settlement } GROUP BY ?f } } . { SELECT DISTINCT ?o ( COUNT ( ?a ) AS ?y ) WHERE { ?a property:capital_of ?o . ?o rdf:type ontology:city . ?a rdf:type ontology:human_settlement } GROUP BY ?o } . FILTER ( ?y = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q847550
P206
Q1267889 Q337567 Q515
USER
How many cities are situated in the neighbourhood of around the same number of waterways or still waterss as Nikaho ?
(c(Q515),P206,c(Q1267889)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q337567
action count
action filter_multi_types
action find
entity Q847550
relation P206
type Q1267889
type Q337567
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { { ?t property:P206 ?y . ?t rdf:type ontology:Q515 . ?y rdf:type ontology:Q1267889 } UNION { ?t property:P206 ?y . ?t rdf:type ontology:Q515 . ?y rdf:type ontology:Q337567 } } GROUP BY ?t } . FILTER ( ?u = ?b ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q847550 property:P206 ?e . { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q1267889 } } } } }
Nikaho
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type still waters
action count
action filter_multi_types
action find
entity Nikaho
relation located next to body of water
type waterway
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { { ?t property:located_next_to_body_of_water ?y . ?t rdf:type ontology:city . ?y rdf:type ontology:waterway } UNION { ?t property:located_next_to_body_of_water ?y . ?t rdf:type ontology:city . ?y rdf:type ontology:still_waters } } GROUP BY ?t } . FILTER ( ?u = ?b ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Nikaho property:located_next_to_body_of_water ?e . { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:waterway } } } } }
[]
waterway still waters city
SYSTEM
96
Q1410 Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q2749 Q4174 Q3838 Q2833 Q1209 Q23661 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q646780 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q337567
action count
action filter_multi_types
action find
entity Q847550
relation P206
type Q1267889
type Q337567
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { { ?t property:P206 ?y . ?t rdf:type ontology:Q515 . ?y rdf:type ontology:Q1267889 } UNION { ?t property:P206 ?y . ?t rdf:type ontology:Q515 . ?y rdf:type ontology:Q337567 } } GROUP BY ?t } . FILTER ( ?u = ?b ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Q847550 property:P206 ?e . { { ?e rdf:type ontology:Q337567 } UNION { ?e rdf:type ontology:Q1267889 } } } } }
Gibraltar Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Augsburg Emden Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Katagami Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
96
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type still waters
action count
action filter_multi_types
action find
entity Nikaho
relation located next to body of water
type waterway
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?u ) WHERE { { ?t property:located_next_to_body_of_water ?y . ?t rdf:type ontology:city . ?y rdf:type ontology:waterway } UNION { ?t property:located_next_to_body_of_water ?y . ?t rdf:type ontology:city . ?y rdf:type ontology:still_waters } } GROUP BY ?t } . FILTER ( ?u = ?b ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { resource:Nikaho property:located_next_to_body_of_water ?e . { { ?e rdf:type ontology:still_waters } UNION { ?e rdf:type ontology:waterway } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3974
P206
Q1267889 Q337567 Q515
USER
And also tell me about Landshut?
(c(Q515),P206,c(Q1267889)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q337567
action count
action filter_multi_types
action find
entity Q3974
relation P206
type Q1267889
type Q337567
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?h WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q337567 ) ( ontology:Q1267889 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { { ?l rdf:type ontology:Q1267889 } UNION { ?l rdf:type ontology:Q337567 } } . resource:Q3974 property:P206 ?l } } . FILTER ( ?b = ?e ) }
Landshut
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type still waters
action count
action filter_multi_types
action find
entity Landshut
relation located next to body of water
type waterway
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?h WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:still_waters ) ( ontology:waterway ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { { ?l rdf:type ontology:waterway } UNION { ?l rdf:type ontology:still_waters } } . resource:Landshut property:located_next_to_body_of_water ?l } } . FILTER ( ?b = ?e ) }
[]
waterway still waters city
SYSTEM
96
Q1410 Q3075 Q1794 Q1863 Q1865 Q1519 Q496499 Q3974 Q846877 Q19689 Q1486 Q2966 Q34217 Q496479 Q602903 Q3004 Q1461 Q488869 Q217432 Q827041 Q3572 Q623549 Q2865 Q4024 Q2978 Q3806 Q2973 Q34261 Q3014 Q1773 Q1844 Q14821 Q819587 Q3958 Q3955 Q23430 Q633272 Q2773 Q612815 Q320943 Q1858 Q633935 Q320416 Q7473516 Q1761 Q890122 Q4007 Q2706 Q7070 Q3826 Q653545 Q8684 Q270704 Q41474 Q2749 Q4174 Q3838 Q2833 Q1209 Q23661 Q3751 Q3750 Q3200 Q3126 Q3042 Q157835 Q3046 Q847550 Q3936 Q2936 Q646780 Q3214 Q2100 Q1533 Q1530 Q1731 Q1953 Q5838 Q7027 Q3857 Q3994 Q19660 Q11194 Q3915 Q2119 Q3069 Q1720 Q1721 Q329996 Q3904 Q695920 Q2910 Q3861 Q1899 Q2999 Q2844
(c(Q515),P206,c(Q1267889)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q515
type Q1267889
action find_tuple_counts
relation P206
type Q515
type Q337567
action count
action filter_multi_types
action find
entity Q3974
relation P206
type Q1267889
type Q337567
[ANSWER]
[{'concept': 'Q515'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?h WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q337567 ) ( ontology:Q1267889 ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { { ?l rdf:type ontology:Q1267889 } UNION { ?l rdf:type ontology:Q337567 } } . resource:Q3974 property:P206 ?l } } . FILTER ( ?b = ?e ) }
Gibraltar Fürth Frankfurt Andorra la Vella Kuala Lumpur Abu Dhabi Kazuno Landshut Semboku Tirana Buenos Aires Heidelberg Oxford Yokote Yurihonjō Ingolstadt Manila Benalmádena Port Harcourt Beroun Tunis Puerto de la Cruz Kassel Frankfurt (Oder) Regensburg Tübingen Darmstadt Port-au-Prince Wolfsburg Riga Vaduz Coburg Noshiro Neubrandenburg Weimar Ulaanbaatar Yuzawa Braunschweig Garachico Matsudo Hanoi Oga Tartessos Tokyo Dublin Bolhrad Rosenheim Bremerhaven Eisenach Muscat Kita-Akita Seoul Třebíč Kingstown Augsburg Emden Kinshasa Freiburg im Breisgau Free Hanseatic City of Bremen Wellington Praia Gera Salzgitter Erlangen Offenbach am Main Zaporizhzhya Pforzheim Nikaho Bamberg Oldenburg Katagami Cottbus Duisburg Caracas Baghdad Dresden Yerevan Kabul Straubing Wilhelmshaven Kempten Bucharest Sarajevo Antananarivo Mannheim Bottrop Mainz Wiesbaden Ōdate Mbabane Daisen Ludwigshafen Doha Kyiv Würzburg Brasília
96
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type city
type waterway
action find_tuple_counts
relation located next to body of water
type city
type still waters
action count
action filter_multi_types
action find
entity Landshut
relation located next to body of water
type waterway
type still waters
[{'concept': 'city'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?h WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:still_waters ) ( ontology:waterway ) } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { { { ?l rdf:type ontology:waterway } UNION { ?l rdf:type ontology:still_waters } } . resource:Landshut property:located_next_to_body_of_water ?l } } . FILTER ( ?b = ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235
P159
Q43229
USER
Which organizations have the principal seat at Monaco ?
(c(Q43229),P159,Q235)
action filter_type
action find_reverse
entity Q235
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q235']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q235 . ?w rdf:type ontology:Q43229 }
Monaco
action filter_type
action find_reverse
entity Monaco
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Monaco']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Monaco . ?w rdf:type ontology:organization }
[]
organization
Q935874 Q1473418 Q1121143
SYSTEM
Monaco Telecom, Venturi Automobiles, Compagnie des Autobus de Monaco
Q1121143 Q935874 Q1473418 Q3303822 Q2286599 Q7971014 Q429283
(c(Q43229),P159,Q235)
action filter_type
action find_reverse
entity Q235
relation P159
type Q43229
[ANSWERS] have the principal seat at Monaco
[{'concept': 'Q43229'}, 'P159', 'Q235']
SELECT DISTINCT ?w WHERE { ?w property:P159 resource:Q235 . ?w rdf:type ontology:Q43229 }
Compagnie des Autobus de Monaco Monaco Telecom Venturi Automobiles Mecaplast Group Silversea Cruises Wartenberg Trust Mediterranean Science Commission
Monaco Telecom, Venturi Automobiles and Compagnie des Autobus de Monaco have the principal seat at Monaco
Monaco Telecom Venturi Automobiles Compagnie des Autobus de Monaco
action filter_type
action find_reverse
entity Monaco
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Monaco']
SELECT DISTINCT ?w WHERE { ?w property:headquarters_location resource:Monaco . ?w rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q935874 Q1473418 Q1121143
P159
Q515
USER
Which cities are the head offices of those organizations ?
(Q935874,P159,c(Q515)) (Q1473418,P159,c(Q515)) (Q1121143,P159,c(Q515))
action filter_type
action find
entity prev_answer
relation P159
type Q515
['Q935874', 'P159', {'concept': 'Q515'}] ['Q1473418', 'P159', {'concept': 'Q515'}] ['Q1121143', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Q1121143 ) ( resource:Q935874 ) ( resource:Q1473418 ) } . ?w rdf:type ontology:Q515 . ?h property:P159 ?w }
Monaco Telecom Venturi Automobiles Compagnie des Autobus de Monaco
action filter_type
action find
entity prev_answer
relation headquarters location
type city
['Monaco Telecom', 'headquarters location', {'concept': 'city'}] ['Venturi Automobiles', 'headquarters location', {'concept': 'city'}] ['Compagnie des Autobus de Monaco', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Compagnie_des_Autobus_de_Monaco ) ( resource:Monaco_Telecom ) ( resource:Venturi_Automobiles ) } . ?w rdf:type ontology:city . ?h property:headquarters_location ?w }
[]
city
Q235 Q235 Q235
SYSTEM
Monaco
Q235 Q235 Q235
(Q935874,P159,c(Q515)) (Q1473418,P159,c(Q515)) (Q1121143,P159,c(Q515))
action filter_type
action find
entity prev_answer
relation P159
type Q515
[ANSWER], [ANSWER] and [ANSWER] are the head offices of those organizations
['Q935874', 'P159', {'concept': 'Q515'}] ['Q1473418', 'P159', {'concept': 'Q515'}] ['Q1121143', 'P159', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Q1121143 ) ( resource:Q935874 ) ( resource:Q1473418 ) } . ?w rdf:type ontology:Q515 . ?h property:P159 ?w }
Monaco Monaco Monaco
Monaco, Monaco and Monaco are the head offices of those organizations
Monaco Monaco Monaco
action filter_type
action find
entity prev_answer
relation headquarters location
type city
['Monaco Telecom', 'headquarters location', {'concept': 'city'}] ['Venturi Automobiles', 'headquarters location', {'concept': 'city'}] ['Compagnie des Autobus de Monaco', 'headquarters location', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?h ) { ( resource:Compagnie_des_Autobus_de_Monaco ) ( resource:Monaco_Telecom ) ( resource:Venturi_Automobiles ) } . ?w rdf:type ontology:city . ?h property:headquarters_location ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235
P122
Q22676587
USER
Which monarchic system best describes the government of Monaco ?
(Q235,P122,c(Q22676587))
action filter_type
action find
entity Q235
relation P122
type Q22676587
['Q235', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q22676587 . resource:Q235 property:P122 ?o }
Monaco
action filter_type
action find
entity Monaco
relation basic form of government
type monarchic system
['Monaco', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:monarchic_system . resource:Monaco property:basic_form_of_government ?o }
[]
monarchic system
Q849242
SYSTEM
hereditary monarchy
Q849242
(Q235,P122,c(Q22676587))
action filter_type
action find
entity Q235
relation P122
type Q22676587
[ANSWER] best describes the government of Monaco
['Q235', 'P122', {'concept': 'Q22676587'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q22676587 . resource:Q235 property:P122 ?o }
hereditary monarchy
Hereditary monarchy best describes the government of Monaco
hereditary monarchy
action filter_type
action find
entity Monaco
relation basic form of government
type monarchic system
['Monaco', 'basic form of government', {'concept': 'monarchic system'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:monarchic_system . resource:Monaco property:basic_form_of_government ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235
P610
Q14524493
USER
Which terrain is the highest point of Monaco ?
(Q235,P610,c(Q14524493))
action filter_type
action find
entity Q235
relation P610
type Q14524493
['Q235', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { resource:Q235 property:P610 ?d . ?d rdf:type ontology:Q14524493 }
Monaco
action filter_type
action find
entity Monaco
relation highest point
type terrain
['Monaco', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { resource:Monaco property:highest_point ?d . ?d rdf:type ontology:terrain }
[]
terrain
Q1069352
SYSTEM
Chemin des Révoires
Q1069352
(Q235,P610,c(Q14524493))
action filter_type
action find
entity Q235
relation P610
type Q14524493
[ANSWER] is the highest point of Monaco
['Q235', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?d WHERE { resource:Q235 property:P610 ?d . ?d rdf:type ontology:Q14524493 }
Chemin des Révoires
Chemin des Révoires is the highest point of Monaco
Chemin des Révoires
action filter_type
action find
entity Monaco
relation highest point
type terrain
['Monaco', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?d WHERE { resource:Monaco property:highest_point ?d . ?d rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235
P190
Q56061
USER
Which administrative territory is the sister city of Monaco ?
(Q235,P190,c(Q56061))
action filter_type
action find
entity Q235
relation P190
type Q56061
['Q235', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q235 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Monaco
action filter_type
action find
entity Monaco
relation sister city
type administrative territorial entity
['Monaco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Monaco property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q35178
SYSTEM
Kuwait City
Q35178
(Q235,P190,c(Q56061))
action filter_type
action find
entity Q235
relation P190
type Q56061
[ANSWER] is the sister city of Monaco
['Q235', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q235 property:P190 ?a . ?a rdf:type ontology:Q56061 }
Kuwait City
Kuwait City is the sister city of Monaco
Kuwait City
action filter_type
action find
entity Monaco
relation sister city
type administrative territorial entity
['Monaco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Monaco property:sister_city ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q235
P1427
Q18608583
USER
Which recurring sporting event has that city as the start location ?
(c(Q18608583),P1427,Q35178)
action filter_type
action find_reverse
entity Q235
relation P1427
type Q18608583
[{'concept': 'Q18608583'}, 'P1427', 'Q35178']
SELECT DISTINCT ?o WHERE { ?o property:P1427 resource:Q235 . ?o rdf:type ontology:Q18608583 }
Monaco
action filter_type
action find_reverse
entity Monaco
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Kuwait City']
SELECT DISTINCT ?o WHERE { ?o property:start_point resource:Monaco . ?o rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q217263
SYSTEM
2009 Tour de France
Q217263
(c(Q18608583),P1427,Q35178)
action filter_type
action find_reverse
entity Q235
relation P1427
type Q18608583
[ANSWER] has that city as the start location
[{'concept': 'Q18608583'}, 'P1427', 'Q35178']
SELECT DISTINCT ?o WHERE { ?o property:P1427 resource:Q235 . ?o rdf:type ontology:Q18608583 }
2009 Tour de France
2009 Tour de France has that city as the start location
2009 Tour de France
action filter_type
action find_reverse
entity Monaco
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Kuwait City']
SELECT DISTINCT ?o WHERE { ?o property:start_point resource:Monaco . ?o rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q217263
P361
Q878123
USER
What are a component of that recurring sporting event ?
(c(Q878123),P361,Q217263)
action filter_type
action find_reverse
entity Q217263
relation P361
type Q878123
[{'concept': 'Q878123'}, 'P361', 'Q217263']
SELECT DISTINCT ?q WHERE { ?q property:P361 resource:Q217263 . ?q rdf:type ontology:Q878123 }
2009 Tour de France
action filter_type
action find_reverse
entity 2009 Tour de France
relation part of
type racing
[{'concept': 'racing'}, 'part of', '2009 Tour de France']
SELECT DISTINCT ?q WHERE { ?q property:part_of resource:2009_Tour_de_France . ?q rdf:type ontology:racing }
[]
racing
Q2066704 Q2064989 Q2064477
SYSTEM
2009 Tour de France, Stage 21, 2009 Tour de France, Stage 4, 2009 Tour de France, Stage 17
Q2064989 Q2064477 Q2065061 Q2065071 Q2065405 Q2065415 Q2065053 Q2064980 Q2065425 Q2066731 Q2064496 Q2065393 Q2064485 Q2065469 Q2066719 Q2065478 Q2066704 Q2064970 Q2065444 Q2066696 Q2065455
(c(Q878123),P361,Q217263)
action filter_type
action find_reverse
entity Q217263
relation P361
type Q878123
[ANSWERS]
[{'concept': 'Q878123'}, 'P361', 'Q217263']
SELECT DISTINCT ?q WHERE { ?q property:P361 resource:Q217263 . ?q rdf:type ontology:Q878123 }
2009 Tour de France, Stage 4 2009 Tour de France, Stage 17 2009 Tour de France, Stage 9 2009 Tour de France, Stage 3 2009 Tour de France, Stage 18 2009 Tour de France, Stage 16 2009 Tour de France, Stage 2 2009 Tour de France, Stage 5 2009 Tour de France, Stage 13 2009 Tour de France, Stage 1 2009 Tour de France, Stage 10 2009 Tour de France, Stage 12 2009 Tour de France, Stage 14 2009 Tour de France, Stage 20 2009 Tour de France, Stage 15 2009 Tour de France, Stage 11 2009 Tour de France, Stage 21 2009 Tour de France, Stage 6 2009 Tour de France, Stage 8 2009 Tour de France, Stage 19 2009 Tour de France, Stage 7
A component of that recurring sporting event are 2009 Tour de France, Stage 21, 2009 Tour de France, Stage 4 and 2009 Tour de France, Stage 17
2009 Tour de France, Stage 21 2009 Tour de France, Stage 4 2009 Tour de France, Stage 17
action filter_type
action find_reverse
entity 2009 Tour de France
relation part of
type racing
[{'concept': 'racing'}, 'part of', '2009 Tour de France']
SELECT DISTINCT ?q WHERE { ?q property:part_of resource:2009_Tour_de_France . ?q rdf:type ontology:racing }
[]