Simple Question (Direct)
Simple Question
Q800788
P197
Q55488
USER
Which railway stations are adjacent to Frederiksberg Station ?
(Q800788,P197,c(Q55488))
action filter_type
action find
entity Q800788
relation P197
type Q55488
['Q800788', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q55488 . resource:Q800788 property:P197 ?q }
Frederiksberg Station
action filter_type
action find
entity Frederiksberg Station
relation adjacent station
type railway station
['Frederiksberg Station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:railway_station . resource:Frederiksberg_Station property:adjacent_station ?q }
[]
railway station
Q800749 Q800764
SYSTEM
Fasanvej Station, Forum Station
Q800749 Q800764
(Q800788,P197,c(Q55488))
action filter_type
action find
entity Q800788
relation P197
type Q55488
Station [ANSWERS] are adjacent to Frederiksberg Station
['Q800788', 'P197', {'concept': 'Q55488'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q55488 . resource:Q800788 property:P197 ?q }
Fasanvej Station Forum Station
Station Fasanvej Station and Forum Station are adjacent to Frederiksberg Station
Fasanvej Station Forum Station
action filter_type
action find
entity Frederiksberg Station
relation adjacent station
type railway station
['Frederiksberg Station', 'adjacent station', {'concept': 'railway station'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:railway_station . resource:Frederiksberg_Station property:adjacent_station ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q800788
P81
Q83620
USER
Which thoroughfare does Frederiksberg Station have a connection to ?
(Q800788,P81,c(Q83620))
action filter_type
action find
entity Q800788
relation P81
type Q83620
['Q800788', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?i WHERE { resource:Q800788 property:P81 ?i . ?i rdf:type ontology:Q83620 }
Frederiksberg Station
action filter_type
action find
entity Frederiksberg Station
relation connecting line
type thoroughfare
['Frederiksberg Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?i WHERE { resource:Frederiksberg_Station property:connecting_line ?i . ?i rdf:type ontology:thoroughfare }
[]
thoroughfare
Q1094251
SYSTEM
City Circle Line
Q1094251
(Q800788,P81,c(Q83620))
action filter_type
action find
entity Q800788
relation P81
type Q83620
Frederiksberg Station has a connection to the [ANSWER]
['Q800788', 'P81', {'concept': 'Q83620'}]
SELECT DISTINCT ?i WHERE { resource:Q800788 property:P81 ?i . ?i rdf:type ontology:Q83620 }
City Circle Line
Frederiksberg Station has a connection to the City Circle Line
City Circle Line
action filter_type
action find
entity Frederiksberg Station
relation connecting line
type thoroughfare
['Frederiksberg Station', 'connecting line', {'concept': 'thoroughfare'}]
SELECT DISTINCT ?i WHERE { resource:Frederiksberg_Station property:connecting_line ?i . ?i rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1094251
P17
Q1048835
USER
Which political territory is that thoroughfare located in ?
(Q1094251,P17,c(Q1048835))
action filter_type
action find
entity Q1094251
relation P17
type Q1048835
['Q1094251', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1094251 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
City Circle Line
action filter_type
action find
entity City Circle Line
relation country
type political territorial entity
['City Circle Line', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:City_Circle_Line property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q1094251,P17,c(Q1048835))
action filter_type
action find
entity Q1094251
relation P17
type Q1048835
That thoroughfare is located in [ANSWER]
['Q1094251', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?w WHERE { resource:Q1094251 property:P17 ?w . ?w rdf:type ontology:Q1048835 }
Denmark
That thoroughfare is located in Denmark
Denmark
action filter_type
action find
entity City Circle Line
relation country
type political territorial entity
['City Circle Line', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:City_Circle_Line property:country ?w . ?w rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories are the countries of citizenship of lesser number of people than that political territory ?
(c(Q502895),P27,c(Q1048835))
action less
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P27 ?j . ?j rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P27 resource:Q35 . ?t rdf:type ontology:Q502895 } } . FILTER ( ?w < ?n ) }
action less
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:country_of_citizenship resource:Denmark . ?t rdf:type ontology:common_name } } . FILTER ( ?w < ?n ) }
[]
political territorial entity common name
Q5705 Q664 Q1000
SYSTEM
Catalonia, New Zealand, Gabon
Q635755 Q668384 Q1000 Q193714 Q1747689 Q746558 Q838261 Q785 Q193619 Q691 Q769 Q685 Q699964 Q763 Q1232887 Q664 Q766 Q22880 Q170361 Q1054923 Q10557 Q5720 Q505610 Q693551 Q13353 Q494354 Q650489 Q781 Q5705 Q757 Q168159 Q5785 Q109128 Q3306663 Q190959 Q11266977 Q223793 Q3995 Q130842 Q18221 Q650682 Q778 Q9676 Q217829 Q100166 Q9648 Q234 Q4040 Q2991382 Q309460 Q129286 Q168651 Q3908 Q9337 Q23635 Q192184 Q25228 Q31747 Q25305 Q79965 Q157070 Q170604
(c(Q502895),P27,c(Q1048835))
action less
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find_reverse
entity Q35
relation P27
type Q502895
[ANSWERS] are the countries of citizenship of lesser number of people than that political territory
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P27 ?j . ?j rdf:type ontology:Q1048835 . ?b rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:P27 resource:Q35 . ?t rdf:type ontology:Q502895 } } . FILTER ( ?w < ?n ) }
Odieta Medellín Gabon Mandatory Palestine Ancient Rome Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Papua New Guinea Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis County of Savoy New Zealand Jamaica Electoral Palatinate Saar British Hong Kong Swabia Valencian Country Flintshire Landgraviate of Hesse-Darmstadt Montserrat Kara-Khanid Khanate Margraviate of Baden Antigua and Barbuda Catalonia Saint Vincent and the Grenadines Anglesey Cayman Islands Gwynedd Merthyr Tydfil County Borough Transvaal Epirus Kingdom of Etruria Basque Country Greater Lebanon Turks and Caicos Islands Denbighshire The Bahamas Isle of Man Ceredigion Orkney Islands Falkland Islands Flemish Region Aragon County of Provence County of Hainaut British Raj Landgraviate of Hesse-Kassel Galicia Flemish Region Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands Golden Horde County of Flanders New France
Catalonia, New Zealand and Gabon are the countries of citizenship of lesser number of people than that political territory
Catalonia New Zealand Gabon
action less
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find_reverse
entity Denmark
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity . ?b rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?n ) WHERE { ?t property:country_of_citizenship resource:Denmark . ?t rdf:type ontology:common_name } } . FILTER ( ?w < ?n ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories do around the same number of people belong to as that political territory ?
(c(Q502895),P27,c(Q1048835))
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity common name
Comparative|More/Less|Single entity type|Clarification
Q664
SYSTEM
Did you mean New Zealand ?
(c(Q502895),P27,c(Q1048835))
[ANSWER]
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Did you mean New Zealand ?
New Zealand
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Gabon. Could you tell me the answer for that?
(c(Q502895),P27,c(Q1048835))
Q1000
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
[]
Q35 Q5705 Q664
SYSTEM
Denmark, Catalonia, New Zealand
Q635755 Q668384 Q1000 Q193714 Q1747689 Q746558 Q838261 Q785 Q193619 Q691 Q769 Q685 Q699964 Q763 Q1232887 Q664 Q766 Q22880 Q170361 Q1054923 Q10557 Q5720 Q505610 Q693551 Q13353 Q494354 Q650489 Q781 Q5705 Q757 Q168159 Q5785 Q35 Q109128 Q3306663 Q190959 Q11266977 Q223793 Q3995 Q130842 Q18221 Q650682 Q778 Q9676 Q217829 Q100166 Q9648 Q234 Q4040 Q2991382 Q309460 Q129286 Q168651 Q3908 Q9337 Q23635 Q192184 Q25228 Q31747 Q25305 Q79965 Q157070 Q170604
(c(Q502895),P27,c(Q1048835))
[ANSWERS] around the same number of people belong to as that political territory
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { ?z property:P27 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q1048835 }
Odieta Medellín Gabon Mandatory Palestine Ancient Rome Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Papua New Guinea Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis County of Savoy New Zealand Jamaica Electoral Palatinate Saar British Hong Kong Swabia Valencian Country Flintshire Landgraviate of Hesse-Darmstadt Montserrat Kara-Khanid Khanate Margraviate of Baden Antigua and Barbuda Catalonia Saint Vincent and the Grenadines Anglesey Cayman Islands Denmark Gwynedd Merthyr Tydfil County Borough Transvaal Epirus Kingdom of Etruria Basque Country Greater Lebanon Turks and Caicos Islands Denbighshire The Bahamas Isle of Man Ceredigion Orkney Islands Falkland Islands Flemish Region Aragon County of Provence County of Hainaut British Raj Landgraviate of Hesse-Kassel Galicia Flemish Region Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands Golden Horde County of Flanders New France
Denmark, Catalonia and New Zealand around the same number of people belong to as that political territory
Denmark Catalonia New Zealand
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { ?z property:country_of_citizenship ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1000
P530
Q1048835 Q1048835
USER
Which political territories have a diplomatic relationship with around the same number of political territories as Gabon ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1000 property:P530 ?k } } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?x ) WHERE { ?c property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } }
Gabon
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Gabon property:diplomatic_relation ?k } } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?x ) WHERE { ?c property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } }
[]
political territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q1000
relation P530
type Q1048835
[ANSWERS] have a diplomatic relationship with around the same number of political territories as Gabon
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:Q1048835 . resource:Q1000 property:P530 ?k } } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?x ) WHERE { ?c property:P530 ?h . ?h rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q1048835 } GROUP BY ?c } }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark, Austria and New Zealand have a diplomatic relationship with around the same number of political territories as Gabon
Denmark Austria New Zealand
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Gabon
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { ?k rdf:type ontology:political_territorial_entity . resource:Gabon property:diplomatic_relation ?k } } . FILTER ( ?x = ?a ) . { SELECT DISTINCT ?c ( COUNT ( ?h ) AS ?x ) WHERE { ?c property:diplomatic_relation ?h . ?h rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:political_territorial_entity } GROUP BY ?c } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P159
Q1388421
USER
Which social experiment has its HQ location at Denmark ?
(c(Q1388421),P159,Q35)
action filter_type
action find_reverse
entity Q35
relation P159
type Q1388421
[{'concept': 'Q1388421'}, 'P159', 'Q35']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q35 . ?u rdf:type ontology:Q1388421 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation headquarters location
type social experiment
[{'concept': 'social experiment'}, 'headquarters location', 'Denmark']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Denmark . ?u rdf:type ontology:social_experiment }
[]
social experiment
Q202206
SYSTEM
Christiania
Q202206
(c(Q1388421),P159,Q35)
action filter_type
action find_reverse
entity Q35
relation P159
type Q1388421
[ANSWER] has its HQ location at Denmark
[{'concept': 'Q1388421'}, 'P159', 'Q35']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q35 . ?u rdf:type ontology:Q1388421 }
Christiania
Christiania has its HQ location at Denmark
Christiania
action filter_type
action find_reverse
entity Denmark
relation headquarters location
type social experiment
[{'concept': 'social experiment'}, 'headquarters location', 'Denmark']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Denmark . ?u rdf:type ontology:social_experiment }
[]