Simple Question (Direct)
Simple Question
Q20937949
P21
Q290
USER
What is the sex of Joshua Johnson ?
(Q20937949,P21,c(Q290))
action filter_type
action find
entity Q20937949
relation P21
type Q290
['Q20937949', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q20937949 property:P21 ?g }
Joshua Johnson
action filter_type
action find
entity Joshua Johnson
relation gender
type sex
['Joshua Johnson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Joshua_Johnson property:gender ?g }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20937949,P21,c(Q290))
action filter_type
action find
entity Q20937949
relation P21
type Q290
The sex of Joshua Johnson is a [ANSWER]
['Q20937949', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q290 . resource:Q20937949 property:P21 ?g }
male
The sex of Joshua Johnson is a male
male
action filter_type
action find
entity Joshua Johnson
relation gender
type sex
['Joshua Johnson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sex . resource:Joshua_Johnson property:gender ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q11173
USER
Which chemical compound is named after that sex ?
(c(Q11173),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
[{'concept': 'Q11173'}, 'P138', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m property:P138 resource:Q6581097 . ?m rdf:type ontology:Q11173 }
male
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
[{'concept': 'chemical compound'}, 'named after', 'male']
SELECT DISTINCT ?m WHERE { ?m property:named_after resource:male . ?m rdf:type ontology:chemical_compound }
[]
chemical compound
Q19861203
SYSTEM
postite
Q19861203
(c(Q11173),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
Person [ANSWER] is named after that sex
[{'concept': 'Q11173'}, 'P138', 'Q6581097']
SELECT DISTINCT ?m WHERE { ?m property:P138 resource:Q6581097 . ?m rdf:type ontology:Q11173 }
postite
Person postite is named after that sex
postite
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
[{'concept': 'chemical compound'}, 'named after', 'male']
SELECT DISTINCT ?m WHERE { ?m property:named_after resource:male . ?m rdf:type ontology:chemical_compound }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P2695
Q14524493 Q271669 Q11173
USER
How many chemical compounds can be obtained naturally in abundance in atmost 1 terrains and landforms ?
(c(Q11173),P2695,c(Q14524493)|c(Q271669))
action count
action atmost
action union
action find_tuple_counts
relation P2695
type Q11173
type Q14524493
action find_tuple_counts
relation P2695
type Q11173
type Q271669
value 1
[{'concept': 'Q11173'}, 'P2695', [{'concept': 'Q14524493'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?j WHERE { VALUES ( ?y ) { ( ontology:Q14524493 ) ( ontology:Q271669 ) } . ?p rdf:type ?y } GROUP BY ?j } . FILTER ( ?u <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation type locality
type chemical compound
type terrain
action find_tuple_counts
relation type locality
type chemical compound
type landform
value 1
[{'concept': 'chemical compound'}, 'type locality', [{'concept': 'terrain'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?j WHERE { VALUES ( ?y ) { ( ontology:terrain ) ( ontology:landform ) } . ?p rdf:type ?y } GROUP BY ?j } . FILTER ( ?u <= 1 ) }
[]
terrain landform chemical compound
SYSTEM
49
Q3877379 Q420924 Q3731805 Q1009724 Q786358 Q15646565 Q425639 Q3951326 Q890291 Q1058797 Q163577 Q429876 Q769470 Q411891 Q3434761 Q19860903 Q418215 Q2738313 Q422903 Q412658 Q704779 Q409122 Q2451851 Q19861203 Q19833532 Q417303 Q407861 Q3776702 Q3638833 Q425316 Q3850678 Q3558991 Q102151 Q24254450 Q3698830 Q426635 Q1066986 Q325345 Q3876696 Q388053 Q1370418 Q19861258 Q2622967 Q3940333 Q3812960 Q409091 Q420563 Q3981572 Q19810687
(c(Q11173),P2695,c(Q14524493)|c(Q271669))
action count
action atmost
action union
action find_tuple_counts
relation P2695
type Q11173
type Q14524493
action find_tuple_counts
relation P2695
type Q11173
type Q271669
value 1
[ANSWER]
[{'concept': 'Q11173'}, 'P2695', [{'concept': 'Q14524493'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?j WHERE { VALUES ( ?y ) { ( ontology:Q14524493 ) ( ontology:Q271669 ) } . ?p rdf:type ?y } GROUP BY ?j } . FILTER ( ?u <= 1 ) }
nitrobarite maghemite eriochalcite bunsenite spherocobaltite kangite cotunnite scacchite bayerite oldhamite tenorite montroydite molysite diaspore naumannite kokinosite moissanite plattnerite crocoite paratellurite arsenolite cerussite salammoniac postite engelhauptite bromellite chalcanthite griceite berndtite troilite mascagnite georgiadèsite fluorite kegginite cryptohalite periclase tarapacáite covellite nierite kieserite formicaite sardignaite nitratine rollandite karelianite sylvite alabandite tausonite bosoite
49
action count
action atmost
action union
action find_tuple_counts
relation type locality
type chemical compound
type terrain
action find_tuple_counts
relation type locality
type chemical compound
type landform
value 1
[{'concept': 'chemical compound'}, 'type locality', [{'concept': 'terrain'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) ?j WHERE { VALUES ( ?y ) { ( ontology:terrain ) ( ontology:landform ) } . ?p rdf:type ?y } GROUP BY ?j } . FILTER ( ?u <= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q23790564
P2695
Q271669 Q11173
USER
Which landforms are famous for containing less number of chemical compounds than Poudrette quarry ?
(c(Q11173),P2695,c(Q271669))
action less
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_type
action find_reverse
entity Q23790564
relation P2695
type Q11173
[{'concept': 'Q11173'}, 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P2695 ?s . ?s rdf:type ontology:Q271669 . ?h rdf:type ontology:Q11173 } GROUP BY ?s } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P2695 resource:Q23790564 . ?y rdf:type ontology:Q11173 } } }
Poudrette quarry
action less
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_type
action find_reverse
entity Poudrette quarry
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:type_locality ?s . ?s rdf:type ontology:landform . ?h rdf:type ontology:chemical_compound } GROUP BY ?s } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:type_locality resource:Poudrette_quarry . ?y rdf:type ontology:chemical_compound } } }
[]
landform chemical compound
Q173096 Q1049619 Q214696
SYSTEM
Euboea, Izalco, Mount Nyiragongo
Q24572912 Q175741 Q26883299 Q27473681 Q24320189 Q24320342 Q11474307 Q206137 Q26878849 Q1282214 Q657187 Q1049619 Q208321 Q19374932 Q26617618 Q26450810 Q24376122 Q26812670 Q27510931 Q111444 Q26878777 Q24282690 Q24556491 Q24705154 Q23790598 Q24236993 Q24444547 Q24701978 Q26710874 Q214696 Q26813695 Q24314881 Q7826822 Q24072981 Q173096
(c(Q11173),P2695,c(Q271669))
action less
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_type
action find_reverse
entity Q23790564
relation P2695
type Q11173
[ANSWERS] are famous for containing less number of chemical compounds than Poudrette quarry
[{'concept': 'Q11173'}, 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P2695 ?s . ?s rdf:type ontology:Q271669 . ?h rdf:type ontology:Q11173 } GROUP BY ?s } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P2695 resource:Q23790564 . ?y rdf:type ontology:Q11173 } } }
Fuchs quarry, Hartkoppe Andros Øvre Lapplægeret quarry Pereval marble quarry Caspar quarry In den Dellen quarries Iwagi Island Rockall Sky Blue Hill Wolfe Creek Crater Faial Island Izalco Sandoy Hundholmen (Tysfjord) New Cliffe Hill quarry Evans-Lou mine Löhley Fillow quarry Hourt quarry Isle of Mull Crestmore quarries Stetind pegmatite Tom's quarry Seravezza quarries Aris quarries Kudriavy volcano Graulay Piława Górna quarry Francon quarry Mount Nyiragongo Tuften quarry Vispi quarry, Pian di Celle volcano Torr Works Sacrofano caldera Euboea
Euboea, Izalco and Mount Nyiragongo are famous for containing less number of chemical compounds than Poudrette quarry
Euboea Izalco Mount Nyiragongo
action less
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_type
action find_reverse
entity Poudrette quarry
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:type_locality ?s . ?s rdf:type ontology:landform . ?h rdf:type ontology:chemical_compound } GROUP BY ?s } . FILTER ( ?q < ?c ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:type_locality resource:Poudrette_quarry . ?y rdf:type ontology:chemical_compound } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q26710874
P2695
Q271669 Q11173
USER
And what about Francon quarry?
(c(Q11173),P2695,c(Q271669))
action less
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_type
action find_reverse
entity Q26710874
relation P2695
type Q11173
[{'concept': 'Q11173'}, 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ontology:Q11173 . ?g property:P2695 resource:Q26710874 } } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P2695 ?s . ?r rdf:type ontology:Q11173 . ?s rdf:type ontology:Q271669 } GROUP BY ?s } }
Francon quarry
action less
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_type
action find_reverse
entity Francon quarry
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ontology:chemical_compound . ?g property:type_locality resource:Francon_quarry } } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:type_locality ?s . ?r rdf:type ontology:chemical_compound . ?s rdf:type ontology:landform } GROUP BY ?s } }
[]
landform chemical compound
Q173096 Q1049619 Q214696
SYSTEM
Euboea, Izalco, Mount Nyiragongo
Q24572912 Q175741 Q26883299 Q27473681 Q24320189 Q24320342 Q11474307 Q206137 Q26878849 Q1282214 Q657187 Q1049619 Q208321 Q19374932 Q26617618 Q26450810 Q24376122 Q26812670 Q27510931 Q111444 Q26878777 Q24282690 Q24556491 Q24705154 Q23790598 Q24236993 Q24444547 Q24701978 Q214696 Q26813695 Q24314881 Q7826822 Q24072981 Q173096
(c(Q11173),P2695,c(Q271669))
action less
action find_reverse_tuple_counts
relation P2695
type Q271669
type Q11173
action count
action filter_type
action find_reverse
entity Q26710874
relation P2695
type Q11173
[ANSWERS]
[{'concept': 'Q11173'}, 'P2695', {'concept': 'Q271669'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ontology:Q11173 . ?g property:P2695 resource:Q26710874 } } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:P2695 ?s . ?r rdf:type ontology:Q11173 . ?s rdf:type ontology:Q271669 } GROUP BY ?s } }
Fuchs quarry, Hartkoppe Andros Øvre Lapplægeret quarry Pereval marble quarry Caspar quarry In den Dellen quarries Iwagi Island Rockall Sky Blue Hill Wolfe Creek Crater Faial Island Izalco Sandoy Hundholmen (Tysfjord) New Cliffe Hill quarry Evans-Lou mine Löhley Fillow quarry Hourt quarry Isle of Mull Crestmore quarries Stetind pegmatite Tom's quarry Seravezza quarries Aris quarries Kudriavy volcano Graulay Piława Górna quarry Mount Nyiragongo Tuften quarry Vispi quarry, Pian di Celle volcano Torr Works Sacrofano caldera Euboea
Euboea Izalco Mount Nyiragongo
action less
action find_reverse_tuple_counts
relation type locality
type landform
type chemical compound
action count
action filter_type
action find_reverse
entity Francon quarry
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', {'concept': 'landform'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { ?g rdf:type ontology:chemical_compound . ?g property:type_locality resource:Francon_quarry } } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ?s ( COUNT ( ?r ) AS ?w ) WHERE { ?r property:type_locality ?s . ?r rdf:type ontology:chemical_compound . ?s rdf:type ontology:landform } GROUP BY ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q271669 Q34442
USER
Which roads are located in approximately 1 landform ?
(c(Q34442),P706,c(Q271669))
action approx
action find_tuple_counts
relation P706
type Q34442
type Q271669
value 1
[{'concept': 'Q34442'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?v ) WHERE { ?d property:P706 ?w . ?d rdf:type ontology:Q34442 . ?w rdf:type ontology:Q271669 } GROUP BY ?d } . FILTER ( ?v = 1 ) }
action approx
action find_tuple_counts
relation located on terrain feature
type road
type landform
value 1
[{'concept': 'road'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?v ) WHERE { ?d property:located_on_terrain_feature ?w . ?d rdf:type ontology:road . ?w rdf:type ontology:landform } GROUP BY ?d } . FILTER ( ?v = 1 ) }
[]
landform road
Q15801677 Q5653474 Q5516746
SYSTEM
Igeldammsgatan, N254 road, Gaffelgränd
Q10549471 Q10517486 Q10570775 Q12325236 Q4566017 Q10641349 Q10727601 Q10601991 Q7433346 Q10496638 Q10591867 Q7386062 Q10551610 Q7651714 Q10430996 Q7332356 Q10661020 Q10526403 Q10636001 Q7619891 Q10707830 Q15886173 Q10685673 Q10505154 Q1338804 Q10562547 Q8079066 Q10705660 Q3273398 Q928901 Q1798115 Q10663209 Q4566192 Q10503183 Q10671703 Q10681579 Q7334099 Q10428499 Q10550319 Q10550318 Q7542372 Q10688861 Q15145497 Q10658723 Q10658724 Q15795270 Q15890678 Q15801677 Q10535336 Q10552207 Q7861748 Q1685129 Q10661355 Q10526725 Q15145488 Q5653474 Q10677438 Q7541445 Q7541447 Q6520524 Q10508737 Q15802095 Q10691669 Q10632058 Q20830832 Q20830837 Q6547951 Q5508761 Q6936729 Q5516746 Q7944389 Q6319999 Q7406943 Q10703501 Q15870363 Q10550321 Q10418516 Q6936732 Q4979107 Q5305649 Q4566595 Q7620080
(c(Q34442),P706,c(Q271669))
action approx
action find_tuple_counts
relation P706
type Q34442
type Q271669
value 1
[ANSWERS] are located in approximately 1 landform
[{'concept': 'Q34442'}, 'P706', {'concept': 'Q271669'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?v ) WHERE { ?d property:P706 ?w . ?d rdf:type ontology:Q34442 . ?w rdf:type ontology:Q271669 } GROUP BY ?d } . FILTER ( ?v = 1 ) }
Kronobergsgatan Hantverkargatan Lundbyleden Lyngby Hovedgade Själagårdsgatan Prästgatan Örlogsvägen Nordenflychtsvägen Schönfeldts gränd Fleminggatan Myntgatan Rådhusgränd Källargränd Svartmangatan Blasieholmsgatan Riddarhusgränd Samuel Owens gata Hornsbergs strand Polhemsgatan Stora Nygatan Tyska stallplan Alströmergatan Svensksundsvägen Gjörwellsgatan Norr Mälarstrand Lindhagensgatan Österlånggatan Trångsund Ma-13 Köpmangatan Västerlånggatan Scheelegatan Kindstugatan Garvargatan Slupskjulsvägen Strandvejen Riksgatan Bergsgatan Kungsholms strand Kungsholms hamnplan Slussplan Södra Benickebrinken Warfvinges väg Rålambsvägen Rålambshovsleden Grubbens gata Celsiusgatan Igeldammsgatan Inedalsgatan Köpmanbrinken Tyska brinken Skomakargatan Sankt Göransgatan Hovslagargatan Wargentinsgatan N254 road Stallgatan Slottsbacken Slottskajen Lejonbacken Grevgränd Olof Gjödingsgatan Teatergatan Pipersgatan King Street King Street Lilla Nygatan Funckens gränd Munkbrogatan Gaffelgränd Västerbroplan Järntorgsgatan Salviigränd Triewaldsgränd Agnegatan Kungsholmsgatan Arsenalsgatan Munkbroleden Brunnsgränd Drakens gränd Baggensgatan Storkyrkobrinken
Igeldammsgatan, N254 road and Gaffelgränd are located in approximately 1 landform
Igeldammsgatan N254 road Gaffelgränd
action approx
action find_tuple_counts
relation located on terrain feature
type road
type landform
value 1
[{'concept': 'road'}, 'located on terrain feature', {'concept': 'landform'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?v ) WHERE { ?d property:located_on_terrain_feature ?w . ?d rdf:type ontology:road . ?w rdf:type ontology:landform } GROUP BY ?d } . FILTER ( ?v = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15801677
P559
Q34442
USER
Which road has that one as terminus ?
(c(Q34442),P559,Q15801677)
action filter_type
action find_reverse
entity Q15801677
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q15801677']
SELECT DISTINCT ?q WHERE { ?q property:P559 resource:Q15801677 . ?q rdf:type ontology:Q34442 }
Igeldammsgatan
action filter_type
action find_reverse
entity Igeldammsgatan
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Igeldammsgatan']
SELECT DISTINCT ?q WHERE { ?q property:terminus resource:Igeldammsgatan . ?q rdf:type ontology:road }
[]
road
Clarification for simple ques.
Q5516746
SYSTEM
Did you mean Gaffelgränd ?
Q15801677 Q5653474 Q5516746
(c(Q34442),P559,Q15801677) (c(Q34442),P559,Q5653474) (c(Q34442),P559,Q5516746)
[ANSWER]
[{'concept': 'Q34442'}, 'P559', 'Q15801677'] [{'concept': 'Q34442'}, 'P559', 'Q5653474'] [{'concept': 'Q34442'}, 'P559', 'Q5516746']
SELECT DISTINCT ?q WHERE { ?q property:P559 resource:Q15801677 . ?q rdf:type ontology:Q34442 }
Igeldammsgatan N254 road Gaffelgränd
Did you mean Gaffelgränd ?
Gaffelgränd
[{'concept': 'road'}, 'terminus', 'Igeldammsgatan'] [{'concept': 'road'}, 'terminus', 'N254 road'] [{'concept': 'road'}, 'terminus', 'Gaffelgränd']
SELECT DISTINCT ?q WHERE { ?q property:terminus resource:Igeldammsgatan . ?q rdf:type ontology:road }
[]
Simple Question (Coreferenced)
USER
No, I meant Igeldammsgatan. Could you tell me the answer for that?
(c(Q34442),P559,Q15801677)
Q15801677
[{'concept': 'Q34442'}, 'P559', 'Q15801677']
[{'concept': 'road'}, 'terminus', 'Igeldammsgatan']
[]
Q15886173
SYSTEM
Alströmergatan
Q15886173
(c(Q34442),P559,Q15801677)
action filter_type
action find_reverse
entity Q15801677
relation P559
type Q34442
[ANSWER] has that one as terminus
[{'concept': 'Q34442'}, 'P559', 'Q15801677']
SELECT DISTINCT ?q WHERE { ?q property:P559 resource:Q15801677 . ?q rdf:type ontology:Q34442 }
Alströmergatan
Alströmergatan has that one as terminus
Alströmergatan
action filter_type
action find_reverse
entity Igeldammsgatan
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Igeldammsgatan']
SELECT DISTINCT ?q WHERE { ?q property:terminus resource:Igeldammsgatan . ?q rdf:type ontology:road }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2509623
P1382
Q34442 Q34442 Q83620
USER
How many roads have partial concurrency with more number of roads or thoroughfares than N219 road ?
(c(Q34442)|c(Q83620),P1382,c(Q34442))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q34442
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2509623
relation P1382
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P1382 ?x . ?x rdf:type ontology:Q34442 . ?o rdf:type ontology:Q34442 } UNION { ?o property:P1382 ?x . ?x rdf:type ontology:Q34442 . ?o rdf:type ontology:Q83620 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1382 resource:Q2509623 . { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?h rdf:type ?s } } } . FILTER ( ?c > ?t ) }
N219 road
action count
action greater
action union
action find_reverse_tuple_counts
relation coincident with
type road
type road
action find_reverse_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity N219 road
relation coincident with
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:coincident_with ?x . ?x rdf:type ontology:road . ?o rdf:type ontology:road } UNION { ?o property:coincident_with ?x . ?x rdf:type ontology:road . ?o rdf:type ontology:thoroughfare } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:coincident_with resource:N219_road . { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?h rdf:type ?s } } } . FILTER ( ?c > ?t ) }
[]
road road thoroughfare
SYSTEM
20
Q1763757 Q1865839 Q1820208 Q2155688 Q2152928 Q3272030 Q1604527 Q1479591 Q1935971 Q447309 Q1784648 Q2273614 Q1868632 Q1557823 Q2137946 Q2462535 Q2785203 Q1668976 Q2010195 Q1859275
(c(Q34442)|c(Q83620),P1382,c(Q34442))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q34442
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2509623
relation P1382
type Q34442
type Q83620
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:P1382 ?x . ?x rdf:type ontology:Q34442 . ?o rdf:type ontology:Q34442 } UNION { ?o property:P1382 ?x . ?x rdf:type ontology:Q34442 . ?o rdf:type ontology:Q83620 } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1382 resource:Q2509623 . { VALUES ( ?s ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } . ?h rdf:type ?s } } } . FILTER ( ?c > ?t ) }
A35 motorway Provincial road N205 A18 motorway N215 road A200 motorway Provincial road N208 A58 motorway A59 motorway N217 road N57 motorway N211 road N221 road N260 road A4 motorway N210 road N246 road N228 road A8 motorway N491 road Provincial road N229
20
action count
action greater
action union
action find_reverse_tuple_counts
relation coincident with
type road
type road
action find_reverse_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity N219 road
relation coincident with
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?c ) WHERE { { ?o property:coincident_with ?x . ?x rdf:type ontology:road . ?o rdf:type ontology:road } UNION { ?o property:coincident_with ?x . ?x rdf:type ontology:road . ?o rdf:type ontology:thoroughfare } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:coincident_with resource:N219_road . { VALUES ( ?s ) { ( ontology:road ) ( ontology:thoroughfare ) } . ?h rdf:type ?s } } } . FILTER ( ?c > ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2273614
P1382
Q34442 Q34442 Q83620
USER
And how about N221 road?
(c(Q34442)|c(Q83620),P1382,c(Q34442))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q34442
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2273614
relation P1382
type Q34442
type Q83620
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?h } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P1382 resource:Q2273614 . { { ?g rdf:type ontology:Q34442 } UNION { ?g rdf:type ontology:Q83620 } } } } }
N221 road
action count
action greater
action union
action find_reverse_tuple_counts
relation coincident with
type road
type road
action find_reverse_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity N221 road
relation coincident with
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?h } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:coincident_with resource:N221_road . { { ?g rdf:type ontology:road } UNION { ?g rdf:type ontology:thoroughfare } } } } }
[]
road road thoroughfare
SYSTEM
2
Q447309 Q1859275
(c(Q34442)|c(Q83620),P1382,c(Q34442))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q34442
action find_reverse_tuple_counts
relation P1382
type Q34442
type Q83620
action count
action filter_multi_types
action find_reverse
entity Q2273614
relation P1382
type Q34442
type Q83620
[ANSWER]
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P1382', {'concept': 'Q34442'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?h } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:P1382 resource:Q2273614 . { { ?g rdf:type ontology:Q34442 } UNION { ?g rdf:type ontology:Q83620 } } } } }
N57 motorway Provincial road N229
2
action count
action greater
action union
action find_reverse_tuple_counts
relation coincident with
type road
type road
action find_reverse_tuple_counts
relation coincident with
type road
type thoroughfare
action count
action filter_multi_types
action find_reverse
entity N221 road
relation coincident with
type road
type thoroughfare
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'coincident with', {'concept': 'road'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?k ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?z ) AS ?n ) WHERE { ?z rdf:type ?a . VALUES ( ?a ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?h } . FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g property:coincident_with resource:N221_road . { { ?g rdf:type ontology:road } UNION { ?g rdf:type ontology:thoroughfare } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10573026 Q5516746
P559
Q79007
USER
Which streets have Gaffelgränd or Lützengatan as the terminus ?
OR((c(Q79007),P559,Q5516746), (c(Q79007),P559,Q10573026))
action filter_type
action union
action find_reverse
entity Q5516746
relation P559
action find_reverse
entity Q10573026
relation P559
type Q79007
{'OR': [[{'concept': 'Q79007'}, 'P559', 'Q5516746'], [{'concept': 'Q79007'}, 'P559', 'Q10573026']]}
SELECT DISTINCT ?c WHERE { { ?c property:P559 ?k . VALUES ( ?k ) { ( resource:Q5516746 ) ( resource:Q10573026 ) } } . ?c rdf:type ontology:Q79007 }
Lützengatan Gaffelgränd
action filter_type
action union
action find_reverse
entity Gaffelgränd
relation terminus
action find_reverse
entity Lützengatan
relation terminus
type street
{'OR': [[{'concept': 'street'}, 'terminus', 'Gaffelgränd'], [{'concept': 'street'}, 'terminus', 'Lützengatan']]}
SELECT DISTINCT ?c WHERE { { ?c property:terminus ?k . VALUES ( ?k ) { ( resource:Gaffelgränd ) ( resource:Lützengatan ) } } . ?c rdf:type ontology:street }
[]
street
Q10622333 Q6547943 Q10707853
SYSTEM
Pelikansgränd, Lilla Hoparegränd, Tysta gatan
Q10622333 Q6547943 Q10707853
OR((c(Q79007),P559,Q5516746), (c(Q79007),P559,Q10573026))
action filter_type
action union
action find_reverse
entity Q5516746
relation P559
action find_reverse
entity Q10573026
relation P559
type Q79007
[ANSWERS] have Gaffelgränd or Lützengatan as the terminus
{'OR': [[{'concept': 'Q79007'}, 'P559', 'Q5516746'], [{'concept': 'Q79007'}, 'P559', 'Q10573026']]}
SELECT DISTINCT ?c WHERE { { ?c property:P559 ?k . VALUES ( ?k ) { ( resource:Q5516746 ) ( resource:Q10573026 ) } } . ?c rdf:type ontology:Q79007 }
Pelikansgränd Lilla Hoparegränd Tysta gatan
Pelikansgränd, Lilla Hoparegränd and Tysta gatan have Gaffelgränd or Lützengatan as the terminus
Pelikansgränd Lilla Hoparegränd Tysta gatan
action filter_type
action union
action find_reverse
entity Gaffelgränd
relation terminus
action find_reverse
entity Lützengatan
relation terminus
type street
{'OR': [[{'concept': 'street'}, 'terminus', 'Gaffelgränd'], [{'concept': 'street'}, 'terminus', 'Lützengatan']]}
SELECT DISTINCT ?c WHERE { { ?c property:terminus ?k . VALUES ( ?k ) { ( resource:Gaffelgränd ) ( resource:Lützengatan ) } } . ?c rdf:type ontology:street }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q10622333
P17
Q15617994
USER
How many administrative territories are Pelikansgränd located in ?
(Q10622333,P17,c(Q15617994))
action count
action filter_type
action find
entity Q10622333
relation P17
type Q15617994
['Q10622333', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q10622333 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Pelikansgränd
action count
action filter_type
action find
entity Pelikansgränd
relation country
type designation for an administrative territorial entity
['Pelikansgränd', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Pelikansgränd property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q10622333,P17,c(Q15617994))
action count
action filter_type
action find
entity Q10622333
relation P17
type Q15617994
[ANSWER]
['Q10622333', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Q10622333 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Pelikansgränd
relation country
type designation for an administrative territorial entity
['Pelikansgränd', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?k ) WHERE { resource:Pelikansgränd property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4977142
P17
Q15617994
USER
And also tell me about Robakowo, Pomeranian Voivodeship?
(Q4977142,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4977142
relation P17
type Q15617994
['Q4977142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q4977142 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Robakowo, Pomeranian Voivodeship
action count
action filter_type
action find
entity Robakowo, Pomeranian Voivodeship
relation country
type designation for an administrative territorial entity
['Robakowo, Pomeranian Voivodeship', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Robakowo,_Pomeranian_Voivodeship property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q36
(Q4977142,P17,c(Q15617994))
action count
action filter_type
action find
entity Q4977142
relation P17
type Q15617994
[ANSWER]
['Q4977142', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q4977142 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Poland
1
action count
action filter_type
action find
entity Robakowo, Pomeranian Voivodeship
relation country
type designation for an administrative territorial entity
['Robakowo, Pomeranian Voivodeship', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Robakowo,_Pomeranian_Voivodeship property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3374725
Q15617994
USER
And how about El Cajón Dam?
(Q3374725,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3374725
relation P17
type Q15617994
['Q3374725', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q3374725 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
El Cajón Dam
action count
action filter_type
action find
entity El Cajón Dam
relation country
type designation for an administrative territorial entity
['El Cajón Dam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:El_Cajón_Dam property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3374725,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3374725
relation P17
type Q15617994
[ANSWER]
['Q3374725', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:Q3374725 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity El Cajón Dam
relation country
type designation for an administrative territorial entity
['El Cajón Dam', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) WHERE { resource:El_Cajón_Dam property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q476516
P669
Q79007 Q16970
USER
Which churches are located on greater number of streets than Rouen Cathedral ?
(c(Q16970),P669,c(Q79007))
action greater
action find_tuple_counts
relation P669
type Q16970
type Q79007
action count
action filter_type
action find
entity Q476516
relation P669
type Q16970
[{'concept': 'Q16970'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?g > ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q476516 property:P669 ?t . ?t rdf:type ontology:Q16970 } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?g ) WHERE { ?y property:P669 ?j . ?y rdf:type ontology:Q16970 . ?j rdf:type ontology:Q79007 } GROUP BY ?y } }
Rouen Cathedral
action greater
action find_tuple_counts
relation located on street
type church
type street
action count
action filter_type
action find
entity Rouen Cathedral
relation located on street
type church
[{'concept': 'church'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?g > ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Rouen_Cathedral property:located_on_street ?t . ?t rdf:type ontology:church } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?g ) WHERE { ?y property:located_on_street ?j . ?y rdf:type ontology:church . ?j rdf:type ontology:street } GROUP BY ?y } }
[]
street church
Q1254795 Q2407691 Q624556
SYSTEM
St. Mark's Church, American Cathedral in Paris, St. Patrick's Cathedral
Q1254795 Q2407691 Q624556
(c(Q16970),P669,c(Q79007))
action greater
action find_tuple_counts
relation P669
type Q16970
type Q79007
action count
action filter_type
action find
entity Q476516
relation P669
type Q16970
[ANSWERS] are located on greater number of streets than Rouen Cathedral
[{'concept': 'Q16970'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?g > ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Q476516 property:P669 ?t . ?t rdf:type ontology:Q16970 } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?g ) WHERE { ?y property:P669 ?j . ?y rdf:type ontology:Q16970 . ?j rdf:type ontology:Q79007 } GROUP BY ?y } }
St. Mark's Church American Cathedral in Paris St. Patrick's Cathedral
St. Mark's Church, American Cathedral in Paris and St. Patrick's Cathedral are located on greater number of streets than Rouen Cathedral
St. Mark's Church American Cathedral in Paris St. Patrick's Cathedral
action greater
action find_tuple_counts
relation located on street
type church
type street
action count
action filter_type
action find
entity Rouen Cathedral
relation located on street
type church
[{'concept': 'church'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?g > ?c ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { resource:Rouen_Cathedral property:located_on_street ?t . ?t rdf:type ontology:church } } . { SELECT DISTINCT ?y ( COUNT ( ?j ) AS ?g ) WHERE { ?y property:located_on_street ?j . ?y rdf:type ontology:church . ?j rdf:type ontology:street } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q2384843
P669
Q79007 Q16970
USER
And what about Saint Nicholas' Church, Shanghai?
(c(Q16970),P669,c(Q79007))
action greater
action find_tuple_counts
relation P669
type Q16970
type Q79007
action count
action filter_type
action find
entity Q2384843
relation P669
type Q16970
[{'concept': 'Q16970'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:Q79007 . ?s rdf:type ontology:Q16970 . ?s property:P669 ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q2384843 property:P669 ?v . ?v rdf:type ontology:Q16970 } } . FILTER ( ?b > ?l ) }
Saint Nicholas' Church, Shanghai
action greater
action find_tuple_counts
relation located on street
type church
type street
action count
action filter_type
action find
entity Saint Nicholas' Church, Shanghai
relation located on street
type church
[{'concept': 'church'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:street . ?s rdf:type ontology:church . ?s property:located_on_street ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Saint_Nicholas'_Church,_Shanghai property:located_on_street ?v . ?v rdf:type ontology:church } } . FILTER ( ?b > ?l ) }
[]
street church
Q1254795 Q2407691 Q624556
SYSTEM
St. Mark's Church, American Cathedral in Paris, St. Patrick's Cathedral
Q1254795 Q2407691 Q624556
(c(Q16970),P669,c(Q79007))
action greater
action find_tuple_counts
relation P669
type Q16970
type Q79007
action count
action filter_type
action find
entity Q2384843
relation P669
type Q16970
[ANSWERS]
[{'concept': 'Q16970'}, 'P669', {'concept': 'Q79007'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:Q79007 . ?s rdf:type ontology:Q16970 . ?s property:P669 ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Q2384843 property:P669 ?v . ?v rdf:type ontology:Q16970 } } . FILTER ( ?b > ?l ) }
St. Mark's Church American Cathedral in Paris St. Patrick's Cathedral
St. Mark's Church American Cathedral in Paris St. Patrick's Cathedral
action greater
action find_tuple_counts
relation located on street
type church
type street
action count
action filter_type
action find
entity Saint Nicholas' Church, Shanghai
relation located on street
type church
[{'concept': 'church'}, 'located on street', {'concept': 'street'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?b ) WHERE { ?m rdf:type ontology:street . ?s rdf:type ontology:church . ?s property:located_on_street ?m } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?l ) WHERE { resource:Saint_Nicholas'_Church,_Shanghai property:located_on_street ?v . ?v rdf:type ontology:church } } . FILTER ( ?b > ?l ) }
[]