Simple Question (Direct)
Simple Question
Q2395580
P127
Q327333
USER
Which government agencies do U.S. Route 136 belong to ?
(Q2395580,P127,c(Q327333))
action filter_type
action find
entity Q2395580
relation P127
type Q327333
['Q2395580', 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q327333 . resource:Q2395580 property:P127 ?u }
U.S. Route 136
action filter_type
action find
entity U.S. Route 136
relation owned by
type government agency
['U.S. Route 136', 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:government_agency . resource:U.S._Route_136 property:owned_by ?u }
[]
government agency
Q4925393 Q5558445 Q5557977
SYSTEM
Indiana Department of Transportation, Nebraska Department of Roads, Missouri Department of Transportation
Q4925393 Q5558445 Q5557977
(Q2395580,P127,c(Q327333))
action filter_type
action find
entity Q2395580
relation P127
type Q327333
U.S. Route 136 belong to the [ANSWERS]
['Q2395580', 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q327333 . resource:Q2395580 property:P127 ?u }
Indiana Department of Transportation Nebraska Department of Roads Missouri Department of Transportation
U.S. Route 136 belong to the Indiana Department of Transportation, Nebraska Department of Roads and Missouri Department of Transportation
Indiana Department of Transportation Nebraska Department of Roads Missouri Department of Transportation
action filter_type
action find
entity U.S. Route 136
relation owned by
type government agency
['U.S. Route 136', 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:government_agency . resource:U.S._Route_136 property:owned_by ?u }
[]
Clarification
Simple Question|Single Entity|Indirect
Q5558445
P126
Q83620
USER
Which thoroughfares are administered by that government agency ?
(c(Q83620),P126,Q5558445)
action filter_type
action find_reverse
entity Q5558445
relation P126
type Q83620
[{'concept': 'Q83620'}, 'P126', 'Q5558445']
SELECT DISTINCT ?t WHERE { ?t property:P126 resource:Q5558445 . ?t rdf:type ontology:Q83620 }
Nebraska Department of Roads
action filter_type
action find_reverse
entity Nebraska Department of Roads
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', 'Nebraska Department of Roads']
SELECT DISTINCT ?t WHERE { ?t property:maintained_by resource:Nebraska_Department_of_Roads . ?t rdf:type ontology:thoroughfare }
[]
thoroughfare
Clarification for simple ques.
Q5557977
SYSTEM
Did you mean Missouri Department of Transportation ?
Q4925393 Q5558445 Q5557977
(c(Q83620),P126,Q4925393) (c(Q83620),P126,Q5558445) (c(Q83620),P126,Q5557977)
[ANSWER]
[{'concept': 'Q83620'}, 'P126', 'Q4925393'] [{'concept': 'Q83620'}, 'P126', 'Q5558445'] [{'concept': 'Q83620'}, 'P126', 'Q5557977']
SELECT DISTINCT ?t WHERE { ?t property:P126 resource:Q5558445 . ?t rdf:type ontology:Q83620 }
Indiana Department of Transportation Nebraska Department of Roads Missouri Department of Transportation
Did you mean Missouri Department of Transportation ?
Missouri Department of Transportation
[{'concept': 'thoroughfare'}, 'maintained by', 'Indiana Department of Transportation'] [{'concept': 'thoroughfare'}, 'maintained by', 'Nebraska Department of Roads'] [{'concept': 'thoroughfare'}, 'maintained by', 'Missouri Department of Transportation']
SELECT DISTINCT ?t WHERE { ?t property:maintained_by resource:Nebraska_Department_of_Roads . ?t rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
USER
No, I meant Nebraska Department of Roads. Could you tell me the answer for that?
(c(Q83620),P126,Q5558445)
Q5558445
[{'concept': 'Q83620'}, 'P126', 'Q5558445']
[{'concept': 'thoroughfare'}, 'maintained by', 'Nebraska Department of Roads']
[]
Q2174970 Q410377 Q407881
SYSTEM
U.S. Route 183, U.S. Route 75, U.S. Route 20
Q410404 Q2390876 Q2395001 Q2392135 Q2390165 Q2392230 Q2393473 Q2393284 Q2388930 Q2174970 Q2395522 Q2391825 Q16985909 Q2394251 Q1482631 Q280677 Q2393858 Q2393217 Q2391140 Q2391183 Q2389980 Q2390252 Q2390095 Q2388840 Q2390310 Q408902 Q2388665 Q2394004 Q2393716 Q2394550 Q2389655 Q2395067 Q2175059 Q2394842 Q2175071 Q2392829 Q2391721 Q2394498 Q2393559 Q2392192 Q2389730 Q2394098 Q409435 Q2391284 Q2394720 Q407881 Q2389112 Q2393382 Q2393429 Q2392096 Q2390572 Q2393783 Q2394170 Q2389591 Q2390378 Q2391971 Q2393965 Q2394933 Q586079 Q371425 Q1671323 Q303037 Q2392275 Q2396151 Q2388877 Q2390465 Q2388977 Q2391866 Q2391788 Q2394375 Q2392786 Q377806 Q2395350 Q2389462 Q2395187 Q2390820 Q2395745 Q2395580 Q4817696 Q605439 Q2390511 Q410689 Q2393324 Q2394891 Q2388800 Q410354 Q2139447 Q2394282 Q2394758 Q2139503 Q410661 Q2392893 Q2388613 Q2394041 Q2393818 Q2391036 Q2395132 Q2391233 Q1482685 Q2389941 Q2394214 Q2394446 Q2388307 Q410377 Q2394335 Q2389398 Q2395235 Q2395934 Q2394133 Q2393663 Q1482315 Q2393347 Q2392322 Q2391322 Q2391912 Q2394800 Q2389802
(c(Q83620),P126,Q5558445)
action filter_type
action find_reverse
entity Q5558445
relation P126
type Q83620
[ANSWERS] are administered by that government agency
[{'concept': 'Q83620'}, 'P126', 'Q5558445']
SELECT DISTINCT ?t WHERE { ?t property:P126 resource:Q5558445 . ?t rdf:type ontology:Q83620 }
U.S. Route 77 Nebraska Highway 35 U.S. Route 6 in Nebraska Nebraska Highway 57 Nebraska Highway 22 Nebraska Highway 59 Nebraska Highway 74 Nebraska Highway 67 Nebraska Highway 8 U.S. Route 183 U.S. Route 136 in Nebraska Nebraska Highway 50 U.S. Route 77 in Nebraska Nebraska Highway 99 Interstate 480 Nebraska Highway 110 Nebraska Highway 89 Nebraska Highway 66 Nebraska Highway 39 Nebraska Highway 40 Nebraska Highway 19 Nebraska Highway 23 Nebraska Highway 21 Nebraska Highway 5 Nebraska Highway 24 U.S. Route 26 Nebraska Highway 2 Nebraska Highway 92 Nebraska Highway 85 Nebraska Highway 121 Nebraska Highway 15 U.S. Route 20 in Nebraska U.S. Route 281 Nebraska Highway 250 U.S. Route 283 Nebraska Highway 64 Nebraska Highway 45 Nebraska Highway 116 Nebraska Highway 79 Nebraska Highway 58 Nebraska Highway 16 Nebraska Highway 95 U.S. Route 34 Nebraska Highway 43 Nebraska Highway 128 U.S. Route 20 Nebraska Highway 11 Nebraska Highway 70 Nebraska Highway 71 Nebraska Highway 56 Nebraska Highway 31 Nebraska Highway 87 Nebraska Highway 97 Nebraska Highway 14 Nebraska Highway 25 Nebraska Highway 53 Nebraska Highway 91 Nebraska Link 28B Nebraska Highway 10 Nebraska Highway 46 Interstate 180 U.S. Route 6 Nebraska Highway 61 U.S. Route 383 Nebraska Highway 7 Nebraska Highway 27 Nebraska Highway 9 Nebraska Highway 51 Nebraska Highway 47 Nebraska Highway 109 Nebraska Highway 63 Nebraska Highway 32 U.S. Route 75 in Nebraska Nebraska Highway 13 U.S. Route 30 in Nebraska Nebraska Highway 33 U.S. Route 159 U.S. Route 136 Crazy Horse Memorial Highway Nebraska Highway 78 Nebraska Highway 29 U.S. Route 83 Nebraska Highway 68 Nebraska Highway 370 Nebraska Highway 4 U.S. Route 73 U.S. Route 138 Nebraska Highway 103 Nebraska Highway 133 U.S. Route 385 U.S. Route 81 Nebraska Highway 65 Nebraska Highway 1 Nebraska Highway 94 Nebraska Highway 88 Nebraska Highway 36 U.S. Route 26 in Nebraska Nebraska Highway 41 Interstate 680 Nebraska Highway 18 Nebraska Highway 98 Nebraska Highway 112 Interstate 80 in Nebraska U.S. Route 75 Nebraska Highway 105 Nebraska Highway 12 U.S. Route 34 in Nebraska U.S. Route 275 Nebraska Highway 96 Nebraska Highway 84 Interstate 129 Nebraska Highway 69 Nebraska Highway 62 Nebraska Highway 44 Nebraska Highway 52 Nebraska Highway 137 Nebraska Highway 17
U.S. Route 183, U.S. Route 75 and U.S. Route 20 are administered by that government agency
U.S. Route 183 U.S. Route 75 U.S. Route 20
action filter_type
action find_reverse
entity Nebraska Department of Roads
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', 'Nebraska Department of Roads']
SELECT DISTINCT ?t WHERE { ?t property:maintained_by resource:Nebraska_Department_of_Roads . ?t rdf:type ontology:thoroughfare }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q271669 Q618123 Q83620
USER
How many thoroughfares are a component of exactly 1 landforms and geographical objects ?
(c(Q83620),P361,c(Q271669)|c(Q618123))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q83620
type Q271669
action find_tuple_counts
relation P361
type Q83620
type Q618123
value 1
[{'concept': 'Q83620'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q271669 ) ( ontology:Q618123 ) } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation part of
type thoroughfare
type landform
action find_tuple_counts
relation part of
type thoroughfare
type geographical object
value 1
[{'concept': 'thoroughfare'}, 'part of', [{'concept': 'landform'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:landform ) ( ontology:geographical_object ) } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
[]
landform geographical object thoroughfare
SYSTEM
2
Q21152436 Q3060539
(c(Q83620),P361,c(Q271669)|c(Q618123))
action count
action equal
action union
action find_tuple_counts
relation P361
type Q83620
type Q271669
action find_tuple_counts
relation P361
type Q83620
type Q618123
value 1
[ANSWER]
[{'concept': 'Q83620'}, 'P361', [{'concept': 'Q271669'}, {'concept': 'Q618123'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:Q271669 ) ( ontology:Q618123 ) } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
Roman Road EV9 The Amber Route
2
action count
action equal
action union
action find_tuple_counts
relation part of
type thoroughfare
type landform
action find_tuple_counts
relation part of
type thoroughfare
type geographical object
value 1
[{'concept': 'thoroughfare'}, 'part of', [{'concept': 'landform'}, {'concept': 'geographical object'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?j ) WHERE { ?d rdf:type ?i . VALUES ( ?i ) { ( ontology:landform ) ( ontology:geographical_object ) } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P559
Q79007 Q83620
USER
Which streets are a terminus for min number of thoroughfares ?
(c(Q83620),P559,Q6547943)
action argmin
action find_reverse_tuple_counts
relation P559
type Q79007
type Q83620
[{'concept': 'Q83620'}, 'P559', 'Q6547943']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P559 ?f . ?m rdf:type ontology:Q83620 . ?f rdf:type ontology:Q79007 } GROUP BY ?f } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P559 ?d . ?r rdf:type ontology:Q83620 . ?d rdf:type ontology:Q79007 } GROUP BY ?d } } }
action argmin
action find_reverse_tuple_counts
relation terminus
type street
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Lilla Hoparegränd']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:terminus ?f . ?m rdf:type ontology:thoroughfare . ?f rdf:type ontology:street } GROUP BY ?f } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:terminus ?d . ?r rdf:type ontology:thoroughfare . ?d rdf:type ontology:street } GROUP BY ?d } } }
[]
street thoroughfare
Q10543765 Q6453558 Q10622333
SYSTEM
Karlavägen, Kåkbrinken, Pelikansgränd
Q3989450 Q10526423 Q6191749 Q11043354 Q12337421 Q10544304 Q10869787 Q10949995 Q15132773 Q6453558 Q15814040 Q10622333 Q1007019 Q5512751 Q12011442 Q34549 Q2136395 Q10679907 Q34462 Q10881627 Q10543765 Q10869791 Q7534638 Q34484 Q7849103 Q4887944 Q6547943
(c(Q83620),P559,Q6547943)
action argmin
action find_reverse_tuple_counts
relation P559
type Q79007
type Q83620
[ANSWERS] are a terminus for min number of thoroughfares
[{'concept': 'Q83620'}, 'P559', 'Q6547943']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:P559 ?f . ?m rdf:type ontology:Q83620 . ?f rdf:type ontology:Q79007 } GROUP BY ?f } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:P559 ?d . ?r rdf:type ontology:Q83620 . ?d rdf:type ontology:Q79007 } GROUP BY ?d } } }
s100 Hornstulls strand Jianguomen Inner Street Zhanlanguan Road Strandboulevarden Katarina kyrkobacke Dongsishitiao Xuanwumen Inner Street Lorensbergsgatan Kåkbrinken Im Wingert Pelikansgränd Bundesstraße 307 G99 Taiwan Ring Expressway Åboulevard Bundesstraße 42 H. C. Andersens Boulevard Stigbergsgatan Bundesstraße 9 May 4th Street Karlavägen Dongsi West Street Skeppar Olofs gränd Bundesstraße 19 Trädgårdsgatan Norra Benickebrinken Lilla Hoparegränd
Karlavägen, Kåkbrinken and Pelikansgränd are a terminus for min number of thoroughfares
Karlavägen Kåkbrinken Pelikansgränd
action argmin
action find_reverse_tuple_counts
relation terminus
type street
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus', 'Lilla Hoparegränd']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?v ) WHERE { ?m property:terminus ?f . ?m rdf:type ontology:thoroughfare . ?f rdf:type ontology:street } GROUP BY ?f } . FILTER ( ?v = ?q ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?q ) { SELECT DISTINCT ?d ( COUNT ( ?r ) AS ?s ) WHERE { ?r property:terminus ?d . ?r rdf:type ontology:thoroughfare . ?d rdf:type ontology:street } GROUP BY ?d } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q12280 Q811430 Q79007
USER
Which streets terminates at approximately 1 bridges or constructions ?
(c(Q79007),P559,c(Q12280)|c(Q811430))
action approx
action union
action find_tuple_counts
relation P559
type Q79007
type Q12280
action find_tuple_counts
relation P559
type Q79007
type Q811430
value 1
[{'concept': 'Q79007'}, 'P559', [{'concept': 'Q12280'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:P559 ?d . ?j rdf:type ontology:Q79007 . ?d rdf:type ontology:Q12280 } UNION { ?j property:P559 ?d . ?j rdf:type ontology:Q79007 . ?d rdf:type ontology:Q811430 } } GROUP BY ?j } . FILTER ( ?y = 1 ) }
action approx
action union
action find_tuple_counts
relation terminus
type street
type bridge
action find_tuple_counts
relation terminus
type street
type construction
value 1
[{'concept': 'street'}, 'terminus', [{'concept': 'bridge'}, {'concept': 'construction'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:terminus ?d . ?j rdf:type ontology:street . ?d rdf:type ontology:bridge } UNION { ?j property:terminus ?d . ?j rdf:type ontology:street . ?d rdf:type ontology:construction } } GROUP BY ?j } . FILTER ( ?y = 1 ) }
[]
bridge construction street
Q7852167 Q6217178 Q7053213
SYSTEM
Tullgränd, Johannesgränd, Norra Bankogränd
Q2136395 Q7852167 Q7534640 Q6217178 Q4960137 Q7053213 Q10602427 Q278812 Q7666368 Q7619888 Q7666360 Q10511365 Q7071087 Q5444341 Q10663255 Q7123020 Q7536467 Q7696196
(c(Q79007),P559,c(Q12280)|c(Q811430))
action approx
action union
action find_tuple_counts
relation P559
type Q79007
type Q12280
action find_tuple_counts
relation P559
type Q79007
type Q811430
value 1
[ANSWERS] terminate at approximately 1 bridges or constructions
[{'concept': 'Q79007'}, 'P559', [{'concept': 'Q12280'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:P559 ?d . ?j rdf:type ontology:Q79007 . ?d rdf:type ontology:Q12280 } UNION { ?j property:P559 ?d . ?j rdf:type ontology:Q79007 . ?d rdf:type ontology:Q811430 } } GROUP BY ?j } . FILTER ( ?y = 1 ) }
H. C. Andersens Boulevard Tullgränd Skeppar Karls gränd Johannesgränd Bredgränd Norra Bankogränd Norra Dryckesgränd Kråkgränd Södra Dryckesgränd Stora Hoparegränd Södra Bankogränd Gymnasiegränd Nygränd Ferkens gränd Schering Rosenhanes gränd Packhusgränd Skottgränd Telegrafgränd
Tullgränd, Johannesgränd and Norra Bankogränd terminate at approximately 1 bridges or constructions
Tullgränd Johannesgränd Norra Bankogränd
action approx
action union
action find_tuple_counts
relation terminus
type street
type bridge
action find_tuple_counts
relation terminus
type street
type construction
value 1
[{'concept': 'street'}, 'terminus', [{'concept': 'bridge'}, {'concept': 'construction'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?y ) WHERE { { ?j property:terminus ?d . ?j rdf:type ontology:street . ?d rdf:type ontology:bridge } UNION { ?j property:terminus ?d . ?j rdf:type ontology:street . ?d rdf:type ontology:construction } } GROUP BY ?j } . FILTER ( ?y = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1146645
P669
Q83620 Q22698 Q16970
USER
How many thoroughfares are the locations of more number of parks or churches than Via Domitia ?
(c(Q22698)|c(Q16970),P669,c(Q83620))
action count
action greater
action union
action find_reverse_tuple_counts
relation P669
type Q83620
type Q22698
action find_reverse_tuple_counts
relation P669
type Q83620
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q1146645
relation P669
type Q22698
type Q16970
[[{'concept': 'Q22698'}, {'concept': 'Q16970'}], 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { { ?p rdf:type ontology:Q83620 . ?r rdf:type ontology:Q16970 . ?r property:P669 ?p } UNION { ?r property:P669 ?p . ?r rdf:type ontology:Q22698 . ?p rdf:type ontology:Q83620 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { { ?w rdf:type ontology:Q22698 } UNION { ?w rdf:type ontology:Q16970 } } . ?w property:P669 resource:Q1146645 } } . FILTER ( ?i > ?s ) }
Via Domitia
action count
action greater
action union
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type park
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type church
action count
action filter_multi_types
action find_reverse
entity Via Domitia
relation located on street
type park
type church
[[{'concept': 'park'}, {'concept': 'church'}], 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { { ?p rdf:type ontology:thoroughfare . ?r rdf:type ontology:church . ?r property:located_on_street ?p } UNION { ?r property:located_on_street ?p . ?r rdf:type ontology:park . ?p rdf:type ontology:thoroughfare } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { { ?w rdf:type ontology:park } UNION { ?w rdf:type ontology:church } } . ?w property:located_on_street resource:Via_Domitia } } . FILTER ( ?i > ?s ) }
[]
thoroughfare park church
SYSTEM
5
Q3412685 Q3412658 Q3161432 Q3412735 Q3412690
(c(Q22698)|c(Q16970),P669,c(Q83620))
action count
action greater
action union
action find_reverse_tuple_counts
relation P669
type Q83620
type Q22698
action find_reverse_tuple_counts
relation P669
type Q83620
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q1146645
relation P669
type Q22698
type Q16970
[ANSWER]
[[{'concept': 'Q22698'}, {'concept': 'Q16970'}], 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { { ?p rdf:type ontology:Q83620 . ?r rdf:type ontology:Q16970 . ?r property:P669 ?p } UNION { ?r property:P669 ?p . ?r rdf:type ontology:Q22698 . ?p rdf:type ontology:Q83620 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { { ?w rdf:type ontology:Q22698 } UNION { ?w rdf:type ontology:Q16970 } } . ?w property:P669 resource:Q1146645 } } . FILTER ( ?i > ?s ) }
quai de Jemmapes quai Saint-Bernard James Street quai du Louvre quai de Valmy
5
action count
action greater
action union
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type park
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type church
action count
action filter_multi_types
action find_reverse
entity Via Domitia
relation located on street
type park
type church
[[{'concept': 'park'}, {'concept': 'church'}], 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?r ) AS ?i ) WHERE { { ?p rdf:type ontology:thoroughfare . ?r rdf:type ontology:church . ?r property:located_on_street ?p } UNION { ?r property:located_on_street ?p . ?r rdf:type ontology:park . ?p rdf:type ontology:thoroughfare } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { { { ?w rdf:type ontology:park } UNION { ?w rdf:type ontology:church } } . ?w property:located_on_street resource:Via_Domitia } } . FILTER ( ?i > ?s ) }
[]