Simple Question (Direct)
Simple Question
Q5525547
P54
Q12973014
USER
Which sports teams are Gary McAdam a member of ?
(Q5525547,P54,c(Q12973014))
action filter_type
action find
entity Q5525547
relation P54
type Q12973014
['Q5525547', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q5525547 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Gary McAdam
action filter_type
action find
entity Gary McAdam
relation member of sports team
type sports team
['Gary McAdam', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Gary_McAdam property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
sports team
Q194116 Q193643 Q203384
SYSTEM
Detroit Red Wings, Pittsburgh Penguins, Toronto Maple Leafs
Q203384 Q204627 Q193643 Q194126 Q131206 Q192081 Q194116
(Q5525547,P54,c(Q12973014))
action filter_type
action find
entity Q5525547
relation P54
type Q12973014
The [ANSWERS] are Gary McAdam a member of
['Q5525547', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?u WHERE { resource:Q5525547 property:P54 ?u . ?u rdf:type ontology:Q12973014 }
Toronto Maple Leafs Washington Capitals Pittsburgh Penguins Calgary Flames Buffalo Sabres New Jersey Devils Detroit Red Wings
The Detroit Red Wings, Pittsburgh Penguins and Toronto Maple Leafs are Gary McAdam a member of
Detroit Red Wings Pittsburgh Penguins Toronto Maple Leafs
action filter_type
action find
entity Gary McAdam
relation member of sports team
type sports team
['Gary McAdam', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?u WHERE { resource:Gary_McAdam property:member_of_sports_team ?u . ?u rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q194116 Q193643 Q203384
P466
Q811979
USER
Which architectural structures are inhabited by those sports teams ?
(c(Q811979),P466,Q194116) (c(Q811979),P466,Q193643) (c(Q811979),P466,Q203384)
action filter_type
action find_reverse
entity prev_answer
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q194116'] [{'concept': 'Q811979'}, 'P466', 'Q193643'] [{'concept': 'Q811979'}, 'P466', 'Q203384']
SELECT DISTINCT ?r WHERE { ?r property:P466 ?s . VALUES ( ?s ) { ( resource:Q203384 ) ( resource:Q204627 ) ( resource:Q193643 ) } . ?r rdf:type ontology:Q811979 }
Detroit Red Wings Pittsburgh Penguins Toronto Maple Leafs
action filter_type
action find_reverse
entity prev_answer
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Detroit Red Wings'] [{'concept': 'architectural structure'}, 'occupant', 'Pittsburgh Penguins'] [{'concept': 'architectural structure'}, 'occupant', 'Toronto Maple Leafs']
SELECT DISTINCT ?r WHERE { ?r property:occupant ?s . VALUES ( ?s ) { ( resource:Toronto_Maple_Leafs ) ( resource:Washington_Capitals ) ( resource:Pittsburgh_Penguins ) } . ?r rdf:type ontology:architectural_structure }
[]
architectural structure
Q406972 Q1814534 Q1237181
SYSTEM
Air Canada Centre, Maple Leaf Gardens, Civic Arena
Q8024565 Q18154984 Q1237181 Q5985941 Q406972 Q1814534
(c(Q811979),P466,Q194116) (c(Q811979),P466,Q193643) (c(Q811979),P466,Q203384)
action filter_type
action find_reverse
entity prev_answer
relation P466
type Q811979
Team [ANSWERS] are inhabited by those sports teams
[{'concept': 'Q811979'}, 'P466', 'Q194116'] [{'concept': 'Q811979'}, 'P466', 'Q193643'] [{'concept': 'Q811979'}, 'P466', 'Q203384']
SELECT DISTINCT ?r WHERE { ?r property:P466 ?s . VALUES ( ?s ) { ( resource:Q203384 ) ( resource:Q204627 ) ( resource:Q193643 ) } . ?r rdf:type ontology:Q811979 }
Windsor Arena Little Caesars Arena Civic Arena IceoPlex at Southpointe Air Canada Centre Maple Leaf Gardens
Team Air Canada Centre, Maple Leaf Gardens and Civic Arena are inhabited by those sports teams
Air Canada Centre Maple Leaf Gardens Civic Arena
action filter_type
action find_reverse
entity prev_answer
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Detroit Red Wings'] [{'concept': 'architectural structure'}, 'occupant', 'Pittsburgh Penguins'] [{'concept': 'architectural structure'}, 'occupant', 'Toronto Maple Leafs']
SELECT DISTINCT ?r WHERE { ?r property:occupant ?s . VALUES ( ?s ) { ( resource:Toronto_Maple_Leafs ) ( resource:Washington_Capitals ) ( resource:Pittsburgh_Penguins ) } . ?r rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q406972 Q1814534 Q1237181
P466
Q12973014
USER
Which sports teams are occupants of those architectural structures ?
(Q406972,P466,c(Q12973014)) (Q1814534,P466,c(Q12973014)) (Q1237181,P466,c(Q12973014))
action filter_type
action find
entity prev_answer
relation P466
type Q12973014
['Q406972', 'P466', {'concept': 'Q12973014'}] ['Q1814534', 'P466', {'concept': 'Q12973014'}] ['Q1237181', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { ?v property:P466 ?p . VALUES ( ?v ) { ( resource:Q8024565 ) ( resource:Q18154984 ) ( resource:Q1237181 ) } . ?p rdf:type ontology:Q12973014 }
Air Canada Centre Maple Leaf Gardens Civic Arena
action filter_type
action find
entity prev_answer
relation occupant
type sports team
['Air Canada Centre', 'occupant', {'concept': 'sports team'}] ['Maple Leaf Gardens', 'occupant', {'concept': 'sports team'}] ['Civic Arena', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { ?v property:occupant ?p . VALUES ( ?v ) { ( resource:Windsor_Arena ) ( resource:Little_Caesars_Arena ) ( resource:Civic_Arena ) } . ?p rdf:type ontology:sports_team }
[]
sports team
Q132880 Q193643 Q203384
SYSTEM
Toronto Raptors, Pittsburgh Penguins, Toronto Maple Leafs
Q132880 Q203384 Q203384 Q193643
(Q406972,P466,c(Q12973014)) (Q1814534,P466,c(Q12973014)) (Q1237181,P466,c(Q12973014))
action filter_type
action find
entity prev_answer
relation P466
type Q12973014
[ANSWERS] are occupants of those architectural structures
['Q406972', 'P466', {'concept': 'Q12973014'}] ['Q1814534', 'P466', {'concept': 'Q12973014'}] ['Q1237181', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?p WHERE { ?v property:P466 ?p . VALUES ( ?v ) { ( resource:Q8024565 ) ( resource:Q18154984 ) ( resource:Q1237181 ) } . ?p rdf:type ontology:Q12973014 }
Toronto Raptors Toronto Maple Leafs Toronto Maple Leafs Pittsburgh Penguins
Toronto Raptors, Pittsburgh Penguins and Toronto Maple Leafs are occupants of those architectural structures
Toronto Raptors Pittsburgh Penguins Toronto Maple Leafs
action filter_type
action find
entity prev_answer
relation occupant
type sports team
['Air Canada Centre', 'occupant', {'concept': 'sports team'}] ['Maple Leaf Gardens', 'occupant', {'concept': 'sports team'}] ['Civic Arena', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?p WHERE { ?v property:occupant ?p . VALUES ( ?v ) { ( resource:Windsor_Arena ) ( resource:Little_Caesars_Arena ) ( resource:Civic_Arena ) } . ?p rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q193643
P115
Q811979
USER
Where is the home field of that sports team ?
(Q193643,P115,c(Q811979))
action filter_type
action find
entity Q193643
relation P115
type Q811979
['Q193643', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { resource:Q193643 property:P115 ?o . ?o rdf:type ontology:Q811979 }
Pittsburgh Penguins
action filter_type
action find
entity Pittsburgh Penguins
relation home venue
type architectural structure
['Pittsburgh Penguins', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { resource:Pittsburgh_Penguins property:home_venue ?o . ?o rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q132880
SYSTEM
Did you mean Toronto Raptors ?
Q132880 Q193643 Q203384
(Q132880,P115,c(Q811979)) (Q193643,P115,c(Q811979)) (Q203384,P115,c(Q811979))
[ANSWER]
['Q132880', 'P115', {'concept': 'Q811979'}] ['Q193643', 'P115', {'concept': 'Q811979'}] ['Q203384', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { resource:Q193643 property:P115 ?o . ?o rdf:type ontology:Q811979 }
Toronto Raptors Pittsburgh Penguins Toronto Maple Leafs
Did you mean Toronto Raptors ?
Toronto Raptors
['Toronto Raptors', 'home venue', {'concept': 'architectural structure'}] ['Pittsburgh Penguins', 'home venue', {'concept': 'architectural structure'}] ['Toronto Maple Leafs', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { resource:Pittsburgh_Penguins property:home_venue ?o . ?o rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
No, I meant Pittsburgh Penguins. Could you tell me the answer for that?
(Q193643,P115,c(Q811979))
Q193643
['Q193643', 'P115', {'concept': 'Q811979'}]
['Pittsburgh Penguins', 'home venue', {'concept': 'architectural structure'}]
[]
Q1237181
SYSTEM
Civic Arena
Q1237181
(Q193643,P115,c(Q811979))
action filter_type
action find
entity Q193643
relation P115
type Q811979
The home field of that sports team is the [ANSWER]
['Q193643', 'P115', {'concept': 'Q811979'}]
SELECT DISTINCT ?o WHERE { resource:Q193643 property:P115 ?o . ?o rdf:type ontology:Q811979 }
Civic Arena
The home field of that sports team is the Civic Arena
Civic Arena
action filter_type
action find
entity Pittsburgh Penguins
relation home venue
type architectural structure
['Pittsburgh Penguins', 'home venue', {'concept': 'architectural structure'}]
SELECT DISTINCT ?o WHERE { resource:Pittsburgh_Penguins property:home_venue ?o . ?o rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q2449917
P361
Q43229 Q1785271 Q12973014
USER
Which sports teams are a component of more number of organizations and cycling teams than Tranås AIF Hockey ?
(c(Q12973014),P361,c(Q43229)|c(Q1785271))
action greater
action union
action find_tuple_counts
relation P361
type Q12973014
type Q43229
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
action count
action filter_multi_types
action find
entity Q2449917
relation P361
type Q43229
type Q1785271
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q1785271'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q2449917 property:P361 ?x . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q1785271 ) } } } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?s WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q1785271 ) } } GROUP BY ?s } }
Tranås AIF Hockey
action greater
action union
action find_tuple_counts
relation part of
type sports team
type organization
action find_tuple_counts
relation part of
type sports team
type cycling team
action count
action filter_multi_types
action find
entity Tranås AIF Hockey
relation part of
type organization
type cycling team
[{'concept': 'sports team'}, 'part of', [{'concept': 'organization'}, {'concept': 'cycling team'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Tranås_AIF_Hockey property:part_of ?x . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:cycling_team ) } } } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?s WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:organization ) ( ontology:cycling_team ) } } GROUP BY ?s } }
[]
organization cycling team sports team
Q4994627 Q2031816 Q23664286
SYSTEM
SønderjyskE Håndbold, SønderjyskE Ishockey, Ford Chip Ganassi Team UK
Q4994627 Q2031816 Q20311917 Q18345717 Q17512706 Q23664286 Q23722770
(c(Q12973014),P361,c(Q43229)|c(Q1785271))
action greater
action union
action find_tuple_counts
relation P361
type Q12973014
type Q43229
action find_tuple_counts
relation P361
type Q12973014
type Q1785271
action count
action filter_multi_types
action find
entity Q2449917
relation P361
type Q43229
type Q1785271
[ANSWERS] are a component of more number of organizations and cycling teams than Tranås AIF Hockey
[{'concept': 'Q12973014'}, 'P361', [{'concept': 'Q43229'}, {'concept': 'Q1785271'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q2449917 property:P361 ?x . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:Q43229 ) ( ontology:Q1785271 ) } } } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?s WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:Q43229 ) ( ontology:Q1785271 ) } } GROUP BY ?s } }
SønderjyskE Håndbold SønderjyskE Ishockey 2008 AA-Drink Cycling Team season 2011 AA Drink-leontien.nl season 2012 AA Drink-leontien.nl season Ford Chip Ganassi Team UK JRM Racing
SønderjyskE Håndbold, SønderjyskE Ishockey and Ford Chip Ganassi Team UK are a component of more number of organizations and cycling teams than Tranås AIF Hockey
SønderjyskE Håndbold SønderjyskE Ishockey Ford Chip Ganassi Team UK
action greater
action union
action find_tuple_counts
relation part of
type sports team
type organization
action find_tuple_counts
relation part of
type sports team
type cycling team
action count
action filter_multi_types
action find
entity Tranås AIF Hockey
relation part of
type organization
type cycling team
[{'concept': 'sports team'}, 'part of', [{'concept': 'organization'}, {'concept': 'cycling team'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Tranås_AIF_Hockey property:part_of ?x . { ?x rdf:type ?g . VALUES ( ?g ) { ( ontology:organization ) ( ontology:cycling_team ) } } } } . FILTER ( ?n > ?u ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?s WHERE { ?f rdf:type ?r . VALUES ( ?r ) { ( ontology:organization ) ( ontology:cycling_team ) } } GROUP BY ?s } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1435809
P180
Q811979 Q11060274 Q17335294
USER
How many architectural structures are demonstrated in approximately the same number of prints and coats of arms as Fontana dell'Acqua Paola ?
(c(Q11060274)|c(Q17335294),P180,c(Q811979))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q811979
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1435809
relation P180
type Q11060274
type Q17335294
[[{'concept': 'Q11060274'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?m WHERE { VALUES ( ?g ) { ( ontology:Q17335294 ) ( ontology:Q11060274 ) } . ?u rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P180 resource:Q1435809 . { VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q17335294 ) } . ?e rdf:type ?f } } } . FILTER ( ?k = ?a ) }
Fontana dell'Acqua Paola
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type print
action find_reverse_tuple_counts
relation depicts
type architectural structure
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Fontana dell'Acqua Paola
relation depicts
type print
type flag or coat of arms
[[{'concept': 'print'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?m WHERE { VALUES ( ?g ) { ( ontology:flag_or_coat_of_arms ) ( ontology:print ) } . ?u rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:depicts resource:Fontana_dell'Acqua_Paola . { VALUES ( ?f ) { ( ontology:print ) ( ontology:flag_or_coat_of_arms ) } . ?e rdf:type ?f } } } . FILTER ( ?k = ?a ) }
[]
architectural structure print flag or coat of arms
SYSTEM
166
Q2704224 Q1435791 Q26837630 Q26452821 Q24354 Q2465852 Q693369 Q7814332 Q610402 Q217527 Q15126831 Q17738939 Q7493941 Q390418 Q695935 Q19689883 Q19689881 Q180174 Q1759299 Q276173 Q838858 Q11755959 Q101687 Q731966 Q728428 Q185600 Q483110 Q16659508 Q3407649 Q3390625 Q478642 Q3088872 Q3747445 Q17738905 Q1422975 Q1273362 Q983774 Q21518666 Q331744 Q108325 Q274153 Q2859857 Q3289863 Q24629735 Q1003461 Q1810430 Q18142 Q32815 Q17339205 Q827420 Q17744052 Q35054 Q3390637 Q26257545 Q3397411 Q190764 Q25927606 Q697295 Q2984289 Q202949 Q1435809 Q200334 Q12516 Q26219623 Q72700 Q1429748 Q211295 Q513550 Q16560 Q1277215 Q655470 Q17743271 Q3080489 Q26837473 Q1210334 Q4857090 Q2720522 Q638259 Q959309 Q1714672 Q3402798 Q1633670 Q616334 Q22733 Q463400 Q428759 Q1407236 Q2919893 Q966862 Q1431547 Q206285 Q334186 Q12570 Q14629283 Q21323537 Q824997 Q11620474 Q15974921 Q2309609 Q15987236 Q2723969 Q18523027 Q10285 Q7321974 Q955484 Q643520 Q7814330 Q785952 Q3375895 Q48356 Q24655190 Q958961 Q3457157 Q7995986 Q3076281 Q81917 Q3390544 Q1048525 Q17739033 Q602107 Q158438 Q13130816 Q2935533 Q44539 Q83425 Q10510932 Q189503 Q2339845 Q91285 Q18575822 Q1259067 Q12323 Q26300222 Q537127 Q26207362 Q1810764 Q2073308 Q170103 Q19850578 Q21116907 Q15059337 Q17743126 Q947295 Q202902 Q5191724 Q1270723 Q2199094 Q839050 Q17744238 Q7085384 Q21500125 Q2307722 Q17741874 Q3397526 Q3289837 Q2756450 Q17641707 Q24660474 Q180212 Q1108945 Q1217302 Q1327827 Q179656 Q181348 Q653401 Q2612482
(c(Q11060274)|c(Q17335294),P180,c(Q811979))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q811979
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q1435809
relation P180
type Q11060274
type Q17335294
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?m WHERE { VALUES ( ?g ) { ( ontology:Q17335294 ) ( ontology:Q11060274 ) } . ?u rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:P180 resource:Q1435809 . { VALUES ( ?f ) { ( ontology:Q11060274 ) ( ontology:Q17335294 ) } . ?e rdf:type ?f } } } . FILTER ( ?k = ?a ) }
Arch of Nero fontaine des Innocents Old Bridge Coffee House of the Quirinale, Rome theater glory kiosk Toll house Schreierstoren Piazza San Marco fluting Usk Bridge shelter Pont Alexandre III Royal Exhibition Building column of San Teodoro column of San Marco folly orrery pavilion cistern multi-storey urban building altar nymphaeum Second Temple portico stadium copper mine Propylaea place du Havre Trajan's Market Palais de l'Industrie Fontana del Pantheon New Inn Bridge place du Châtelet Scuola Grande di San Marco Fontana dell'Acqua Felice Walton Bridge mast chapel water tower Arch of Octavius Nytorv Rhayader Bridge bucranium place Dauphine tower block mosque Rapenburg 8 tour magne nimes Holt Bridge post office place du Louvre OId College fixed bridge Triglyph Castle Bridge shrine Perrault's Colonnade transept Fontana dell'Acqua Paola bell tower pyramid Gogarth Abbey Les Feuillants Convent Munttoren Trajan's Forum hermitage palace rosette Four Rivers Fountain Llandrinio Bridge Ryōgoku Bridge place Charles-de-Gaulle railway bridge banqueting house parvis Notre-Dame - place Jean-Paul-II piazza di Santa Maria in Trastevere coal mine Lacus Juturnae Wye Bridge, Monmouth Theatre Square Vyšehrad garage Piazza Navona wooden bridge weigh house place Blanche Holyrood Abbey Saint-Jacques Tower metope Abbey of Saint-Germain-des-Prés suspension bridge place d'Estienne-d'Orves pont du Carrousel piazza del Popolo Mannen Bridge jet d'eau wayside cross Bedlam Furnaces place du Carrousel silk mill of Derby Colosseum cairn noon mark place Vendôme toll bridge public bath Bertel Thorvaldsens Plads minaret Honddu Bridge Théâtre antique d'Orange Piazza della Rotonda Whitehall Court fontaine du Palmier fortified tower place des Pyramides golf course Llandinam Bridge place Pigalle arch bridge Trefechan Bridge campo temple Saint Peter's Square Piazzetta San Marco place de la Concorde place de l'Europe Martello tower pont de l'Europe Fondaco dei Tedeschi dam Pont Felinrhyd-fawr road bridge Runston Chapel place de Clichy Pont de l'Archevêché Gendarmenmarkt Chappe semaphore tower pont de Trinquetaille Samaritaine water pump Crickhowell Bridge Grote Markt The Crystal Palace steeple Scuola Grande di San Rocco Koopmansbeurs Dam Square Pont-y-Pair Old Walton Bridge pont Notre-Dame Pont d'Austerlitz Cenarth Bridge stone bridge Gammeltorv place de l'Opéra Olney Bridge Llanddew Palace Roman Forum Burg Quattro Fontane Pont au Change Arena of Nîmes viaduct Trestle Élysée Montmartre
166
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type print
action find_reverse_tuple_counts
relation depicts
type architectural structure
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity Fontana dell'Acqua Paola
relation depicts
type print
type flag or coat of arms
[[{'concept': 'print'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) ?m WHERE { VALUES ( ?g ) { ( ontology:flag_or_coat_of_arms ) ( ontology:print ) } . ?u rdf:type ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { ?e property:depicts resource:Fontana_dell'Acqua_Paola . { VALUES ( ?f ) { ( ontology:print ) ( ontology:flag_or_coat_of_arms ) } . ?e rdf:type ?f } } } . FILTER ( ?k = ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q81917
P180
Q811979 Q11060274 Q17335294
USER
And also tell me about fortified tower?
(c(Q11060274)|c(Q17335294),P180,c(Q811979))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q811979
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q81917
relation P180
type Q11060274
type Q17335294
[[{'concept': 'Q11060274'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?g WHERE { { ?v property:P180 ?g . ?v rdf:type ontology:Q17335294 . ?g rdf:type ontology:Q811979 } UNION { ?v rdf:type ontology:Q11060274 . ?g rdf:type ontology:Q811979 . ?v property:P180 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P180 resource:Q81917 . { { ?i rdf:type ontology:Q11060274 } UNION { ?i rdf:type ontology:Q17335294 } } } } . FILTER ( ?p = ?q ) }
fortified tower
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type print
action find_reverse_tuple_counts
relation depicts
type architectural structure
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity fortified tower
relation depicts
type print
type flag or coat of arms
[[{'concept': 'print'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?g WHERE { { ?v property:depicts ?g . ?v rdf:type ontology:flag_or_coat_of_arms . ?g rdf:type ontology:architectural_structure } UNION { ?v rdf:type ontology:print . ?g rdf:type ontology:architectural_structure . ?v property:depicts ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:depicts resource:fortified_tower . { { ?i rdf:type ontology:print } UNION { ?i rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?p = ?q ) }
[]
architectural structure print flag or coat of arms
SYSTEM
166
Q2704224 Q1435791 Q26837630 Q26452821 Q24354 Q2465852 Q693369 Q7814332 Q610402 Q217527 Q15126831 Q17738939 Q7493941 Q390418 Q695935 Q19689883 Q19689881 Q180174 Q1759299 Q276173 Q838858 Q11755959 Q101687 Q731966 Q728428 Q185600 Q483110 Q16659508 Q3407649 Q3390625 Q478642 Q3088872 Q3747445 Q17738905 Q1422975 Q1273362 Q983774 Q21518666 Q331744 Q108325 Q274153 Q2859857 Q3289863 Q24629735 Q1003461 Q1810430 Q18142 Q32815 Q17339205 Q827420 Q17744052 Q35054 Q3390637 Q26257545 Q3397411 Q190764 Q25927606 Q697295 Q2984289 Q202949 Q1435809 Q200334 Q12516 Q26219623 Q72700 Q1429748 Q211295 Q513550 Q16560 Q1277215 Q655470 Q17743271 Q3080489 Q26837473 Q1210334 Q4857090 Q2720522 Q638259 Q959309 Q1714672 Q3402798 Q1633670 Q616334 Q22733 Q463400 Q428759 Q1407236 Q2919893 Q966862 Q1431547 Q206285 Q334186 Q12570 Q14629283 Q21323537 Q824997 Q11620474 Q15974921 Q2309609 Q15987236 Q2723969 Q18523027 Q10285 Q7321974 Q955484 Q643520 Q7814330 Q785952 Q3375895 Q48356 Q24655190 Q958961 Q3457157 Q7995986 Q3076281 Q81917 Q3390544 Q1048525 Q17739033 Q602107 Q158438 Q13130816 Q2935533 Q44539 Q83425 Q10510932 Q189503 Q2339845 Q91285 Q18575822 Q1259067 Q12323 Q26300222 Q537127 Q26207362 Q1810764 Q2073308 Q170103 Q19850578 Q21116907 Q15059337 Q17743126 Q947295 Q202902 Q5191724 Q1270723 Q2199094 Q839050 Q17744238 Q7085384 Q21500125 Q2307722 Q17741874 Q3397526 Q3289837 Q2756450 Q17641707 Q24660474 Q180212 Q1108945 Q1217302 Q1327827 Q179656 Q181348 Q653401 Q2612482
(c(Q11060274)|c(Q17335294),P180,c(Q811979))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q811979
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q811979
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q81917
relation P180
type Q11060274
type Q17335294
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?g WHERE { { ?v property:P180 ?g . ?v rdf:type ontology:Q17335294 . ?g rdf:type ontology:Q811979 } UNION { ?v rdf:type ontology:Q11060274 . ?g rdf:type ontology:Q811979 . ?v property:P180 ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:P180 resource:Q81917 . { { ?i rdf:type ontology:Q11060274 } UNION { ?i rdf:type ontology:Q17335294 } } } } . FILTER ( ?p = ?q ) }
Arch of Nero fontaine des Innocents Old Bridge Coffee House of the Quirinale, Rome theater glory kiosk Toll house Schreierstoren Piazza San Marco fluting Usk Bridge shelter Pont Alexandre III Royal Exhibition Building column of San Teodoro column of San Marco folly orrery pavilion cistern multi-storey urban building altar nymphaeum Second Temple portico stadium copper mine Propylaea place du Havre Trajan's Market Palais de l'Industrie Fontana del Pantheon New Inn Bridge place du Châtelet Scuola Grande di San Marco Fontana dell'Acqua Felice Walton Bridge mast chapel water tower Arch of Octavius Nytorv Rhayader Bridge bucranium place Dauphine tower block mosque Rapenburg 8 tour magne nimes Holt Bridge post office place du Louvre OId College fixed bridge Triglyph Castle Bridge shrine Perrault's Colonnade transept Fontana dell'Acqua Paola bell tower pyramid Gogarth Abbey Les Feuillants Convent Munttoren Trajan's Forum hermitage palace rosette Four Rivers Fountain Llandrinio Bridge Ryōgoku Bridge place Charles-de-Gaulle railway bridge banqueting house parvis Notre-Dame - place Jean-Paul-II piazza di Santa Maria in Trastevere coal mine Lacus Juturnae Wye Bridge, Monmouth Theatre Square Vyšehrad garage Piazza Navona wooden bridge weigh house place Blanche Holyrood Abbey Saint-Jacques Tower metope Abbey of Saint-Germain-des-Prés suspension bridge place d'Estienne-d'Orves pont du Carrousel piazza del Popolo Mannen Bridge jet d'eau wayside cross Bedlam Furnaces place du Carrousel silk mill of Derby Colosseum cairn noon mark place Vendôme toll bridge public bath Bertel Thorvaldsens Plads minaret Honddu Bridge Théâtre antique d'Orange Piazza della Rotonda Whitehall Court fontaine du Palmier fortified tower place des Pyramides golf course Llandinam Bridge place Pigalle arch bridge Trefechan Bridge campo temple Saint Peter's Square Piazzetta San Marco place de la Concorde place de l'Europe Martello tower pont de l'Europe Fondaco dei Tedeschi dam Pont Felinrhyd-fawr road bridge Runston Chapel place de Clichy Pont de l'Archevêché Gendarmenmarkt Chappe semaphore tower pont de Trinquetaille Samaritaine water pump Crickhowell Bridge Grote Markt The Crystal Palace steeple Scuola Grande di San Rocco Koopmansbeurs Dam Square Pont-y-Pair Old Walton Bridge pont Notre-Dame Pont d'Austerlitz Cenarth Bridge stone bridge Gammeltorv place de l'Opéra Olney Bridge Llanddew Palace Roman Forum Burg Quattro Fontane Pont au Change Arena of Nîmes viaduct Trestle Élysée Montmartre
166
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type architectural structure
type print
action find_reverse_tuple_counts
relation depicts
type architectural structure
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity fortified tower
relation depicts
type print
type flag or coat of arms
[[{'concept': 'print'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) ?g WHERE { { ?v property:depicts ?g . ?v rdf:type ontology:flag_or_coat_of_arms . ?g rdf:type ontology:architectural_structure } UNION { ?v rdf:type ontology:print . ?g rdf:type ontology:architectural_structure . ?v property:depicts ?g } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) WHERE { ?i property:depicts resource:fortified_tower . { { ?i rdf:type ontology:print } UNION { ?i rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?p = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3076011
P669
Q34442 Q811979 Q811979
USER
Which architectural structures are located on more number of roads or architectural structures than fontaine Colbert ?
(c(Q811979),P669,c(Q34442)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P669
type Q811979
type Q34442
action find_tuple_counts
relation P669
type Q811979
type Q811979
action count
action filter_multi_types
action find
entity Q3076011
relation P669
type Q34442
type Q811979
[{'concept': 'Q811979'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { { ?d property:P669 ?s . ?d rdf:type ontology:Q811979 . ?s rdf:type ontology:Q34442 } UNION { ?d rdf:type ontology:Q811979 . ?s rdf:type ontology:Q811979 . ?d property:P669 ?s } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q3076011 property:P669 ?m . { { ?m rdf:type ontology:Q34442 } UNION { ?m rdf:type ontology:Q811979 } } } } . FILTER ( ?i > ?v ) }
fontaine Colbert
action greater
action union
action find_tuple_counts
relation located on street
type architectural structure
type road
action find_tuple_counts
relation located on street
type architectural structure
type architectural structure
action count
action filter_multi_types
action find
entity fontaine Colbert
relation located on street
type road
type architectural structure
[{'concept': 'architectural structure'}, 'located on street', [{'concept': 'road'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { { ?d property:located_on_street ?s . ?d rdf:type ontology:architectural_structure . ?s rdf:type ontology:road } UNION { ?d rdf:type ontology:architectural_structure . ?s rdf:type ontology:architectural_structure . ?d property:located_on_street ?s } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:fontaine_Colbert property:located_on_street ?m . { { ?m rdf:type ontology:road } UNION { ?m rdf:type ontology:architectural_structure } } } } . FILTER ( ?i > ?v ) }
[]
road architectural structure architectural structure
Q3076267 Q543855 Q1435791
SYSTEM
fontaine du Château d'eau, Berlin-Schöneberg station, fontaine des Innocents
Q3076001 Q5818429 Q1435791 Q3076267 Q543855 Q263189 Q3076047 Q3076130 Q7099937 Q26703953 Q2059518 Q15948824 Q23010234 Q765471 Q3076193 Q3076291 Q17307050 Q1622771 Q3076204 Q22667219 Q1130137 Q24021129 Q2420041 Q24022449 Q26839075 Q15712158 Q25175613 Q22371609 Q22379612 Q3567521 Q579833 Q2385048 Q23042822 Q3076089 Q3076159 Q3076018 Q3076278 Q5166190 Q15632499 Q2334312 Q12323416 Q12043595 Q1366035 Q12336349 Q1659270
(c(Q811979),P669,c(Q34442)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P669
type Q811979
type Q34442
action find_tuple_counts
relation P669
type Q811979
type Q811979
action count
action filter_multi_types
action find
entity Q3076011
relation P669
type Q34442
type Q811979
[ANSWERS] are located on more number of roads or architectural structures than fontaine Colbert
[{'concept': 'Q811979'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { { ?d property:P669 ?s . ?d rdf:type ontology:Q811979 . ?s rdf:type ontology:Q34442 } UNION { ?d rdf:type ontology:Q811979 . ?s rdf:type ontology:Q811979 . ?d property:P669 ?s } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q3076011 property:P669 ?m . { { ?m rdf:type ontology:Q34442 } UNION { ?m rdf:type ontology:Q811979 } } } } . FILTER ( ?i > ?v ) }
fontaine Boucherat Edificio del Ministerio de Comercio fontaine des Innocents fontaine du Château d'eau Berlin-Schöneberg station Berlin-Hermsdorf station fontaine Molière fontaine de Charonne Oratory of Caballero de Gracia Edificio Lima Hôtel de la Marine fontaine de la Reine 53 rue de la Faisanderie fontaine des Haudriettes fontaine de la Croix du Trahoir fontaine du Vert bois Rijksmuseum main building Hoechst building fontaine de la Petite-Halle Building of Academy of Sciences of the Czech Republic Rudolfinum Public Fountain fontaine Maubuée Public Fountain US Embassy in Madrid Hauptstraße 31 Timmerhuis Břehová 7 Building of Faculty of Law, Charles University Hotel Palace fontaine Gaillon mire du Nord Building of National Theatre in Prague fontaine Sainte-Geneviève fontaine de Paradis fontaine Cuvier fontaine du Pot-de-Fer Convent of San Plácido Vogelbrunnen Municipal House Copenhagen Waterworks Palác Myslbek Hardenberg House Soldins Stiftelse passage du Bourg-l'Abbé
Fontaine du Château d'eau, Berlin-Schöneberg station and fontaine des Innocents are located on more number of roads or architectural structures than fontaine Colbert
fontaine du Château d'eau Berlin-Schöneberg station fontaine des Innocents
action greater
action union
action find_tuple_counts
relation located on street
type architectural structure
type road
action find_tuple_counts
relation located on street
type architectural structure
type architectural structure
action count
action filter_multi_types
action find
entity fontaine Colbert
relation located on street
type road
type architectural structure
[{'concept': 'architectural structure'}, 'located on street', [{'concept': 'road'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { { ?d property:located_on_street ?s . ?d rdf:type ontology:architectural_structure . ?s rdf:type ontology:road } UNION { ?d rdf:type ontology:architectural_structure . ?s rdf:type ontology:architectural_structure . ?d property:located_on_street ?s } } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:fontaine_Colbert property:located_on_street ?m . { { ?m rdf:type ontology:road } UNION { ?m rdf:type ontology:architectural_structure } } } } . FILTER ( ?i > ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q3076278
P669
Q34442 Q811979 Q811979
USER
And how about fontaine du Pot-de-Fer?
(c(Q811979),P669,c(Q34442)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P669
type Q811979
type Q34442
action find_tuple_counts
relation P669
type Q811979
type Q811979
action count
action filter_multi_types
action find
entity Q3076278
relation P669
type Q34442
type Q811979
[{'concept': 'Q811979'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { { ?x rdf:type ontology:Q34442 } UNION { ?x rdf:type ontology:Q811979 } } . resource:Q3076278 property:P669 ?x } } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?p WHERE { { ?p property:P669 ?m . ?p rdf:type ontology:Q811979 . ?m rdf:type ontology:Q34442 } UNION { ?p property:P669 ?m . ?p rdf:type ontology:Q811979 . ?m rdf:type ontology:Q811979 } } GROUP BY ?p } }
fontaine du Pot-de-Fer
action greater
action union
action find_tuple_counts
relation located on street
type architectural structure
type road
action find_tuple_counts
relation located on street
type architectural structure
type architectural structure
action count
action filter_multi_types
action find
entity fontaine du Pot-de-Fer
relation located on street
type road
type architectural structure
[{'concept': 'architectural structure'}, 'located on street', [{'concept': 'road'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { { ?x rdf:type ontology:road } UNION { ?x rdf:type ontology:architectural_structure } } . resource:fontaine_du_Pot-de-Fer property:located_on_street ?x } } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?p WHERE { { ?p property:located_on_street ?m . ?p rdf:type ontology:architectural_structure . ?m rdf:type ontology:road } UNION { ?p property:located_on_street ?m . ?p rdf:type ontology:architectural_structure . ?m rdf:type ontology:architectural_structure } } GROUP BY ?p } }
[]
road architectural structure architectural structure
Q3076267 Q543855 Q765471
SYSTEM
fontaine du Château d'eau, Berlin-Schöneberg station, fontaine des Haudriettes
Q3076001 Q5818429 Q3076267 Q543855 Q765471 Q25175613 Q22371609 Q22379612 Q23042822 Q1366035
(c(Q811979),P669,c(Q34442)|c(Q811979))
action greater
action union
action find_tuple_counts
relation P669
type Q811979
type Q34442
action find_tuple_counts
relation P669
type Q811979
type Q811979
action count
action filter_multi_types
action find
entity Q3076278
relation P669
type Q34442
type Q811979
[ANSWERS]
[{'concept': 'Q811979'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { { ?x rdf:type ontology:Q34442 } UNION { ?x rdf:type ontology:Q811979 } } . resource:Q3076278 property:P669 ?x } } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?p WHERE { { ?p property:P669 ?m . ?p rdf:type ontology:Q811979 . ?m rdf:type ontology:Q34442 } UNION { ?p property:P669 ?m . ?p rdf:type ontology:Q811979 . ?m rdf:type ontology:Q811979 } } GROUP BY ?p } }
fontaine Boucherat Edificio del Ministerio de Comercio fontaine du Château d'eau Berlin-Schöneberg station fontaine des Haudriettes Timmerhuis Břehová 7 Building of Faculty of Law, Charles University Building of National Theatre in Prague Hardenberg House
fontaine du Château d'eau Berlin-Schöneberg station fontaine des Haudriettes
action greater
action union
action find_tuple_counts
relation located on street
type architectural structure
type road
action find_tuple_counts
relation located on street
type architectural structure
type architectural structure
action count
action filter_multi_types
action find
entity fontaine du Pot-de-Fer
relation located on street
type road
type architectural structure
[{'concept': 'architectural structure'}, 'located on street', [{'concept': 'road'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { { { ?x rdf:type ontology:road } UNION { ?x rdf:type ontology:architectural_structure } } . resource:fontaine_du_Pot-de-Fer property:located_on_street ?x } } . FILTER ( ?w > ?j ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) ?p WHERE { { ?p property:located_on_street ?m . ?p rdf:type ontology:architectural_structure . ?m rdf:type ontology:road } UNION { ?p property:located_on_street ?m . ?p rdf:type ontology:architectural_structure . ?m rdf:type ontology:architectural_structure } } GROUP BY ?p } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that architectural structure a part of ?
(Q543855,P17,c(Q1048835))
['Q543855', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q543855 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
['Berlin-Schöneberg station', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlin-Schöneberg_station property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q543855
SYSTEM
Did you mean Berlin-Schöneberg station ?
(Q3076267,P17,c(Q1048835)) (Q543855,P17,c(Q1048835)) (Q765471,P17,c(Q1048835))
[ANSWER]
['Q3076267', 'P17', {'concept': 'Q1048835'}] ['Q543855', 'P17', {'concept': 'Q1048835'}] ['Q765471', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q543855 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Berlin-Schöneberg station ?
Berlin-Schöneberg station
["fontaine du Château d'eau", 'country', {'concept': 'political territorial entity'}] ['Berlin-Schöneberg station', 'country', {'concept': 'political territorial entity'}] ['fontaine des Haudriettes', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlin-Schöneberg_station property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q543855,P17,c(Q1048835))
['Q543855', 'P17', {'concept': 'Q1048835'}]
['Berlin-Schöneberg station', 'country', {'concept': 'political territorial entity'}]
[]
SYSTEM
1
Q183
(Q543855,P17,c(Q1048835))
[ANSWER]
['Q543855', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q543855 property:Q6256 ?z . ?z rdf:type ontology:Q1048835 }
Germany
1
['Berlin-Schöneberg station', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Berlin-Schöneberg_station property:country ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3076267
P186
Q5447188
USER
Which solution is used to manufacture fontaine du Château d'eau ?
(Q3076267,P186,c(Q5447188))
action filter_type
action find
entity Q3076267
relation P186
type Q5447188
['Q3076267', 'P186', {'concept': 'Q5447188'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q5447188 . resource:Q3076267 property:P186 ?s }
fontaine du Château d'eau
action filter_type
action find
entity fontaine du Château d'eau
relation material used
type solution
["fontaine du Château d'eau", 'material used', {'concept': 'solution'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:solution . resource:fontaine_du_Château_d'eau property:material_used ?s }
[]
solution
Q34095
SYSTEM
bronze
Q34095
(Q3076267,P186,c(Q5447188))
action filter_type
action find
entity Q3076267
relation P186
type Q5447188
In [ANSWER] is used to manufacture fontaine du Château d'eau
['Q3076267', 'P186', {'concept': 'Q5447188'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q5447188 . resource:Q3076267 property:P186 ?s }
bronze
In bronze is used to manufacture fontaine du Château d'eau
bronze
action filter_type
action find
entity fontaine du Château d'eau
relation material used
type solution
["fontaine du Château d'eau", 'material used', {'concept': 'solution'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:solution . resource:fontaine_du_Château_d'eau property:material_used ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34095
P425
Q12737077
USER
Which occupation does that solution belong to ?
(c(Q12737077),P425,Q34095)
action filter_type
action find_reverse
entity Q34095
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q34095']
SELECT DISTINCT ?j WHERE { ?j property:P425 resource:Q34095 . ?j rdf:type ontology:Q12737077 }
bronze
action filter_type
action find_reverse
entity bronze
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'bronze']
SELECT DISTINCT ?j WHERE { ?j property:field_of_this_occupation resource:bronze . ?j rdf:type ontology:occupation }
[]
occupation
Q2926103
SYSTEM
bronze caster
Q2926103
(c(Q12737077),P425,Q34095)
action filter_type
action find_reverse
entity Q34095
relation P425
type Q12737077
That solution belongs to [ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q34095']
SELECT DISTINCT ?j WHERE { ?j property:P425 resource:Q34095 . ?j rdf:type ontology:Q12737077 }
bronze caster
That solution belongs to bronze caster
bronze caster
action filter_type
action find_reverse
entity bronze
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'bronze']
SELECT DISTINCT ?j WHERE { ?j property:field_of_this_occupation resource:bronze . ?j rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17487600
Q12737077
USER
And also tell me about real estate developer?
(Q17487600,P425,c(Q12737077))
action filter_type
action find
entity Q17487600
relation P425
type Q12737077
['Q17487600', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q17487600 property:P425 ?b . ?b rdf:type ontology:Q12737077 }
real estate developer
action filter_type
action find
entity real estate developer
relation field of this occupation
type occupation
['real estate developer', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:real_estate_developer property:field_of_this_occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q695829
SYSTEM
property developer
Q695829
(Q17487600,P425,c(Q12737077))
action filter_type
action find
entity Q17487600
relation P425
type Q12737077
[ANSWER]
['Q17487600', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q17487600 property:P425 ?b . ?b rdf:type ontology:Q12737077 }
property developer
property developer
action filter_type
action find
entity real estate developer
relation field of this occupation
type occupation
['real estate developer', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:real_estate_developer property:field_of_this_occupation ?b . ?b rdf:type ontology:occupation }
[]