Simple Question (Direct)
Simple Question
Q3447128
P47
Q34442
USER
Which roads share border with rue Berger ?
(Q3447128,P47,c(Q34442))
action filter_type
action find
entity Q3447128
relation P47
type Q34442
['Q3447128', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?q WHERE { resource:Q3447128 property:P47 ?q . ?q rdf:type ontology:Q34442 }
rue Berger
action filter_type
action find
entity rue Berger
relation shares border with
type road
['rue Berger', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?q WHERE { resource:rue_Berger property:shares_border_with ?q . ?q rdf:type ontology:road }
[]
road
Q2174628 Q3452418 Q3449531
SYSTEM
rue Saint-Denis, rue du Louvre, rue Pierre-Lescot
Q3452418 Q3449531 Q3452520 Q2174628 Q3450270 Q3451985 Q3450033
(Q3447128,P47,c(Q34442))
action filter_type
action find
entity Q3447128
relation P47
type Q34442
[ANSWERS] share border with rue Berger
['Q3447128', 'P47', {'concept': 'Q34442'}]
SELECT DISTINCT ?q WHERE { resource:Q3447128 property:P47 ?q . ?q rdf:type ontology:Q34442 }
rue du Louvre rue Pierre-Lescot rue du Pont-Neuf rue Saint-Denis rue Vauvilliers rue des Prouvaires rue Sauval
Rue Saint-Denis, rue du Louvre and rue Pierre-Lescot share border with rue Berger
rue Saint-Denis rue du Louvre rue Pierre-Lescot
action filter_type
action find
entity rue Berger
relation shares border with
type road
['rue Berger', 'shares border with', {'concept': 'road'}]
SELECT DISTINCT ?q WHERE { resource:rue_Berger property:shares_border_with ?q . ?q rdf:type ontology:road }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q2174628 Q3452418 Q3449531
P47
Q34442
USER
Which roads are next to the border of those ones ?
(c(Q34442),P47,Q2174628) (c(Q34442),P47,Q3452418) (c(Q34442),P47,Q3449531)
action filter_type
action find
entity prev_answer
relation P47
type Q34442
[{'concept': 'Q34442'}, 'P47', 'Q2174628'] [{'concept': 'Q34442'}, 'P47', 'Q3452418'] [{'concept': 'Q34442'}, 'P47', 'Q3449531']
SELECT DISTINCT ?j WHERE { ?p property:P47 ?j . ?j rdf:type ontology:Q34442 . VALUES ( ?p ) { ( resource:Q3452418 ) ( resource:Q3449531 ) ( resource:Q3452520 ) } }
rue Saint-Denis rue du Louvre rue Pierre-Lescot
action filter_type
action find
entity prev_answer
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Saint-Denis'] [{'concept': 'road'}, 'shares border with', 'rue du Louvre'] [{'concept': 'road'}, 'shares border with', 'rue Pierre-Lescot']
SELECT DISTINCT ?j WHERE { ?p property:shares_border_with ?j . ?j rdf:type ontology:road . VALUES ( ?p ) { ( resource:rue_du_Louvre ) ( resource:rue_Pierre-Lescot ) ( resource:rue_du_Pont-Neuf ) } }
[]
road
Q141747 Q141747 Q1787799
SYSTEM
Rue Saint-Honoré for 3rd, rue de Rivoli for 1st, 2nd
Q3452727 Q3451867 Q3452138 Q3449813 Q3447543 Q2381132 Q3448484 Q3449969 Q3450008 Q3451398 Q3451991 Q3451419 Q3449673 Q141747 Q3450789 Q3447171 Q3447128 Q3450173 Q3450444 Q3450436 Q3451106 Q3451100 Q3451857 Q3448182 Q3451893 Q3448243 Q3452517 Q3452244 Q3449998 Q3451441 Q3452727 Q3447524 Q3447525 Q3446842 Q1787799 Q141747 Q3449238 Q3450484 Q3450677 Q3447128 Q3450436 Q3447049 Q3452427 Q3452207 Q3452727 Q3451398 Q3451991 Q3449673 Q3447128 Q3451529 Q3452244 Q3451441
(c(Q34442),P47,Q2174628) (c(Q34442),P47,Q3452418) (c(Q34442),P47,Q3449531)
action filter_type
action find
entity prev_answer
relation P47
type Q34442
[ANSWERS]
[{'concept': 'Q34442'}, 'P47', 'Q2174628'] [{'concept': 'Q34442'}, 'P47', 'Q3452418'] [{'concept': 'Q34442'}, 'P47', 'Q3449531']
SELECT DISTINCT ?j WHERE { ?p property:P47 ?j . ?j rdf:type ontology:Q34442 . VALUES ( ?p ) { ( resource:Q3452418 ) ( resource:Q3449531 ) ( resource:Q3452520 ) } }
rue Étienne-Marcel rue des Innocents rue du Caire rue Réaumur rue Courtalon passage Lemoine rue Jean-Lantier rue Saint-Sauveur rue Sainte-Foy rue de la Cossonnerie rue des Prêcheurs rue de la Ferronnerie rue Rambuteau rue de Rivoli rue de La Reynie rue Blondel rue Berger rue Tiquetonne rue d'Alexandrie rue d'Aboukir rue de Turbigo rue de Tracy rue des Halles rue Greneta rue des Lombards rue Guérin-Boisseau rue du Ponceau rue du Cygne rue Sainte-Apolline rue de la Grande-Truanderie rue Étienne-Marcel rue Coq-Héron rue Coquillière rue Adolphe-Jullien Rue Saint-Honoré rue de Rivoli rue Montmartre rue d'Argout rue de Cléry rue Berger rue d'Aboukir rue Bailleul rue du Mail rue du Colonel-Driant rue Étienne-Marcel rue de la Cossonnerie rue des Prêcheurs rue Rambuteau rue Berger rue de la Petite-Truanderie rue du Cygne rue de la Grande-Truanderie
Rue de Rivoli, rue de Rivoli and Rue Saint-Honoré are next to the border of those ones
rue de Rivoli rue de Rivoli Rue Saint-Honoré
action filter_type
action find
entity prev_answer
relation shares border with
type road
[{'concept': 'road'}, 'shares border with', 'rue Saint-Denis'] [{'concept': 'road'}, 'shares border with', 'rue du Louvre'] [{'concept': 'road'}, 'shares border with', 'rue Pierre-Lescot']
SELECT DISTINCT ?j WHERE { ?p property:shares_border_with ?j . ?j rdf:type ontology:road . VALUES ( ?p ) { ( resource:rue_du_Louvre ) ( resource:rue_Pierre-Lescot ) ( resource:rue_du_Pont-Neuf ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1787799
P669
Q811979
USER
Which architectural structures are located on that road ?
(c(Q811979),P669,Q1787799)
action filter_type
action find_reverse
entity Q1787799
relation P669
type Q811979
[{'concept': 'Q811979'}, 'P669', 'Q1787799']
SELECT DISTINCT ?q WHERE { ?q property:P669 resource:Q1787799 . ?q rdf:type ontology:Q811979 }
Rue Saint-Honoré
action filter_type
action find_reverse
entity Rue Saint-Honoré
relation located on street
type architectural structure
[{'concept': 'architectural structure'}, 'located on street', 'Rue Saint-Honoré']
SELECT DISTINCT ?q WHERE { ?q property:located_on_street resource:Rue_Saint-Honoré . ?q rdf:type ontology:architectural_structure }
[]
architectural structure
Clarification for simple ques.
Q141747
SYSTEM
Did you mean rue de Rivoli ?
Q141747 Q141747 Q1787799
(c(Q811979),P669,Q141747) (c(Q811979),P669,Q141747) (c(Q811979),P669,Q1787799)
[ANSWER]
[{'concept': 'Q811979'}, 'P669', 'Q141747'] [{'concept': 'Q811979'}, 'P669', 'Q141747'] [{'concept': 'Q811979'}, 'P669', 'Q1787799']
SELECT DISTINCT ?q WHERE { ?q property:P669 resource:Q1787799 . ?q rdf:type ontology:Q811979 }
rue de Rivoli rue de Rivoli Rue Saint-Honoré
Did you mean rue de Rivoli ?
rue de Rivoli
[{'concept': 'architectural structure'}, 'located on street', 'rue de Rivoli'] [{'concept': 'architectural structure'}, 'located on street', 'rue de Rivoli'] [{'concept': 'architectural structure'}, 'located on street', 'Rue Saint-Honoré']
SELECT DISTINCT ?q WHERE { ?q property:located_on_street resource:Rue_Saint-Honoré . ?q rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
USER
No, I meant Rue Saint-Honoré. Could you tell me the answer for that?
(c(Q811979),P669,Q1787799)
Q1787799
[{'concept': 'Q811979'}, 'P669', 'Q1787799']
[{'concept': 'architectural structure'}, 'located on street', 'Rue Saint-Honoré']
[]
Q3076193 Q72700 Q3053741
SYSTEM
fontaine de la Croix du Trahoir, Les Feuillants Convent, Wall of Philip II Augustus, Paris
Q3076193 Q72700 Q3053741
(c(Q811979),P669,Q1787799)
action filter_type
action find_reverse
entity Q1787799
relation P669
type Q811979
[ANSWERS]
[{'concept': 'Q811979'}, 'P669', 'Q1787799']
SELECT DISTINCT ?q WHERE { ?q property:P669 resource:Q1787799 . ?q rdf:type ontology:Q811979 }
fontaine de la Croix du Trahoir Les Feuillants Convent Wall of Philip II Augustus, Paris
Fontaine de la Croix du Trahoir, Les Feuillants Convent and Wall of Philip II Augustus, Paris are located on that road
fontaine de la Croix du Trahoir Les Feuillants Convent Wall of Philip II Augustus, Paris
action filter_type
action find_reverse
entity Rue Saint-Honoré
relation located on street
type architectural structure
[{'concept': 'architectural structure'}, 'located on street', 'Rue Saint-Honoré']
SELECT DISTINCT ?q WHERE { ?q property:located_on_street resource:Rue_Saint-Honoré . ?q rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2882195 Q141747
P20 P17
Q15617994
USER
Which administrative territories are rue de Rivoli present in or did Giorgio Santi expire ?
OR((Q141747,P17,c(Q15617994)), (Q2882195,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q141747
relation P17
action find
entity Q2882195
relation P20
type Q15617994
{'OR': [['Q141747', 'P17', {'concept': 'Q15617994'}], ['Q2882195', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2882195 property:P20 ?b } UNION { resource:Q141747 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
Giorgio Santi rue de Rivoli
action filter_type
action union
action find
entity rue de Rivoli
relation country
action find
entity Giorgio Santi
relation place of death
type designation for an administrative territorial entity
{'OR': [['rue de Rivoli', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Giorgio Santi', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Giorgio_Santi property:place_of_death ?b } UNION { resource:rue_de_Rivoli property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q91341
SYSTEM
France, Pienza
Q142 Q91341
OR((Q141747,P17,c(Q15617994)), (Q2882195,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q141747
relation P17
action find
entity Q2882195
relation P20
type Q15617994
[ANSWERS] in rue de Rivoli are expire
{'OR': [['Q141747', 'P17', {'concept': 'Q15617994'}], ['Q2882195', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q2882195 property:P20 ?b } UNION { resource:Q141747 property:P17 ?b } } . ?b rdf:type ontology:Q15617994 }
France Pienza
France and Pienza in rue de Rivoli are expire
France Pienza
action filter_type
action union
action find
entity rue de Rivoli
relation country
action find
entity Giorgio Santi
relation place of death
type designation for an administrative territorial entity
{'OR': [['rue de Rivoli', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Giorgio Santi', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Giorgio_Santi property:place_of_death ?b } UNION { resource:rue_de_Rivoli property:country ?b } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q142 Q91341
P47
Q15617994
USER
Which administrative territories are bordered by those ones ?
(c(Q15617994),P47,Q142) (c(Q15617994),P47,Q91341)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q91341']
SELECT DISTINCT ?t WHERE { ?n property:P47 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q91341 ) } }
France Pienza
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Pienza']
SELECT DISTINCT ?t WHERE { ?n property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:France ) ( resource:Pienza ) } }
[]
designation for an administrative territorial entity
Q38 Q155 Q145
SYSTEM
Italy, Brazil, United Kingdom
Q730 Q228 Q32 Q29999 Q145 Q155 Q31 Q39 Q38 Q29 Q717 Q91168 Q91373 Q91430 Q91476 Q91447 Q91484 Q91422 Q91217 Q91152
(c(Q15617994),P47,Q142) (c(Q15617994),P47,Q91341)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are bordered by those ones
[{'concept': 'Q15617994'}, 'P47', 'Q142'] [{'concept': 'Q15617994'}, 'P47', 'Q91341']
SELECT DISTINCT ?t WHERE { ?n property:P47 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?n ) { ( resource:Q142 ) ( resource:Q91341 ) } }
Suriname Andorra Luxembourg Kingdom of the Netherlands United Kingdom Brazil Belgium Switzerland Italy Spain Venezuela Chianciano Terme Radicofani San Quirico d'Orcia Torrita di Siena Sarteano Trequanda San Giovanni d'Asso Montepulciano Castiglione d'Orcia
Italy, Brazil and United Kingdom are bordered by those ones
Italy Brazil United Kingdom
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'France'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Pienza']
SELECT DISTINCT ?t WHERE { ?n property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?n ) { ( resource:France ) ( resource:Pienza ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P1376
Q56061
USER
Which administrative territory is the capital of France ?
(c(Q56061),P1376,Q142)
action filter_type
action find_reverse
entity Q142
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q142']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . ?i property:P1376 resource:Q142 }
France
action filter_type
action find_reverse
entity France
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'France']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . ?i property:capital_of resource:France }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(c(Q56061),P1376,Q142)
action filter_type
action find_reverse
entity Q142
relation P1376
type Q56061
[ANSWER] is the capital of France
[{'concept': 'Q56061'}, 'P1376', 'Q142']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . ?i property:P1376 resource:Q142 }
Paris
Paris is the capital of France
Paris
action filter_type
action find_reverse
entity France
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'France']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . ?i property:capital_of resource:France }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P1532
Q502895
USER
Who play for Brazil ?
(c(Q502895),P1532,Q155)
action filter_type
action find_reverse
entity Q155
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q155']
SELECT DISTINCT ?f WHERE { ?f property:P1532 resource:Q155 . ?f rdf:type ontology:Q502895 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Brazil']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport resource:Brazil . ?f rdf:type ontology:common_name }
[]
common name
Q10279110 Q20028186 Q23010184
SYSTEM
Fabiana Cristine da Silva, Thiago André, Maria Rodrigues
Q26460455 Q27023191 Q11729824 Q23010184 Q20028186 Q10279110 Q1503228 Q16041141
(c(Q502895),P1532,Q155)
action filter_type
action find_reverse
entity Q155
relation P1532
type Q502895
[ANSWERS] play for Brazil
[{'concept': 'Q502895'}, 'P1532', 'Q155']
SELECT DISTINCT ?f WHERE { ?f property:P1532 resource:Q155 . ?f rdf:type ontology:Q502895 }
Alexander Russo Gianetti Bonfim Jéssica Carolina dos Reis Maria Rodrigues Thiago André Fabiana Cristine da Silva João da Silva Douglas de Souza
Fabiana Cristine da Silva, Thiago André and Maria Rodrigues play for Brazil
Fabiana Cristine da Silva Thiago André Maria Rodrigues
action filter_type
action find_reverse
entity Brazil
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Brazil']
SELECT DISTINCT ?f WHERE { ?f property:country_for_sport resource:Brazil . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P706
Q103817
USER
Which indigenous peoples has its location as Brazil ?
(c(Q103817),P706,Q155)
action filter_type
action find_reverse
entity Q155
relation P706
type Q103817
[{'concept': 'Q103817'}, 'P706', 'Q155']
SELECT DISTINCT ?d WHERE { ?d property:P706 resource:Q155 . ?d rdf:type ontology:Q103817 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation located on terrain feature
type indigenous peoples
[{'concept': 'indigenous peoples'}, 'located on terrain feature', 'Brazil']
SELECT DISTINCT ?d WHERE { ?d property:located_on_terrain_feature resource:Brazil . ?d rdf:type ontology:indigenous_peoples }
[]
indigenous peoples
Q3817631
SYSTEM
Kwaza people
Q3817631
(c(Q103817),P706,Q155)
action filter_type
action find_reverse
entity Q155
relation P706
type Q103817
People [ANSWER] has its location as Brazil
[{'concept': 'Q103817'}, 'P706', 'Q155']
SELECT DISTINCT ?d WHERE { ?d property:P706 resource:Q155 . ?d rdf:type ontology:Q103817 }
Kwaza people
People Kwaza people has its location as Brazil
Kwaza people
action filter_type
action find_reverse
entity Brazil
relation located on terrain feature
type indigenous peoples
[{'concept': 'indigenous peoples'}, 'located on terrain feature', 'Brazil']
SELECT DISTINCT ?d WHERE { ?d property:located_on_terrain_feature resource:Brazil . ?d rdf:type ontology:indigenous_peoples }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155
P112
Q43229
USER
Which organization was started by that administrative territory ?
(c(Q43229),P112,Q3817631)
action filter_type
action find_reverse
entity Q155
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q3817631']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?z property:P112 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Kwaza people']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?z property:founder resource:Brazil }
[]
organization
Q7809
SYSTEM
United Nations Educational, Scientific and Cultural Organization
Q7809
(c(Q43229),P112,Q3817631)
action filter_type
action find_reverse
entity Q155
relation P112
type Q43229
[ANSWER] was started by that administrative territory
[{'concept': 'Q43229'}, 'P112', 'Q3817631']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q43229 . ?z property:P112 resource:Q155 }
United Nations Educational, Scientific and Cultural Organization
United Nations Educational, Scientific and Cultural Organization was started by that administrative territory
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity Brazil
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Kwaza people']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:organization . ?z property:founder resource:Brazil }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P193
Q43229 Q4830453 Q811979
USER
How many architectural structures have atmost 1 organizations or business enterprises as their building contractor ?
(c(Q811979),P193,c(Q43229)|c(Q4830453))
action count
action atmost
action union
action find_tuple_counts
relation P193
type Q811979
type Q43229
action find_tuple_counts
relation P193
type Q811979
type Q4830453
value 1
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?l rdf:type ?b } GROUP BY ?q } . FILTER ( ?u <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
action find_tuple_counts
relation main building contractor
type architectural structure
type business enterprise
value 1
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?l rdf:type ?b } GROUP BY ?q } . FILTER ( ?u <= 1 ) }
[]
organization business enterprise architectural structure
SYSTEM
153
Q3066771 Q15265926 Q5128194 Q3094568 Q3080144 Q6016039 Q3043695 Q7184961 Q5012860 Q5359041 Q4967422 Q6322759 Q7801374 Q7339778 Q2285170 Q1538690 Q378655 Q5086148 Q4636498 Q331996 Q3198005 Q11441546 Q3143370 Q5452224 Q4985200 Q5166594 Q893204 Q6108791 Q15186849 Q4856919 Q429371 Q5669316 Q7278793 Q7290932 Q2872483 Q3656844 Q14711273 Q1914478 Q2900720 Q7383947 Q4731637 Q5876764 Q5447561 Q5009234 Q5685116 Q7244008 Q7715555 Q2985114 Q14687223 Q16890382 Q5123237 Q3263907 Q5968781 Q7606681 Q2927497 Q2748815 Q2226897 Q2745635 Q15261127 Q7330798 Q6286031 Q807966 Q7319634 Q5453386 Q406972 Q6840597 Q4876431 Q7309279 Q5109182 Q481795 Q655753 Q7814362 Q1327290 Q7572306 Q2882577 Q1242241 Q26811672 Q5310611 Q14709658 Q767873 Q3684032 Q2923640 Q5910931 Q7430999 Q186125 Q4865769 Q3359761 Q576952 Q5035418 Q7981834 Q7227135 Q8007500 Q6715011 Q7730070 Q7120126 Q5013216 Q5447559 Q5216680 Q481794 Q5178958 Q4869865 Q5562766 Q4869861 Q5193873 Q4633348 Q3294309 Q39177 Q5252301 Q5142988 Q3499214 Q10954019 Q4560484 Q5384614 Q1655326 Q2924511 Q633613 Q654100 Q2877349 Q7492276 Q7669887 Q7011384 Q5453421 Q22087317 Q7669888 Q1166157 Q4863544 Q3564821 Q5273653 Q1368138 Q198536 Q5339036 Q2927191 Q1337785 Q545007 Q243 Q5419564 Q1336027 Q4016046 Q3071597 Q5566831 Q7830022 Q6059074 Q656928 Q22082227 Q6488887 Q14683022 Q5513195 Q3603778 Q5038603 Q2974453 Q3498837 Q4830875 Q7186450
(c(Q811979),P193,c(Q43229)|c(Q4830453))
action count
action atmost
action union
action find_tuple_counts
relation P193
type Q811979
type Q43229
action find_tuple_counts
relation P193
type Q811979
type Q4830453
value 1
[ANSWER]
[{'concept': 'Q811979'}, 'P193', [{'concept': 'Q43229'}, {'concept': 'Q4830453'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?l rdf:type ?b } GROUP BY ?q } . FILTER ( ?u <= 1 ) }
U.S. Bank Centre Vince J. Whibbs Sr. Community Maritime Park Stadium Classic Park Galen Center Fourth and Madison Building Independence Events Center Türkmenbaşy Palace Philippine Arena CMC-NorthEast Stadium Raffles City Bright House Field K-Rock Centre Tiger Arena Roanoke Civic Center Signature Tower Talking Stick Resort Arena United Spirit Arena Charlotte Sports Park 3 Hardman Street Vizcaya Bridge Knights Stadium Osaka Gas Building Huntington Park FirstEnergy Stadium Budweiser Gardens Convocation Center Brookfield Place (skyscraper) JQH Arena Grange Court Banner Island Ballpark Devon Energy Center Harry Grove Stadium Rabobank Arena Rancho Cucamonga Epicenter AutoZone Park Capital Centre Reed Arena Mayo Building BI-LO Center Ryan Center Allen Event Center Hofheinz Pavilion Fifth Third Bank Ballpark CBS Canterbury Arena Hawkins Arena Prince George's Stadium BB&T Arena Xfinity Center Memorial Gymnasium Clackline Bridge City House Louisville Slugger Field IBM Building Stegeman Coliseum Bud Walton Arena Victory Field Pyramid Arena Johnny Rosenblatt Stadium National Indoor BMX Arena Richmond County Bank Ballpark Joseph P. Riley, Jr. Park Barclays Center Reynolds Center First National Bank Building Air Canada Centre Mid-America Center Bear Down Gym Regions Field Christenson Family Centre for Sport and Wellness Amway Center Arena do Grêmio Tollcross International Swimming Centre Canadian Tire Centre Space Coast Stadium BankUnited Center Kékestető TV Tower Clay Street Center Dubai Sports Complex TicketReturn.com Field Russia Tower Comcast Arena Bramlage Coliseum Hotaling Building Schaumburg Baseball Stadium Madison Square Garden Bartow Arena PNC Field Antilia (building) Capita Centre Welsh-Ryan Arena Polyvalent Hall William D. Mullins Memorial Center MCU Park The Diamond PPL Center CN Centre Fifth Third Arena Daniel Building Amway Arena Covelli Centre Battery Moltke Gimnasio USBI Battery Lothringen Cumberland County Crown Coliseum 2 Marsham Street Market Square Arena PNC Arena Dehler Park Coleman Coliseum Ernst & Young Plaza FCG Building 1918 Eighth Avenue Equitable Building I wireless Center Breslin Student Events Center Guaranteed Rate Field Sears Centre BOK Center Sheboygan Municipal Auditorium and Armory TD Arena Golden 1 Center First National Center Baltic Exchange TD Ameritrade Park Omaha Toyota Center Barrie Molson Centre WVU Coliseum Dickey-Stephens Park Marlins Park SIS Building Rogers Place Bryce Jordan Center Commonwealth Arena and Sir Chris Hoy Velodrome Bankers Life Fieldhouse Eiffel Tower Exchange Building Allstate Arena 1201 North Market Street Fifth Third Field Glasgow Green Hockey Centre Town Toyota Center Intrust Bank Arena MTS Centre Houlgate battery Laredo Energy Arena Lake Elsinore Diamond GEO Group Stadium Kyrkbron Cardinal Place Citizens Business Bank Arena First National Bank Tower Ayala Tower One Phiroze Jeejeebhoy Towers
153
action count
action atmost
action union
action find_tuple_counts
relation main building contractor
type architectural structure
type organization
action find_tuple_counts
relation main building contractor
type architectural structure
type business enterprise
value 1
[{'concept': 'architectural structure'}, 'main building contractor', [{'concept': 'organization'}, {'concept': 'business enterprise'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?u ) WHERE { VALUES ( ?b ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?l rdf:type ?b } GROUP BY ?q } . FILTER ( ?u <= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q83620
USER
How many thoroughfares can be described as service operator of exactly 1 organization ?
(c(Q83620),P137,c(Q43229))
action count
action equal
action find_tuple_counts
relation P137
type Q83620
type Q43229
value 1
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { ?a rdf:type ontology:Q83620 . ?n rdf:type ontology:Q43229 . ?a property:P137 ?n } GROUP BY ?a } }
action count
action equal
action find_tuple_counts
relation operator
type thoroughfare
type organization
value 1
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { ?a rdf:type ontology:thoroughfare . ?n rdf:type ontology:organization . ?a property:operator ?n } GROUP BY ?a } }
[]
organization thoroughfare
SYSTEM
45
Q803099 Q803397 Q2754967 Q4930439 Q482782 Q5289808 Q6585966 Q802556 Q5000022 Q12300331 Q2669290 Q13015462 Q19825918 Q2627962 Q1800353 Q429138 Q2753454 Q704426 Q1461194 Q11487325 Q487643 Q27110439 Q2098330 Q803121 Q1814953 Q852207 Q3356040 Q1546673 Q660895 Q3053436 Q1798321 Q2106670 Q2198532 Q661935 Q1141062 Q771305 Q1190152 Q54313 Q4568805 Q802562 Q11401365 Q22117593 Q159861 Q10728782 Q4453869
(c(Q83620),P137,c(Q43229))
action count
action equal
action find_tuple_counts
relation P137
type Q83620
type Q43229
value 1
[ANSWER]
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { ?a rdf:type ontology:Q83620 . ?n rdf:type ontology:Q43229 . ?a property:P137 ?n } GROUP BY ?a } }
Sydbanen Vienenburg–Goslar railway Køgebugtbanen Svendborgbanen Donghae Bukbu Line Domain Tunnel Southern Line Copenhagen–Fredericia/Taulov Line Burnley Tunnel Aarhus Nærbane Boulevard Line Northern Line (Thailand) Bosanski Brod–Sarajevo narrow gauge railway Grenaabanen Northwest Line (Denmark) West Autobahn Nordbanen P'yŏngŭi Line Lemvigbanen Kōnan Railway Kuroishi Line AREX New Delhi–Mumbai main line Hareskovbanen Lille Syd Skagensbanen Chōshi Electric Railway Line Coast Line Oschatz–Mügeln–Döbeln railway line Tōkaidō Shinkansen Klampenborgbanen Aalborg–Frederikshavn Line Frederikssundbanen Ringbanen Hirtshalsbanen Cross City Tunnel Iida Line Tōkaidō Main Line Roslagsbanan Vestbanen Oresund Line Kita-Osaka Kyuko railway Namboku Line Moscow Central Ring Railway Dresden–Görlitz railway Østjyske længdebane Aoimori Railway Line
45
action count
action equal
action find_tuple_counts
relation operator
type thoroughfare
type organization
value 1
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) WHERE { FILTER ( ?y = 1 ) . { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?y ) WHERE { ?a rdf:type ontology:thoroughfare . ?n rdf:type ontology:organization . ?a property:operator ?n } GROUP BY ?a } }
[]