Simple Question (Direct)
Simple Question
Q145437
P47
Q20667921
USER
Who share the border with Fourdrinoy ?
(Q145437,P47,c(Q20667921))
action filter_type
action find
entity Q145437
relation P47
type Q20667921
['Q145437', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q145437 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Fourdrinoy
action filter_type
action find
entity Fourdrinoy
relation shares border with
type type of french administrative division
['Fourdrinoy', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Fourdrinoy property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q587061 Q61775 Q527212
SYSTEM
Picquigny, Crouy-Saint-Pierre, Cavillon
Q61775 Q527212 Q379227 Q587061 Q795148 Q517541
(Q145437,P47,c(Q20667921))
action filter_type
action find
entity Q145437
relation P47
type Q20667921
[ANSWERS] share the border with Fourdrinoy
['Q145437', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?b WHERE { resource:Q145437 property:P47 ?b . ?b rdf:type ontology:Q20667921 }
Crouy-Saint-Pierre Cavillon Le Mesge Picquigny Soues Saisseval
Picquigny, Crouy-Saint-Pierre and Cavillon share the border with Fourdrinoy
Picquigny Crouy-Saint-Pierre Cavillon
action filter_type
action find
entity Fourdrinoy
relation shares border with
type type of french administrative division
['Fourdrinoy', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?b WHERE { resource:Fourdrinoy property:shares_border_with ?b . ?b rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q61775
P17
Q15617994
USER
Which administrative territory does that french administrative division belong to ?
(Q61775,P17,c(Q15617994))
action filter_type
action find
entity Q61775
relation P17
type Q15617994
['Q61775', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q61775 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Crouy-Saint-Pierre
action filter_type
action find
entity Crouy-Saint-Pierre
relation country
type designation for an administrative territorial entity
['Crouy-Saint-Pierre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Crouy-Saint-Pierre property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q61775
SYSTEM
Did you mean Crouy-Saint-Pierre ?
Q587061 Q61775 Q527212
(Q587061,P17,c(Q15617994)) (Q61775,P17,c(Q15617994)) (Q527212,P17,c(Q15617994))
[ANSWER]
['Q587061', 'P17', {'concept': 'Q15617994'}] ['Q61775', 'P17', {'concept': 'Q15617994'}] ['Q527212', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q61775 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Picquigny Crouy-Saint-Pierre Cavillon
Did you mean Crouy-Saint-Pierre ?
Crouy-Saint-Pierre
['Picquigny', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Crouy-Saint-Pierre', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cavillon', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Crouy-Saint-Pierre property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q61775,P17,c(Q15617994))
['Q61775', 'P17', {'concept': 'Q15617994'}]
['Crouy-Saint-Pierre', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q61775,P17,c(Q15617994))
action filter_type
action find
entity Q61775
relation P17
type Q15617994
That french administrative division belongs to the [ANSWER]
['Q61775', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q61775 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
France
That french administrative division belongs to the France
France
action filter_type
action find
entity Crouy-Saint-Pierre
relation country
type designation for an administrative territorial entity
['Crouy-Saint-Pierre', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Crouy-Saint-Pierre property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q677498
P27
Q502895
USER
Is Armand Gensonné a native of that administrative territory ?
(Q677498,P27,Q142)
action is_in
entity Q142
action find
entity Q677498
relation P27
['Q677498', 'P27', 'Q142']
ASK WHERE { resource:Q677498 property:P27 resource:Q142 }
France Armand Gensonné
action is_in
entity France
action find
entity Armand Gensonné
relation country of citizenship
['Armand Gensonné', 'country of citizenship', 'France']
ASK WHERE { resource:Armand_Gensonné property:country_of_citizenship resource:France }
[]
common name
SYSTEM
YES
(Q677498,P27,Q142)
action is_in
entity Q142
action find
entity Q677498
relation P27
[ANSWER]
['Q677498', 'P27', 'Q142']
ASK WHERE { resource:Q677498 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Armand Gensonné
relation country of citizenship
['Armand Gensonné', 'country of citizenship', 'France']
ASK WHERE { resource:Armand_Gensonné property:country_of_citizenship resource:France }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q527212
P47 P421
Q20667921
USER
Which french administrative divisions share border with Cavillon and have UTC+01:00 as their time zone ?
AND((c(Q20667921),P47,Q527212), (c(Q20667921),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q527212
relation P47
action find_reverse
entity Q6655
relation P421
type Q20667921
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q527212'], [{'concept': 'Q20667921'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?q WHERE { ?q property:P47 resource:Q527212 . ?q property:P421 resource:Q6655 . ?q rdf:type ontology:Q20667921 }
UTC+01:00 Cavillon
action filter_type
action intersection
action find_reverse
entity Cavillon
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Cavillon'], [{'concept': 'type of french administrative division'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?q WHERE { ?q property:shares_border_with resource:Cavillon . ?q property:located_in_time_zone resource:UTC+01:00 . ?q rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q145437 Q626688 Q489979 Q517541 Q649224
SYSTEM
Fourdrinoy, Riencourt, Oissy, Saisseval, Briquemesnil-Floxicourt
Q145437 Q626688 Q489979 Q517541 Q649224
AND((c(Q20667921),P47,Q527212), (c(Q20667921),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q527212
relation P47
action find_reverse
entity Q6655
relation P421
type Q20667921
[ANSWERS] share border with Cavillon and have UTC+01:00 as their time zone
{'AND': [[{'concept': 'Q20667921'}, 'P47', 'Q527212'], [{'concept': 'Q20667921'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?q WHERE { ?q property:P47 resource:Q527212 . ?q property:P421 resource:Q6655 . ?q rdf:type ontology:Q20667921 }
Fourdrinoy Riencourt Oissy Saisseval Briquemesnil-Floxicourt
Fourdrinoy, Riencourt, Oissy, Saisseval and Briquemesnil-Floxicourt share border with Cavillon and have UTC+01:00 as their time zone
Fourdrinoy Riencourt Oissy Saisseval Briquemesnil-Floxicourt
action filter_type
action intersection
action find_reverse
entity Cavillon
relation shares border with
action find_reverse
entity UTC+01:00
relation located in time zone
type type of french administrative division
{'AND': [[{'concept': 'type of french administrative division'}, 'shares border with', 'Cavillon'], [{'concept': 'type of french administrative division'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?q WHERE { ?q property:shares_border_with resource:Cavillon . ?q property:located_in_time_zone resource:UTC+01:00 . ?q rdf:type ontology:type_of_french_administrative_division }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q527212
P47
Q20667921
USER
Do Cavillon have an adjacent border with those ones ?
(Q527212,P47,Q145437) (Q527212,P47,Q626688) (Q527212,P47,Q489979) (Q527212,P47,Q517541) (Q527212,P47,Q649224)
action is_in
entity prev_answer
action find
entity Q527212
relation P47
['Q527212', 'P47', 'Q145437'] ['Q527212', 'P47', 'Q626688'] ['Q527212', 'P47', 'Q489979'] ['Q527212', 'P47', 'Q517541'] ['Q527212', 'P47', 'Q649224']
ASK WHERE { VALUES ( ?c ) { ( resource:Q145437 ) ( resource:Q626688 ) ( resource:Q489979 ) } . resource:Q527212 property:P47 ?c }
Cavillon
action is_in
entity prev_answer
action find
entity Cavillon
relation shares border with
['Cavillon', 'shares border with', 'Fourdrinoy'] ['Cavillon', 'shares border with', 'Riencourt'] ['Cavillon', 'shares border with', 'Oissy'] ['Cavillon', 'shares border with', 'Saisseval'] ['Cavillon', 'shares border with', 'Briquemesnil-Floxicourt']
ASK WHERE { VALUES ( ?c ) { ( resource:Fourdrinoy ) ( resource:Riencourt ) ( resource:Oissy ) } . resource:Cavillon property:shares_border_with ?c }
[]
type of french administrative division
SYSTEM
YES
(Q527212,P47,Q145437) (Q527212,P47,Q626688) (Q527212,P47,Q489979) (Q527212,P47,Q517541) (Q527212,P47,Q649224)
action is_in
entity prev_answer
action find
entity Q527212
relation P47
[ANSWER]
['Q527212', 'P47', 'Q145437'] ['Q527212', 'P47', 'Q626688'] ['Q527212', 'P47', 'Q489979'] ['Q527212', 'P47', 'Q517541'] ['Q527212', 'P47', 'Q649224']
ASK WHERE { VALUES ( ?c ) { ( resource:Q145437 ) ( resource:Q626688 ) ( resource:Q489979 ) } . resource:Q527212 property:P47 ?c }
Yes
action is_in
entity prev_answer
action find
entity Cavillon
relation shares border with
['Cavillon', 'shares border with', 'Fourdrinoy'] ['Cavillon', 'shares border with', 'Riencourt'] ['Cavillon', 'shares border with', 'Oissy'] ['Cavillon', 'shares border with', 'Saisseval'] ['Cavillon', 'shares border with', 'Briquemesnil-Floxicourt']
ASK WHERE { VALUES ( ?c ) { ( resource:Fourdrinoy ) ( resource:Riencourt ) ( resource:Oissy ) } . resource:Cavillon property:shares_border_with ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145437
P17
Q15617994
USER
Which administrative territory is Fourdrinoy present in ?
(Q145437,P17,c(Q15617994))
action filter_type
action find
entity Q145437
relation P17
type Q15617994
['Q145437', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q145437 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Fourdrinoy
action filter_type
action find
entity Fourdrinoy
relation country
type designation for an administrative territorial entity
['Fourdrinoy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Fourdrinoy property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q145437,P17,c(Q15617994))
action filter_type
action find
entity Q145437
relation P17
type Q15617994
Fourdrinoy is in [ANSWER]
['Q145437', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q145437 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
France
Fourdrinoy is in France
France
action filter_type
action find
entity Fourdrinoy
relation country
type designation for an administrative territorial entity
['Fourdrinoy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Fourdrinoy property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16984353
Q15617994
USER
And also tell me about Sand Springs Station?
(Q16984353,P17,c(Q15617994))
action filter_type
action find
entity Q16984353
relation P17
type Q15617994
['Q16984353', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q16984353 property:P17 ?k }
Sand Springs Station
action filter_type
action find
entity Sand Springs Station
relation country
type designation for an administrative territorial entity
['Sand Springs Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sand_Springs_Station property:country ?k }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q16984353,P17,c(Q15617994))
action filter_type
action find
entity Q16984353
relation P17
type Q15617994
[ANSWER]
['Q16984353', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15617994 . resource:Q16984353 property:P17 ?k }
United States of America
United States of America
action filter_type
action find
entity Sand Springs Station
relation country
type designation for an administrative territorial entity
['Sand Springs Station', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sand_Springs_Station property:country ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16984353
P1435
Q2065736
USER
Which cultural property is the heritage status of that architectural structure ?
(Q30,P1435,c(Q2065736))
action filter_type
action find
entity Q16984353
relation P1435
type Q2065736
['Q30', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?e WHERE { resource:Q16984353 property:P1435 ?e . ?e rdf:type ontology:Q2065736 }
Sand Springs Station
action filter_type
action find
entity Sand Springs Station
relation heritage status
type cultural property
['United States of America', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?e WHERE { resource:Sand_Springs_Station property:heritage_status ?e . ?e rdf:type ontology:cultural_property }
[]
cultural property
Q19558910
SYSTEM
place listed on the National Register of Historic Places
Q19558910
(Q30,P1435,c(Q2065736))
action filter_type
action find
entity Q16984353
relation P1435
type Q2065736
The [ANSWER] is the heritage status of that architectural structure
['Q30', 'P1435', {'concept': 'Q2065736'}]
SELECT DISTINCT ?e WHERE { resource:Q16984353 property:P1435 ?e . ?e rdf:type ontology:Q2065736 }
place listed on the National Register of Historic Places
The place listed on the National Register of Historic Places is the heritage status of that architectural structure
place listed on the National Register of Historic Places
action filter_type
action find
entity Sand Springs Station
relation heritage status
type cultural property
['United States of America', 'heritage status', {'concept': 'cultural property'}]
SELECT DISTINCT ?e WHERE { resource:Sand_Springs_Station property:heritage_status ?e . ?e rdf:type ontology:cultural_property }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37423
P361
Q355304
USER
Which watercourse is Lodh Falls a component of ?
(Q37423,P361,c(Q355304))
action filter_type
action find
entity Q37423
relation P361
type Q355304
['Q37423', 'P361', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { resource:Q37423 property:P361 ?i . ?i rdf:type ontology:Q355304 }
Lodh Falls
action filter_type
action find
entity Lodh Falls
relation part of
type watercourse
['Lodh Falls', 'part of', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { resource:Lodh_Falls property:part_of ?i . ?i rdf:type ontology:watercourse }
[]
watercourse
Q4998746
SYSTEM
Burha River
Q4998746
(Q37423,P361,c(Q355304))
action filter_type
action find
entity Q37423
relation P361
type Q355304
Which watercourse is Lodh Falls a component of
['Q37423', 'P361', {'concept': 'Q355304'}]
SELECT DISTINCT ?i WHERE { resource:Q37423 property:P361 ?i . ?i rdf:type ontology:Q355304 }
Burha River
Which watercourse is Lodh Falls a component of
Burha River
action filter_type
action find
entity Lodh Falls
relation part of
type watercourse
['Lodh Falls', 'part of', {'concept': 'watercourse'}]
SELECT DISTINCT ?i WHERE { resource:Lodh_Falls property:part_of ?i . ?i rdf:type ontology:watercourse }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P361
Q355304 Q12280
USER
Which watercourses are approximately the same number of bridges a portion of as that watercourse ?
(c(Q12280),P361,c(Q355304))
action approx
action find_reverse_tuple_counts
relation P361
type Q355304
type Q12280
action count
action filter_type
action find
entity Q4998746
relation P361
type Q355304
[{'concept': 'Q12280'}, 'P361', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q4998746 property:P361 ?i . ?i rdf:type ontology:Q355304 } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P361 ?d . ?q rdf:type ontology:Q12280 . ?d rdf:type ontology:Q355304 } GROUP BY ?d } }
action approx
action find_reverse_tuple_counts
relation part of
type watercourse
type bridge
action count
action filter_type
action find
entity Burha River
relation part of
type watercourse
[{'concept': 'bridge'}, 'part of', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Burha_River property:part_of ?i . ?i rdf:type ontology:watercourse } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:part_of ?d . ?q rdf:type ontology:bridge . ?d rdf:type ontology:watercourse } GROUP BY ?d } }
[]
watercourse bridge
Q1644 Q1653 Q5419
SYSTEM
Elbe, Danube, Missouri River
Q1888146 Q7636498 Q6268708 Q2424148 Q7915411 Q4878570 Q2279579 Q1206965 Q4407296 Q7095064 Q6650874 Q7134350 Q607546 Q12061044 Q212927 Q1661830 Q1653 Q2548500 Q1608979 Q2335393 Q708553 Q2645402 Q2092330 Q4698653 Q1330818 Q387103 Q3433806 Q857395 Q2004584 Q159675 Q5419 Q3503 Q3392 Q4959454 Q2433535 Q5413 Q410410 Q3569 Q679808 Q1137387 Q179444 Q2655934 Q290738 Q2587169 Q5507324 Q2937925 Q9071984 Q1063794 Q1235462 Q1631368 Q6393895 Q4788939 Q268538 Q562206 Q7350 Q895385 Q10667340 Q19721 Q6094488 Q265753 Q1032646 Q3433721 Q1331925 Q3374778 Q791295 Q4921619 Q643 Q3024315 Q1261531 Q3314 Q2602162 Q307664 Q4998746 Q923381 Q849494 Q47521 Q304833 Q318136 Q4497256 Q2147523 Q1048219 Q234004 Q3011855 Q741351 Q626 Q1809911 Q428801 Q852930 Q182343 Q11563525 Q496570 Q14305 Q280126 Q16893091 Q370470 Q12988844 Q2393991 Q751347 Q6961975 Q1535066 Q7997929 Q5338656 Q280507 Q25929501 Q2251 Q3272062 Q5559137 Q11571106 Q538444 Q584 Q7531588 Q7126020 Q7418705 Q2601310 Q1522836 Q1630799 Q1165852 Q43278 Q4271220 Q41179 Q7338932 Q3783 Q4985057 Q7405531 Q737363 Q6750343 Q7674310 Q837895 Q663607 Q216239 Q5260795 Q648392 Q272074 Q12960682 Q283278 Q1345896 Q16901296 Q695081 Q501253 Q320649 Q7241591 Q5130678 Q7260806 Q4974075 Q1156064 Q14294 Q1194478 Q127892 Q14684485 Q126822 Q270427 Q1418956 Q183078 Q1339368 Q895218 Q398714 Q608602 Q214748 Q3429232 Q1644 Q5432015 Q2238910 Q2750140 Q1012142 Q3519817 Q19711 Q5167634 Q23767031 Q5432356 Q2907048 Q615662 Q1070564 Q4814791 Q7852252 Q1737704 Q269710 Q291233 Q476317 Q651323 Q2936024 Q622203 Q79185 Q827919 Q7852477 Q2295983 Q5309807 Q612111 Q3822918 Q6558619 Q983730 Q19682 Q4949592 Q3536970 Q1303762 Q908974 Q6364188 Q618668 Q14709045 Q1337358 Q843024 Q7910098 Q43106 Q3433811 Q134350 Q1470035 Q161455 Q268952 Q1194094 Q3335479 Q181475 Q2131535 Q2379473 Q14716188 Q1352503 Q3411 Q1278695 Q8321 Q3541752 Q3211418 Q2592665 Q191635 Q5474692 Q7124873 Q60974 Q374772 Q5325057 Q855193 Q126268 Q7068754 Q19699 Q1143718 Q134750 Q708976 Q6434139 Q1074827 Q2216 Q1824506 Q21010309 Q2230774 Q143762 Q1495850 Q3500752 Q252385 Q19695 Q559340 Q16247905 Q3322395 Q7377670 Q14339 Q2155751 Q632555 Q7413562 Q426516 Q8197 Q5432476 Q3595330 Q805500 Q16894741 Q5365308
(c(Q12280),P361,c(Q355304))
action approx
action find_reverse_tuple_counts
relation P361
type Q355304
type Q12280
action count
action filter_type
action find
entity Q4998746
relation P361
type Q355304
[ANSWERS] are approximately the same number of bridges a portion of as that watercourse
[{'concept': 'Q12280'}, 'P361', {'concept': 'Q355304'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Q4998746 property:P361 ?i . ?i rdf:type ontology:Q355304 } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:P361 ?d . ?q rdf:type ontology:Q12280 . ?d rdf:type ontology:Q355304 } GROUP BY ?d } }
Kaministiquia River Sulphide Creek Johnstone River Leeds and Liverpool Canal Varahi River Bechler River Shire River River Devon, Clackmannanshire San Miguel River Ontonagon River Little Mashel River Paradise River Saint John River Krimmler Ache Una Indravati River Danube Wannon River Herbert River (Northern Territory) Steavenson River Diemel Blyde River Vantaa River Aire River Pite River Deschutes River Rivière Saint-Étienne Bielsdown River Regent's Canal tributary Missouri River Congo River Nile Breakfast Creek Wailuku River Yangtze Hvítá Senegal river Toce Swan River Potomac River Uchan-su Trent–Severn Waterway Mandovi River Fui River Rivière du Grand Carbet Nilahue River Pliva Velino Housatonic River Kerikeri River Arenal River Murtle River Teltow Canal Panama Canal Bow River Sickla canal Clyde Ithaca Creek Moyie River Canal de l'Ourcq Rivière Langevin Ellenborough River Pennsylvania Canal (North Branch Division) Avon River Black River Po Deschutes River Drwęca Eider Komo River Öxará Burha River Rhine–Meuse–Scheldt delta Gandaki River stream Similkameen River Abe River Henrys Fork Rhine–Schie Canal Waikato River Narmada River Lucala River Moscow Canal Volga Trebižat Montmorency River Kiso Three Rivers Niagara River Yukawa River Potaro River Guadiana Robson River Kanangra Creek Lower Rhine Walawe river Tarawera River San Joaquin River Namo River South Nahanni River Whychus Creek Edith River Rideau River Rhaeadr Cynfal Columbia River La Lézarde Rivière Gibraltar Creek Saigawa River Leichhardt River Rhine Sita River Pakoka River Sankh River Youngs River Gibbon River Channel Leuven-Mechelen (Dijle) River Dargle Victoria Falls Lewis River Mekong River Rivière de Cavaillon Amazonas Budhabalanga River Salmon River Vorotan River Manjalar River Tadami River Wang Thong River Aura River Kaveri River Depot Creek Parramatta River Snake River Zomandao River Blaeberry River Mohawk River Tautuku River Yarra River Hai River Cunene River Presque Isle River Clear Creek Purakaunui River Bronte Creek Oirase River Tagus River Gwendraeth Paraná Fall River (Larimer County, Colorado) Olt River Green River Firehole River Murray River Skjálfandafljót Bourges Agus River Jökulsá á Fjöllum Göta älv Thamirabarani River Elbe Fall Creek Schleifseebach Kagera River Gordon River Sharavathi River Avon Coomera River Spreekanal Falling Water River Bloomfield River Komoé River Chesapeake and Ohio Canal White Nile Tully River Kedumba River Fraser River Churchill River Tugela River Rideau Canal St. Peters Canal Apsley River Peenestrom Süderelbe Tumalo Creek Snoqualmie River Drysdale River Oulankajoki Subarnarekha River Lisbon Creek Kangaroo River Severn Boulder River Lakshmana Tirtha Hvítá Barron River Kano River Mudan River Little River (North Umpqua River) Kicking Horse River Chaudière River Valea Neagră River Zambezi River Rivière Sainte-Suzanne Tisza Merced River Dahme Lillooet River Nagara River Namorona River Orange River Rapid River Séran Laughing Whitefish River Paimionjoki Mackenzie River Bogotá River Illinois River Tualatin River Sakaleona River Wollomombi River Iguazu River Fountain Creek Paine River Ottawa River Yellowstone River Eagle Creek Gave de Pau Umgeni River Nugget Creek River Usk Cumberland River Saint Lawrence River Keelung River Kotmale River Chisimba Falls Athabasca River Liffey River Xanil Schambach Delaware River Guy Fawkes River Lake Washington Ship Canal White Drin River Wye Livingstone Falls Kehelgamu Oya Ken River Ghataprabha River Thur Sainte-Anne-du-Nord River Tamsa River San Cristobal River Indalsälven Daugava River Falls Creek Kallada River Condamine River Maskeliya Oya Ellicott Creek
Elbe, Danube and Missouri River are approximately the same number of bridges a portion of as that watercourse
Elbe Danube Missouri River
action approx
action find_reverse_tuple_counts
relation part of
type watercourse
type bridge
action count
action filter_type
action find
entity Burha River
relation part of
type watercourse
[{'concept': 'bridge'}, 'part of', {'concept': 'watercourse'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { resource:Burha_River property:part_of ?i . ?i rdf:type ontology:watercourse } } . FILTER ( ?n = ?a ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?n ) WHERE { ?q property:part_of ?d . ?q rdf:type ontology:bridge . ?d rdf:type ontology:watercourse } GROUP BY ?d } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q632276
P159
Q20667921 Q874405 Q7210356
USER
Which french administrative divisions are the headquarter locations of greater number of social groups and political organizations than Fontevraud-l'Abbaye ?
(c(Q874405)|c(Q7210356),P159,c(Q20667921))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q632276
relation P159
type Q874405
type Q7210356
[[{'concept': 'Q874405'}, {'concept': 'Q7210356'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?v > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P159 resource:Q632276 . { { ?m rdf:type ontology:Q7210356 } UNION { ?m rdf:type ontology:Q874405 } } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?x WHERE { { ?i property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q874405 } UNION { ?i property:P159 ?x . ?i rdf:type ontology:Q7210356 . ?x rdf:type ontology:Q20667921 } } GROUP BY ?x } }
Fontevraud-l'Abbaye
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action count
action filter_multi_types
action find_reverse
entity Fontevraud-l'Abbaye
relation headquarters location
type social group
type political organization
[[{'concept': 'social group'}, {'concept': 'political organization'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?v > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:headquarters_location resource:Fontevraud-l'Abbaye . { { ?m rdf:type ontology:political_organization } UNION { ?m rdf:type ontology:social_group } } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?x WHERE { { ?i property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:social_group } UNION { ?i property:headquarters_location ?x . ?i rdf:type ontology:political_organization . ?x rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?x } }
[]
type of french administrative division social group political organization
Q45656 Q42168 Q30974
SYSTEM
Limoges, Clermont-Ferrand, Rouen
Q184359 Q234743 Q45656 Q9733 Q659327 Q134674 Q152027 Q47465 Q383369 Q43295 Q207156 Q132671 Q1469245 Q819946 Q42168 Q269166 Q476687 Q192426 Q83432 Q205551 Q203529 Q208889 Q172455 Q478105 Q13917 Q174019 Q284762 Q193877 Q225451 Q165090 Q170507 Q661392 Q274249 Q532070 Q1069988 Q193370 Q193920 Q71724 Q694800 Q30974 Q81621 Q958857 Q174257 Q189153 Q211134 Q34001 Q271649 Q963534 Q209086 Q947069 Q1022934 Q1469428 Q166640 Q177656 Q217173 Q48958 Q135265 Q680266 Q120161 Q203645 Q319933 Q44401 Q14112 Q69601 Q243597 Q193899 Q206493
(c(Q874405)|c(Q7210356),P159,c(Q20667921))
action greater
action union
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q874405
action find_reverse_tuple_counts
relation P159
type Q20667921
type Q7210356
action count
action filter_multi_types
action find_reverse
entity Q632276
relation P159
type Q874405
type Q7210356
[ANSWERS] are the headquarter locations of greater number of social groups and political organizations than Fontevraud-l'Abbaye
[[{'concept': 'Q874405'}, {'concept': 'Q7210356'}], 'P159', {'concept': 'Q20667921'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?v > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:P159 resource:Q632276 . { { ?m rdf:type ontology:Q7210356 } UNION { ?m rdf:type ontology:Q874405 } } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?x WHERE { { ?i property:P159 ?x . ?x rdf:type ontology:Q20667921 . ?i rdf:type ontology:Q874405 } UNION { ?i property:P159 ?x . ?i rdf:type ontology:Q7210356 . ?x rdf:type ontology:Q20667921 } } GROUP BY ?x } }
Le Puy-en-Velay Puteaux Limoges Nouméa Chens-sur-Léman Bayonne Saint-Nazaire Aix-en-Provence Wimereux Villeneuve-d'Ascq Pessac Pau Ormes Urville Clermont-Ferrand Fontenay-aux-Roses Trégueux Le Val-d'Ajol Viroflay Mérignac Lons-le-Saunier Saint-Ouen Boulogne-Billancourt Rungis Île-de-France Béziers Baerenthal Ivry-sur-Seine Villeneuve-la-Garenne Chambéry Nanterre Rochetoirin Massy Poisy Écaquelon Montreuil Rueil-Malmaison Lorient Ugine Rouen Fort-de-France Roumazières-Loubert Beauvais Saint-Cloud Échirolles Roubaix Marcq-en-Barœul Villiers-le-Bâcle Pantin Le Lamentin Faaa Montagny Levallois-Perret Spézet Jarnac Neuilly-sur-Seine Issy-les-Moulineaux Pringy, Haute-Savoie Saint-Florent-le-Vieil Chalon-sur-Saône Yerres Cayenne Corsica Elven Culoz Fontenay-sous-Bois Sèvres
Limoges, Clermont-Ferrand and Rouen are the headquarter locations of greater number of social groups and political organizations than Fontevraud-l'Abbaye
Limoges Clermont-Ferrand Rouen
action greater
action union
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type social group
action find_reverse_tuple_counts
relation headquarters location
type type of french administrative division
type political organization
action count
action filter_multi_types
action find_reverse
entity Fontevraud-l'Abbaye
relation headquarters location
type social group
type political organization
[[{'concept': 'social group'}, {'concept': 'political organization'}], 'headquarters location', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?v > ?y ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { ?m property:headquarters_location resource:Fontevraud-l'Abbaye . { { ?m rdf:type ontology:political_organization } UNION { ?m rdf:type ontology:social_group } } } } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?x WHERE { { ?i property:headquarters_location ?x . ?x rdf:type ontology:type_of_french_administrative_division . ?i rdf:type ontology:social_group } UNION { ?i property:headquarters_location ?x . ?i rdf:type ontology:political_organization . ?x rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?x } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q45656 Q42168 Q30974
P276
Q1190554
USER
Which events have their location as those french administrative divisions ?
(c(Q1190554),P276,Q45656) (c(Q1190554),P276,Q42168) (c(Q1190554),P276,Q30974)
action filter_type
action find_reverse
entity prev_answer
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q45656'] [{'concept': 'Q1190554'}, 'P276', 'Q42168'] [{'concept': 'Q1190554'}, 'P276', 'Q30974']
SELECT DISTINCT ?v WHERE { VALUES ( ?f ) { ( resource:Q184359 ) ( resource:Q234743 ) ( resource:Q45656 ) } . ?v property:P276 ?f . ?v rdf:type ontology:Q1190554 }
Limoges Clermont-Ferrand Rouen
action filter_type
action find_reverse
entity prev_answer
relation location
type event
[{'concept': 'event'}, 'location', 'Limoges'] [{'concept': 'event'}, 'location', 'Clermont-Ferrand'] [{'concept': 'event'}, 'location', 'Rouen']
SELECT DISTINCT ?v WHERE { VALUES ( ?f ) { ( resource:Le_Puy-en-Velay ) ( resource:Puteaux ) ( resource:Limoges ) } . ?v property:location ?f . ?v rdf:type ontology:event }
[]
event
Q23725830 Q23725830 Q23725830
SYSTEM
Nuit debout
Q23725830 Q23725830 Q23725830 Q815203
(c(Q1190554),P276,Q45656) (c(Q1190554),P276,Q42168) (c(Q1190554),P276,Q30974)
action filter_type
action find_reverse
entity prev_answer
relation P276
type Q1190554
[ANSWER], [ANSWER] and [ANSWER] have their location as those french administrative divisions
[{'concept': 'Q1190554'}, 'P276', 'Q45656'] [{'concept': 'Q1190554'}, 'P276', 'Q42168'] [{'concept': 'Q1190554'}, 'P276', 'Q30974']
SELECT DISTINCT ?v WHERE { VALUES ( ?f ) { ( resource:Q184359 ) ( resource:Q234743 ) ( resource:Q45656 ) } . ?v property:P276 ?f . ?v rdf:type ontology:Q1190554 }
Nuit debout Nuit debout Nuit debout Siege of Rouen
Nuit debout, Nuit debout and Nuit debout have their location as those french administrative divisions
Nuit debout Nuit debout Nuit debout
action filter_type
action find_reverse
entity prev_answer
relation location
type event
[{'concept': 'event'}, 'location', 'Limoges'] [{'concept': 'event'}, 'location', 'Clermont-Ferrand'] [{'concept': 'event'}, 'location', 'Rouen']
SELECT DISTINCT ?v WHERE { VALUES ( ?f ) { ( resource:Le_Puy-en-Velay ) ( resource:Puteaux ) ( resource:Limoges ) } . ?v property:location ?f . ?v rdf:type ontology:event }
[]