Simple Question (Direct)
Simple Question
Q1658508
P27
Q15617994
USER
Which administrative territory is Ilija Aračić a civilian of ?
(Q1658508,P27,c(Q15617994))
action filter_type
action find
entity Q1658508
relation P27
type Q15617994
['Q1658508', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1658508 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Ilija Aračić
action filter_type
action find
entity Ilija Aračić
relation country of citizenship
type designation for an administrative territorial entity
['Ilija Aračić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ilija_Aračić property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q1658508,P27,c(Q15617994))
action filter_type
action find
entity Q1658508
relation P27
type Q15617994
[ANSWER] is Ilija Aračić a civilian of
['Q1658508', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q1658508 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Croatia
Croatia is Ilija Aračić a civilian of
Croatia
action filter_type
action find
entity Ilija Aračić
relation country of citizenship
type designation for an administrative territorial entity
['Ilija Aračić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Ilija_Aračić property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1658508
P106
Q12737077
USER
What is the job of Ilija Aračić ?
(Q1658508,P106,c(Q12737077))
action filter_type
action find
entity Q1658508
relation P106
type Q12737077
['Q1658508', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1658508 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Ilija Aračić
action filter_type
action find
entity Ilija Aračić
relation occupation
type occupation
['Ilija Aračić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ilija_Aračić property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1658508,P106,c(Q12737077))
action filter_type
action find
entity Q1658508
relation P106
type Q12737077
The job of Ilija Aračić is an [ANSWER]
['Q1658508', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1658508 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
The job of Ilija Aračić is an association football player
association football player
action filter_type
action find
entity Ilija Aračić
relation occupation
type occupation
['Ilija Aračić', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Ilija_Aračić property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P361
Q847017
USER
What is that occupation a part of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?s WHERE { resource:Q937857 property:P361 ?s . ?s rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?s WHERE { resource:association_football_player property:part_of ?s . ?s rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
That occupation a part of is a [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?s WHERE { resource:Q937857 property:P361 ?s . ?s rdf:type ontology:Q847017 }
association football club
That occupation a part of is a association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?s WHERE { resource:association_football_player property:part_of ?s . ?s rdf:type ontology:sports_club }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4581658 Q1658508
P19
Q13220204
USER
Which administrative country subdivisions are the birthplace of Ilija Aračić or Grethe Gynnild Johnsen ?
OR((Q1658508,P19,c(Q13220204)), (Q4581658,P19,c(Q13220204)))
action filter_type
action union
action find
entity Q1658508
relation P19
action find
entity Q4581658
relation P19
type Q13220204
{'OR': [['Q1658508', 'P19', {'concept': 'Q13220204'}], ['Q4581658', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?i WHERE { { ?p property:P19 ?i . VALUES ( ?p ) { ( resource:Q1658508 ) ( resource:Q4581658 ) } } . ?i rdf:type ontology:Q13220204 }
Grethe Gynnild Johnsen Ilija Aračić
action filter_type
action union
action find
entity Ilija Aračić
relation place of birth
action find
entity Grethe Gynnild Johnsen
relation place of birth
type second-level administrative country subdivision
{'OR': [['Ilija Aračić', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Grethe Gynnild Johnsen', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?i WHERE { { ?p property:place_of_birth ?i . VALUES ( ?p ) { ( resource:Ilija_Aračić ) ( resource:Grethe_Gynnild_Johnsen ) } } . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q4686 Q484012
SYSTEM
Slavonski Brod, Bø
Q4686 Q484012
OR((Q1658508,P19,c(Q13220204)), (Q4581658,P19,c(Q13220204)))
action filter_type
action union
action find
entity Q1658508
relation P19
action find
entity Q4581658
relation P19
type Q13220204
[ANSWERS] are the birthplace of Ilija Aračić or Grethe Gynnild Johnsen
{'OR': [['Q1658508', 'P19', {'concept': 'Q13220204'}], ['Q4581658', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?i WHERE { { ?p property:P19 ?i . VALUES ( ?p ) { ( resource:Q1658508 ) ( resource:Q4581658 ) } } . ?i rdf:type ontology:Q13220204 }
Slavonski Brod Bø
Slavonski Brod and Bø are the birthplace of Ilija Aračić or Grethe Gynnild Johnsen
Slavonski Brod Bø
action filter_type
action union
action find
entity Ilija Aračić
relation place of birth
action find
entity Grethe Gynnild Johnsen
relation place of birth
type second-level administrative country subdivision
{'OR': [['Ilija Aračić', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Grethe Gynnild Johnsen', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?i WHERE { { ?p property:place_of_birth ?i . VALUES ( ?p ) { ( resource:Ilija_Aračić ) ( resource:Grethe_Gynnild_Johnsen ) } } . ?i rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q476028
P106
Q502895
USER
How many people have career as association football club ?
(c(Q502895),P106,Q476028)
action count
action filter_type
action find_reverse
entity Q476028
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q476028']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P106 resource:Q476028 . ?a rdf:type ontology:Q502895 }
association football club
action count
action filter_type
action find_reverse
entity association football club
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'association football club']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:occupation resource:association_football_club . ?a rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q2714476
(c(Q502895),P106,Q476028)
action count
action filter_type
action find_reverse
entity Q476028
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q476028']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P106 resource:Q476028 . ?a rdf:type ontology:Q502895 }
Jean Wauters
1
action count
action filter_type
action find_reverse
entity association football club
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'association football club']
SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:occupation resource:association_football_club . ?a rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3507284 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player and did Jan Buryán participate in ?
AND((Q937857,P425,c(Q349)), (Q3507284,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q3507284
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q3507284', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { resource:Q937857 property:P425 ?i . resource:Q3507284 property:P641 ?i . ?i rdf:type ontology:Q349 }
Jan Buryán association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Jan Buryán
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jan Buryán', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { resource:association_football_player property:field_of_this_occupation ?i . resource:Jan_Buryán property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q3507284,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q3507284
relation P641
type Q349
Team [ANSWER] is associated with the field of occupation [ANSWER] player and did Jan Buryán participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q3507284', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?i WHERE { resource:Q937857 property:P425 ?i . resource:Q3507284 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
Team association football is associated with the field of occupation association football player and did Jan Buryán participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Jan Buryán
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Jan Buryán', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?i WHERE { resource:association_football_player property:field_of_this_occupation ?i . resource:Jan_Buryán property:sport ?i . ?i rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q2516866 Q937857
P106
Q502895
USER
Which people have the profession of association football player and publisher ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q2516866))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q2516866
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q2516866']]}
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q937857 . ?y property:P106 resource:Q2516866 . ?y rdf:type ontology:Q502895 }
publisher association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity publisher
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'publisher']]}
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:association_football_player . ?y property:occupation resource:publisher . ?y rdf:type ontology:common_name }
[]
common name
Q3102802
SYSTEM
Georges Grard
Q3102802
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q2516866))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q2516866
relation P106
type Q502895
[ANSWER] have the profession of association football player and publisher
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q2516866']]}
SELECT DISTINCT ?y WHERE { ?y property:P106 resource:Q937857 . ?y property:P106 resource:Q2516866 . ?y rdf:type ontology:Q502895 }
Georges Grard
Georges Grard have the profession of association football player and publisher
Georges Grard
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity publisher
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'publisher']]}
SELECT DISTINCT ?y WHERE { ?y property:occupation resource:association_football_player . ?y property:occupation resource:publisher . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2516866
P101
Q502895
USER
Which person has specialisation in publisher ?
(c(Q502895),P101,Q2516866)
action filter_type
action find_reverse
entity Q2516866
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q2516866']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q2516866 . ?z rdf:type ontology:Q502895 }
publisher
action filter_type
action find_reverse
entity publisher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'publisher']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:publisher . ?z rdf:type ontology:common_name }
[]
common name
Q77598
SYSTEM
Theodor Bergk
Q77598
(c(Q502895),P101,Q2516866)
action filter_type
action find_reverse
entity Q2516866
relation P101
type Q502895
The [ANSWER] has specialisation in publisher
[{'concept': 'Q502895'}, 'P101', 'Q2516866']
SELECT DISTINCT ?z WHERE { ?z property:P101 resource:Q2516866 . ?z rdf:type ontology:Q502895 }
Theodor Bergk
The Theodor Bergk has specialisation in publisher
Theodor Bergk
action filter_type
action find_reverse
entity publisher
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'publisher']
SELECT DISTINCT ?z WHERE { ?z property:field_of_work resource:publisher . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q77598
P463
Q3947
USER
Which house had that person as its member ?
(Q77598,P463,c(Q3947))
action filter_type
action find
entity Q77598
relation P463
type Q3947
['Q77598', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?t WHERE { resource:Q77598 property:P463 ?t . ?t rdf:type ontology:Q3947 }
Theodor Bergk
action filter_type
action find
entity Theodor Bergk
relation member of
type house
['Theodor Bergk', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?t WHERE { resource:Theodor_Bergk property:member_of ?t . ?t rdf:type ontology:house }
[]
house
Q414188
SYSTEM
Göttingen Academy of Sciences
Q414188
(Q77598,P463,c(Q3947))
action filter_type
action find
entity Q77598
relation P463
type Q3947
[ANSWER] had that person as its member
['Q77598', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?t WHERE { resource:Q77598 property:P463 ?t . ?t rdf:type ontology:Q3947 }
Göttingen Academy of Sciences
Göttingen Academy of Sciences had that person as its member
Göttingen Academy of Sciences
action filter_type
action find
entity Theodor Bergk
relation member of
type house
['Theodor Bergk', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?t WHERE { resource:Theodor_Bergk property:member_of ?t . ?t rdf:type ontology:house }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q214230
Q3947
USER
And what about Thomas Christian Tychsen?
(Q214230,P463,c(Q3947))
action filter_type
action find
entity Q214230
relation P463
type Q3947
['Q214230', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?o WHERE { resource:Q214230 property:P463 ?o . ?o rdf:type ontology:Q3947 }
Thomas Christian Tychsen
action filter_type
action find
entity Thomas Christian Tychsen
relation member of
type house
['Thomas Christian Tychsen', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Christian_Tychsen property:member_of ?o . ?o rdf:type ontology:house }
[]
house
Q414188
SYSTEM
Göttingen Academy of Sciences
Q414188
(Q214230,P463,c(Q3947))
action filter_type
action find
entity Q214230
relation P463
type Q3947
[ANSWER]
['Q214230', 'P463', {'concept': 'Q3947'}]
SELECT DISTINCT ?o WHERE { resource:Q214230 property:P463 ?o . ?o rdf:type ontology:Q3947 }
Göttingen Academy of Sciences
Göttingen Academy of Sciences
action filter_type
action find
entity Thomas Christian Tychsen
relation member of
type house
['Thomas Christian Tychsen', 'member of', {'concept': 'house'}]
SELECT DISTINCT ?o WHERE { resource:Thomas_Christian_Tychsen property:member_of ?o . ?o rdf:type ontology:house }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q1048835
USER
How many political territories are that house present in ?
(Q414188,P17,c(Q1048835))
action count
action filter_type
action find
entity Q414188
relation P17
type Q1048835
['Q414188', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q414188 property:P17 ?d . ?d rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Göttingen Academy of Sciences
relation country
type political territorial entity
['Göttingen Academy of Sciences', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Göttingen_Academy_of_Sciences property:country ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q414188,P17,c(Q1048835))
action count
action filter_type
action find
entity Q414188
relation P17
type Q1048835
[ANSWER]
['Q414188', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Q414188 property:P17 ?d . ?d rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Göttingen Academy of Sciences
relation country
type political territorial entity
['Göttingen Academy of Sciences', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { resource:Göttingen_Academy_of_Sciences property:country ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P669
Q83620 Q3947
USER
Which thoroughfares can min number of houses be located ?
(c(Q3947),P669,Q3443530)
action argmin
action find_reverse_tuple_counts
relation P669
type Q83620
type Q3947
[{'concept': 'Q3947'}, 'P669', 'Q3443530']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P669 ?m . ?m rdf:type ontology:Q83620 . ?j rdf:type ontology:Q3947 } GROUP BY ?m } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P669 ?q . ?q rdf:type ontology:Q83620 . ?z rdf:type ontology:Q3947 } GROUP BY ?q } } }
action argmin
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type house
[{'concept': 'house'}, 'located on street', 'Quebec Route 111']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:located_on_street ?m . ?m rdf:type ontology:thoroughfare . ?j rdf:type ontology:house } GROUP BY ?m } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:located_on_street ?q . ?q rdf:type ontology:thoroughfare . ?z rdf:type ontology:house } GROUP BY ?q } } }
[]
thoroughfare house
Q3412690 Q3001371 Q1146988
SYSTEM
quai de Valmy, cours de Vincennes, quai d'Orsay
Q925349 Q15030785 Q5601894 Q659373 Q842930 Q5025781 Q7452693 Q17451598 Q3566460 Q16889211 Q7270510 Q2634407 Q18659847 Q169430 Q18659845 Q378991 Q4581969 Q5094624 Q3412695 Q3412693 Q1146988 Q5139684 Q1475467 Q21014314 Q5500055 Q16887011 Q7064249 Q4253168 Q1782648 Q373302 Q612382 Q5882916 Q1783236 Q6680226 Q7269996 Q1782039 Q1068693 Q2905663 Q3412683 Q5187677 Q5164086 Q7179381 Q7097982 Q15224048 Q5450926 Q11893194 Q26977295 Q5522302 Q892187 Q10476968 Q893034 Q2838796 Q3068338 Q3760653 Q7590464 Q3412685 Q16313103 Q3258965 Q2962296 Q22083647 Q2550870 Q18682440 Q4828125 Q2892349 Q846686 Q5137008 Q26311261 Q15213255 Q3368042 Q8023371 Q2436345 Q3412665 Q2741353 Q4649528 Q1146645 Q7798333 Q868616 Q3412709 Q4909694 Q4475857 Q895073 Q7231999 Q3308692 Q6773888 Q1647486 Q1739015 Q1445372 Q12060528 Q8022857 Q1365199 Q192687 Q19581777 Q747271 Q7374297 Q11698324 Q3412658 Q805829 Q215255 Q5654882 Q3412713 Q5068795 Q3412716 Q27464910 Q5196144 Q6781594 Q7083664 Q7235592 Q21585418 Q4972570 Q7291867 Q1070409 Q23688700 Q4968916 Q26303488 Q2796839 Q3161432 Q17150715 Q1631720 Q479469 Q5122150 Q3001371 Q21097991 Q3412725 Q23891209 Q2926113 Q7999677 Q4946315 Q1770585 Q3365085 Q279859 Q1631609 Q1900734 Q6412079 Q6188196 Q5086153 Q19461206 Q5210648 Q7995998 Q756819 Q7781517 Q3412738 Q18619695 Q3412735 Q3412630 Q22344691 Q79934 Q27837160 Q8033457 Q22084204 Q2922699 Q3412690 Q14935196 Q15176495 Q4649576 Q17985385 Q389991 Q5591440 Q893261 Q3001832 Q20005749 Q5905761 Q3368123 Q15030879 Q773458 Q3312645 Q3444041 Q5312872 Q866797 Q5123401 Q8032277 Q3090980 Q6126123 Q20220110 Q6483175 Q5607603 Q3443530
(c(Q3947),P669,Q3443530)
action argmin
action find_reverse_tuple_counts
relation P669
type Q83620
type Q3947
Min number of houses can be located in [ANSWERS]
[{'concept': 'Q3947'}, 'P669', 'Q3443530']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:P669 ?m . ?m rdf:type ontology:Q83620 . ?j rdf:type ontology:Q3947 } GROUP BY ?m } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P669 ?q . ?q rdf:type ontology:Q83620 . ?z rdf:type ontology:Q3947 } GROUP BY ?q } } }
Pall Mall Stoke Newington Church Street Greek Street quai de Conti The Mall Camden High Street Serangoon Road Dalbyvägen Greek National Road 1 Jurong Town Hall Road Queen Street St James's Street Main road 86 Jermyn Street Main road 79 Park Lane Queen Victoria Street Cheyne Walk quai de l'Archevêché quai de l'Hôtel-de-Ville quai d'Orsay Cockspur Street E 11 road Warren Street Free School Lane Sembawang Road Nova Scotia Trunk 2 Lime Street High Holborn King's Road Sloane Street Hollywood Road The Cut Lordship Lane, Haringey Queen's Gate Cornhill Cheapside Exhibition Road quai de Grenelle Cromwell Road Constitution Avenue Petty France Ophir Road Hill Street Finsbury Pavement Regional road 815 Cranbourn Street Garden Road Bond Street Drottning Kristinas väg Haymarket allée Célestin-Hennion Fenchurch Street George Street St. Mary Axe quai de Jemmapes Connaught Road Central London Inner Ring Road Queen Mary Road Regency Street Paseo de Recoletos Piriläntie Avenida de Almeida Ribeiro Bayswater Road Fleet Street Clyde Road Willow Terrace Road Dean Street passage de Dantzig Wilton Crescent Maine State Route 103 quai Victor-Augagneur quai de l'Horloge A6108 road Via Domitia Throgmorton Street Hollywood Boulevard quai de la Mégisserie Siilitie Universitetskaya Embankment René Lévesque Boulevard Portland Place Euston Road Marsham Street Tottenham Court Road Kensington Palace Gardens Regional road 170 Hope Street Wilmslow Road Marylebone Road Downing Street Queen Anne's Gate quai de la Tournelle Royal Hospital Road Paternoster Row quai Saint-Bernard Colorado Boulevard Piccadilly Circus Harbour Road quai des Antilles Chalk Farm Road quai de la Seine Avenida Kim-Il Sung Curzon Street Marylebone High Street Old Church Street Poultry Warwick Lane Broadwick Street Randolph Street Victoria Embankment London Bridge Street Great Portland Street Moyka embankment‎ Collins Street James Street Burlington Gardens Shaftesbury Avenue Abbey Road Commercial Street cours de Vincennes allée Georges-Besse quai des Orfèvres New Cavendish Street Brook Street Wigmore Street Borough High Street Horse Guards Road Massachusetts Avenue A1 road Savile Row Spencer Street King Street Jesus Lane Charlotte Street Creek Street Dale Street Whitehall Street Strand Theobald's Road quai Émile-Zola Rathbone Place quai du Louvre quai Anatole-France Snelling Avenue U.S. Route 66 Fuchsbräugasse Woodstock Road, Oxford Elverton Street Bow Street quai de Valmy Little Collins Street Djurgårdsbrunnsvägen A66 road Aberdeen Place Hudson Street Gracechurch Street Kingsway Coventry Street Mount Street, London Horseferry Road passage des Petits-Pères Blackfriars Road Harley Street Brompton Road route de ceinture du Lac-Daumesnil Duke Street, Marylebone Leadenhall Street City Road Wood Street, London quai André-Citroën Jalan Bukit Merah, Singapore Union Street Lancaster Gate Gresham Street Quebec Route 111
Min number of houses can be located in quai de Valmy, cours de Vincennes and quai d'Orsay
quai de Valmy cours de Vincennes quai d'Orsay
action argmin
action find_reverse_tuple_counts
relation located on street
type thoroughfare
type house
[{'concept': 'house'}, 'located on street', 'Quebec Route 111']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?k ) WHERE { ?j property:located_on_street ?m . ?m rdf:type ontology:thoroughfare . ?j rdf:type ontology:house } GROUP BY ?m } . FILTER ( ?k = ?u ) . { SELECT DISTINCT ( MIN ( ?s ) AS ?u ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:located_on_street ?q . ?q rdf:type ontology:thoroughfare . ?z rdf:type ontology:house } GROUP BY ?q } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P47
Q83620 Q34442
USER
How many thoroughfares and roads do that thoroughfare share a border with ?
(c(Q83620),P47,Q3412690) (c(Q34442),P47,Q3412690) (c(Q83620),P47,Q3412690) (c(Q34442),P47,Q3412690) (c(Q83620),P47,Q3001371) (c(Q34442),P47,Q3001371) (c(Q83620),P47,Q1146988) (c(Q34442),P47,Q1146988)
[{'concept': 'Q83620'}, 'P47', 'Q3412690'] [{'concept': 'Q34442'}, 'P47', 'Q3412690'] [{'concept': 'Q83620'}, 'P47', 'Q3412690'] [{'concept': 'Q34442'}, 'P47', 'Q3412690'] [{'concept': 'Q83620'}, 'P47', 'Q3001371'] [{'concept': 'Q34442'}, 'P47', 'Q3001371'] [{'concept': 'Q83620'}, 'P47', 'Q1146988'] [{'concept': 'Q34442'}, 'P47', 'Q1146988']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q3412690 } UNION { ?y property:P47 resource:Q3412690 } UNION { ?z property:P47 resource:Q3412690 } UNION { ?y property:P47 resource:Q3412690 } UNION { ?z property:P47 resource:Q3001371 } UNION { ?y property:P47 resource:Q3001371 } UNION { ?z property:P47 resource:Q1146988 } UNION { ?y property:P47 resource:Q1146988 } } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
[{'concept': 'thoroughfare'}, 'shares border with', 'quai de Valmy'] [{'concept': 'road'}, 'shares border with', 'quai de Valmy'] [{'concept': 'thoroughfare'}, 'shares border with', 'quai de Valmy'] [{'concept': 'road'}, 'shares border with', 'quai de Valmy'] [{'concept': 'thoroughfare'}, 'shares border with', 'cours de Vincennes'] [{'concept': 'road'}, 'shares border with', 'cours de Vincennes'] [{'concept': 'thoroughfare'}, 'shares border with', "quai d'Orsay"] [{'concept': 'road'}, 'shares border with', "quai d'Orsay"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:quai_de_Valmy } UNION { ?y property:shares_border_with resource:quai_de_Valmy } UNION { ?z property:shares_border_with resource:quai_de_Valmy } UNION { ?y property:shares_border_with resource:quai_de_Valmy } UNION { ?z property:shares_border_with resource:cours_de_Vincennes } UNION { ?y property:shares_border_with resource:cours_de_Vincennes } UNION { ?z property:shares_border_with resource:quai_d'Orsay } UNION { ?y property:shares_border_with resource:quai_d'Orsay } } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
thoroughfare road
Quantitative|Count|Mult. entity type|Clarification
Q3412690
SYSTEM
Did you mean quai de Valmy ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q3412690 } UNION { ?y property:P47 resource:Q3412690 } UNION { ?z property:P47 resource:Q3412690 } UNION { ?y property:P47 resource:Q3412690 } UNION { ?z property:P47 resource:Q3001371 } UNION { ?y property:P47 resource:Q3001371 } UNION { ?z property:P47 resource:Q1146988 } UNION { ?y property:P47 resource:Q1146988 } } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
Did you mean quai de Valmy ?
quai de Valmy
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:quai_de_Valmy } UNION { ?y property:shares_border_with resource:quai_de_Valmy } UNION { ?z property:shares_border_with resource:quai_de_Valmy } UNION { ?y property:shares_border_with resource:quai_de_Valmy } UNION { ?z property:shares_border_with resource:cours_de_Vincennes } UNION { ?y property:shares_border_with resource:cours_de_Vincennes } UNION { ?z property:shares_border_with resource:quai_d'Orsay } UNION { ?y property:shares_border_with resource:quai_d'Orsay } } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q83620),P47,Q3412690) (c(Q34442),P47,Q3412690) (c(Q83620),P47,Q3412690) (c(Q34442),P47,Q3412690) (c(Q83620),P47,Q3001371) (c(Q34442),P47,Q3001371) (c(Q83620),P47,Q1146988) (c(Q34442),P47,Q1146988)
[{'concept': 'Q83620'}, 'P47', 'Q3412690'] [{'concept': 'Q34442'}, 'P47', 'Q3412690'] [{'concept': 'Q83620'}, 'P47', 'Q3412690'] [{'concept': 'Q34442'}, 'P47', 'Q3412690'] [{'concept': 'Q83620'}, 'P47', 'Q3001371'] [{'concept': 'Q34442'}, 'P47', 'Q3001371'] [{'concept': 'Q83620'}, 'P47', 'Q1146988'] [{'concept': 'Q34442'}, 'P47', 'Q1146988']
[{'concept': 'thoroughfare'}, 'shares border with', 'quai de Valmy'] [{'concept': 'road'}, 'shares border with', 'quai de Valmy'] [{'concept': 'thoroughfare'}, 'shares border with', 'quai de Valmy'] [{'concept': 'road'}, 'shares border with', 'quai de Valmy'] [{'concept': 'thoroughfare'}, 'shares border with', 'cours de Vincennes'] [{'concept': 'road'}, 'shares border with', 'cours de Vincennes'] [{'concept': 'thoroughfare'}, 'shares border with', "quai d'Orsay"] [{'concept': 'road'}, 'shares border with', "quai d'Orsay"]
[]
SYSTEM
1 thoroughfares and 16 roads
Q3450799 Q3452222 Q3367875 Q3447852 Q3448936 Q3452026 Q1037624 Q3448966 Q3447684 Q3450863 Q2838996 Q3448505 Q3448893 Q3448685 Q3446890 Q3447102 Q3449213
(c(Q83620),P47,Q3412690) (c(Q34442),P47,Q3412690) (c(Q83620),P47,Q3412690) (c(Q34442),P47,Q3412690) (c(Q83620),P47,Q3001371) (c(Q34442),P47,Q3001371) (c(Q83620),P47,Q1146988) (c(Q34442),P47,Q1146988)
[ANSWER]
[{'concept': 'Q83620'}, 'P47', 'Q3412690'] [{'concept': 'Q34442'}, 'P47', 'Q3412690'] [{'concept': 'Q83620'}, 'P47', 'Q3412690'] [{'concept': 'Q34442'}, 'P47', 'Q3412690'] [{'concept': 'Q83620'}, 'P47', 'Q3001371'] [{'concept': 'Q34442'}, 'P47', 'Q3001371'] [{'concept': 'Q83620'}, 'P47', 'Q1146988'] [{'concept': 'Q34442'}, 'P47', 'Q1146988']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P47 resource:Q3412690 } UNION { ?y property:P47 resource:Q3412690 } UNION { ?z property:P47 resource:Q3412690 } UNION { ?y property:P47 resource:Q3412690 } UNION { ?z property:P47 resource:Q3001371 } UNION { ?y property:P47 resource:Q3001371 } UNION { ?z property:P47 resource:Q1146988 } UNION { ?y property:P47 resource:Q1146988 } } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q34442 }
rue de Lancry rue du Commandant-Mortenol passage Delessert rue Eugène-Varlin rue Lucien-Sampaix rue des Récollets rue du Faubourg-du-Temple rue Léon-Jouhaux rue Dieu rue de Marseille allée du Professeur-Jean-Bernard rue Jean-Poulmarch rue Louis-Blanc rue La Fayette rue Alexandre-Parodi rue Beaurepaire rue Monseigneur-Rodhain
1 thoroughfares and 16 roads
[{'concept': 'thoroughfare'}, 'shares border with', 'quai de Valmy'] [{'concept': 'road'}, 'shares border with', 'quai de Valmy'] [{'concept': 'thoroughfare'}, 'shares border with', 'quai de Valmy'] [{'concept': 'road'}, 'shares border with', 'quai de Valmy'] [{'concept': 'thoroughfare'}, 'shares border with', 'cours de Vincennes'] [{'concept': 'road'}, 'shares border with', 'cours de Vincennes'] [{'concept': 'thoroughfare'}, 'shares border with', "quai d'Orsay"] [{'concept': 'road'}, 'shares border with', "quai d'Orsay"]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:shares_border_with resource:quai_de_Valmy } UNION { ?y property:shares_border_with resource:quai_de_Valmy } UNION { ?z property:shares_border_with resource:quai_de_Valmy } UNION { ?y property:shares_border_with resource:quai_de_Valmy } UNION { ?z property:shares_border_with resource:cours_de_Vincennes } UNION { ?y property:shares_border_with resource:cours_de_Vincennes } UNION { ?z property:shares_border_with resource:quai_d'Orsay } UNION { ?y property:shares_border_with resource:quai_d'Orsay } } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:road }
[]