Simple Question (Direct)
Simple Question
Q3447566
P17
Q15617994
USER
Which administrative territory is rue Croix-des-Petits-Champs located in ?
(Q3447566,P17,c(Q15617994))
action filter_type
action find
entity Q3447566
relation P17
type Q15617994
['Q3447566', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3447566 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
rue Croix-des-Petits-Champs
action filter_type
action find
entity rue Croix-des-Petits-Champs
relation country
type designation for an administrative territorial entity
['rue Croix-des-Petits-Champs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:rue_Croix-des-Petits-Champs property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3447566,P17,c(Q15617994))
action filter_type
action find
entity Q3447566
relation P17
type Q15617994
Rue Croix-des-Petits-Champs is located in [ANSWER]
['Q3447566', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3447566 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
France
Rue Croix-des-Petits-Champs is located in France
France
action filter_type
action find
entity rue Croix-des-Petits-Champs
relation country
type designation for an administrative territorial entity
['rue Croix-des-Petits-Champs', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:rue_Croix-des-Petits-Champs property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3447566
P669
Q502895
USER
Which person is located on that road ?
(c(Q502895),P669,Q142)
action filter_type
action find_reverse
entity Q3447566
relation P669
type Q502895
[{'concept': 'Q502895'}, 'P669', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P669 resource:Q3447566 . ?s rdf:type ontology:Q502895 }
rue Croix-des-Petits-Champs
action filter_type
action find_reverse
entity rue Croix-des-Petits-Champs
relation located on street
type common name
[{'concept': 'common name'}, 'located on street', 'France']
SELECT DISTINCT ?s WHERE { ?s property:located_on_street resource:rue_Croix-des-Petits-Champs . ?s rdf:type ontology:common_name }
[]
common name
Q21030070
SYSTEM
Georges Vaudoyer
Q21030070
(c(Q502895),P669,Q142)
action filter_type
action find_reverse
entity Q3447566
relation P669
type Q502895
[ANSWER] is located on that road
[{'concept': 'Q502895'}, 'P669', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P669 resource:Q3447566 . ?s rdf:type ontology:Q502895 }
Georges Vaudoyer
Georges Vaudoyer is located on that road
Georges Vaudoyer
action filter_type
action find_reverse
entity rue Croix-des-Petits-Champs
relation located on street
type common name
[{'concept': 'common name'}, 'located on street', 'France']
SELECT DISTINCT ?s WHERE { ?s property:located_on_street resource:rue_Croix-des-Petits-Champs . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3447566
P47
Q811979
USER
Which architectural structure is bordered by that road ?
(Q21030070,P47,c(Q811979))
action filter_type
action find
entity Q3447566
relation P47
type Q811979
['Q21030070', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ?p WHERE { resource:Q3447566 property:P47 ?p . ?p rdf:type ontology:Q811979 }
rue Croix-des-Petits-Champs
action filter_type
action find
entity rue Croix-des-Petits-Champs
relation shares border with
type architectural structure
['Georges Vaudoyer', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ?p WHERE { resource:rue_Croix-des-Petits-Champs property:shares_border_with ?p . ?p rdf:type ontology:architectural_structure }
[]
architectural structure
Q1362670
SYSTEM
place des Victoires
Q1362670
(Q21030070,P47,c(Q811979))
action filter_type
action find
entity Q3447566
relation P47
type Q811979
[ANSWER] is bordered by that road
['Q21030070', 'P47', {'concept': 'Q811979'}]
SELECT DISTINCT ?p WHERE { resource:Q3447566 property:P47 ?p . ?p rdf:type ontology:Q811979 }
place des Victoires
Place des Victoires is bordered by that road
place des Victoires
action filter_type
action find
entity rue Croix-des-Petits-Champs
relation shares border with
type architectural structure
['Georges Vaudoyer', 'shares border with', {'concept': 'architectural structure'}]
SELECT DISTINCT ?p WHERE { resource:rue_Croix-des-Petits-Champs property:shares_border_with ?p . ?p rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1362670
P706
Q18783400
USER
Which genre of sculpture has its location as that architectural structure ?
(c(Q18783400),P706,Q1362670)
action filter_type
action find_reverse
entity Q1362670
relation P706
type Q18783400
[{'concept': 'Q18783400'}, 'P706', 'Q1362670']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q18783400 . ?a property:P706 resource:Q1362670 }
place des Victoires
action filter_type
action find_reverse
entity place des Victoires
relation located on terrain feature
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'located on terrain feature', 'place des Victoires']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:genre_of_sculpture . ?a property:located_on_terrain_feature resource:place_des_Victoires }
[]
genre of sculpture
Q3497623
SYSTEM
equestrian statue of Louis XIV
Q3497623
(c(Q18783400),P706,Q1362670)
action filter_type
action find_reverse
entity Q1362670
relation P706
type Q18783400
The [ANSWER] has its location as that architectural structure
[{'concept': 'Q18783400'}, 'P706', 'Q1362670']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q18783400 . ?a property:P706 resource:Q1362670 }
equestrian statue of Louis XIV
The equestrian statue of Louis XIV has its location as that architectural structure
equestrian statue of Louis XIV
action filter_type
action find_reverse
entity place des Victoires
relation located on terrain feature
type genre of sculpture
[{'concept': 'genre of sculpture'}, 'located on terrain feature', 'place des Victoires']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:genre_of_sculpture . ?a property:located_on_terrain_feature resource:place_des_Victoires }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3497623
P170
Q502895
USER
Who created that genre of sculpture ?
(Q3497623,P170,c(Q502895))
action filter_type
action find
entity Q3497623
relation P170
type Q502895
['Q3497623', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3497623 property:P170 ?y . ?y rdf:type ontology:Q502895 }
equestrian statue of Louis XIV
action filter_type
action find
entity equestrian statue of Louis XIV
relation creator
type common name
['equestrian statue of Louis XIV', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:equestrian_statue_of_Louis_XIV property:creator ?y . ?y rdf:type ontology:common_name }
[]
common name
Q648445 Q2402612 Q659429
SYSTEM
Martin Desjardins, Jean-Antoine Alavoine, François Joseph Bosio
Q648445 Q2402612 Q659429
(Q3497623,P170,c(Q502895))
action filter_type
action find
entity Q3497623
relation P170
type Q502895
[ANSWERS] created that genre of sculpture
['Q3497623', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3497623 property:P170 ?y . ?y rdf:type ontology:Q502895 }
Martin Desjardins Jean-Antoine Alavoine François Joseph Bosio
Martin Desjardins, Jean-Antoine Alavoine and François Joseph Bosio created that genre of sculpture
Martin Desjardins Jean-Antoine Alavoine François Joseph Bosio
action filter_type
action find
entity equestrian statue of Louis XIV
relation creator
type common name
['equestrian statue of Louis XIV', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:equestrian_statue_of_Louis_XIV property:creator ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3206145
Q502895
USER
And how about Dnieper in the morning?
(Q3206145,P170,c(Q502895))
action filter_type
action find
entity Q3206145
relation P170
type Q502895
['Q3206145', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3206145 property:P170 ?q . ?q rdf:type ontology:Q502895 }
Dnieper in the morning
action filter_type
action find
entity Dnieper in the morning
relation creator
type common name
['Dnieper in the morning', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Dnieper_in_the_morning property:creator ?q . ?q rdf:type ontology:common_name }
[]
common name
Q353628
SYSTEM
Arkhip Kuindzhi
Q353628
(Q3206145,P170,c(Q502895))
action filter_type
action find
entity Q3206145
relation P170
type Q502895
[ANSWER]
['Q3206145', 'P170', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3206145 property:P170 ?q . ?q rdf:type ontology:Q502895 }
Arkhip Kuindzhi
Arkhip Kuindzhi
action filter_type
action find
entity Dnieper in the morning
relation creator
type common name
['Dnieper in the morning', 'creator', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Dnieper_in_the_morning property:creator ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q353628 Q985387 Q37133
P19
Q56061
USER
Does Arkhip Kuindzhi have place of birth as Mertert and Mariupol ?
(Q353628,P19,Q985387) (Q353628,P19,Q37133)
action is_in
entity Q353628
action intersection
action find_reverse
entity Q985387
relation P19
action find_reverse
entity Q37133
relation P19
['Q353628', 'P19', 'Q985387'] ['Q353628', 'P19', 'Q37133']
ASK WHERE { resource:Q353628 property:P19 resource:Q985387 . resource:Q353628 property:P19 resource:Q37133 }
Arkhip Kuindzhi Mertert Mariupol
action is_in
entity Arkhip Kuindzhi
action intersection
action find_reverse
entity Mertert
relation place of birth
action find_reverse
entity Mariupol
relation place of birth
['Arkhip Kuindzhi', 'place of birth', 'Mertert'] ['Arkhip Kuindzhi', 'place of birth', 'Mariupol']
ASK WHERE { resource:Arkhip_Kuindzhi property:place_of_birth resource:Mertert . resource:Arkhip_Kuindzhi property:place_of_birth resource:Mariupol }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q353628,P19,Q985387) (Q353628,P19,Q37133)
action is_in
entity Q353628
action intersection
action find_reverse
entity Q985387
relation P19
action find_reverse
entity Q37133
relation P19
[ANSWER]
['Q353628', 'P19', 'Q985387'] ['Q353628', 'P19', 'Q37133']
ASK WHERE { resource:Q353628 property:P19 resource:Q985387 . resource:Q353628 property:P19 resource:Q37133 }
NO and YES respectively
action is_in
entity Arkhip Kuindzhi
action intersection
action find_reverse
entity Mertert
relation place of birth
action find_reverse
entity Mariupol
relation place of birth
['Arkhip Kuindzhi', 'place of birth', 'Mertert'] ['Arkhip Kuindzhi', 'place of birth', 'Mariupol']
ASK WHERE { resource:Arkhip_Kuindzhi property:place_of_birth resource:Mertert . resource:Arkhip_Kuindzhi property:place_of_birth resource:Mariupol }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q353628
P138
Q34442
USER
Which road has that person as its toponym ?
action filter_type
action find_reverse
entity Q353628
relation P138
type Q34442
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q353628 . ?x rdf:type ontology:Q34442 }
Arkhip Kuindzhi
action filter_type
action find_reverse
entity Arkhip Kuindzhi
relation named after
type road
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Arkhip_Kuindzhi . ?x rdf:type ontology:road }
[]
road
Q4471325
SYSTEM
A. Kuindzhi street
Q4471325
action filter_type
action find_reverse
entity Q353628
relation P138
type Q34442
[ANSWER] has that person as its toponym
SELECT DISTINCT ?x WHERE { ?x property:P138 resource:Q353628 . ?x rdf:type ontology:Q34442 }
A. Kuindzhi street
A. Kuindzhi street has that person as its toponym
A. Kuindzhi street
action filter_type
action find_reverse
entity Arkhip Kuindzhi
relation named after
type road
SELECT DISTINCT ?x WHERE { ?x property:named_after resource:Arkhip_Kuindzhi . ?x rdf:type ontology:road }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P186
Q5447188 Q79529 Q18783400
USER
Which genres of sculpture are built using atmost 1 solutions or chemical substances ?
(c(Q18783400),P186,c(Q5447188)|c(Q79529))
action atmost
action union
action find_tuple_counts
relation P186
type Q18783400
type Q5447188
action find_tuple_counts
relation P186
type Q18783400
type Q79529
value 1
[{'concept': 'Q18783400'}, 'P186', [{'concept': 'Q5447188'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?t WHERE { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q5447188 ) ( ontology:Q79529 ) } } GROUP BY ?t } . FILTER ( ?y <= 1 ) }
action atmost
action union
action find_tuple_counts
relation material used
type genre of sculpture
type solution
action find_tuple_counts
relation material used
type genre of sculpture
type chemical substance
value 1
[{'concept': 'genre of sculpture'}, 'material used', [{'concept': 'solution'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?t WHERE { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:solution ) ( ontology:chemical_substance ) } } GROUP BY ?t } . FILTER ( ?y <= 1 ) }
[]
solution chemical substance genre of sculpture
Q517408 Q3497631 Q735085
SYSTEM
Psyche Revived by Cupid's Kiss, equestrian statue of Vercingetorix, David
Q17480153 Q18437761 Q25338500 Q19927909 Q18342180 Q627114 Q22337609 Q1388782 Q19362000 Q19278753 Q18087895 Q17006814 Q18116446 Q21741584 Q2063546 Q11850731 Q18548908 Q18216847 Q23034696 Q21451665 Q5791665 Q21541736 Q18343750 Q21451746 Q6072648 Q26689954 Q18595368 Q1058055 Q21804017 Q3497607 Q16900690 Q19277831 Q13528921 Q26319313 Q19347884 Q19280188 Q27467279 Q27089573 Q21803294 Q21901340 Q27031453 Q926536 Q3816464 Q25927562 Q991508 Q18162040 Q142917 Q25338408 Q5554723 Q15726582 Q3968668 Q27082480 Q21157624 Q542324 Q18662410 Q24039656 Q3983835 Q18748777 Q15120907 Q3497631 Q7604505 Q25311668 Q18162030 Q805533 Q1287997 Q20785576 Q814123 Q21292961 Q21286428 Q20890061 Q27105728 Q20054478 Q26656403 Q17514442 Q25339025 Q22337645 Q1365951 Q18123341 Q18176770 Q18116483 Q17527074 Q16939413 Q3968684 Q2790637 Q26701463 Q18661875 Q4763417 Q3731231 Q3497579 Q735085 Q27467134 Q17522078 Q19829180 Q27678281 Q26318354 Q205064 Q18635241 Q18162015 Q22348305 Q4997168 Q22348220 Q25311606 Q18228702 Q21976159 Q18144307 Q1639016 Q20736981 Q3984954 Q19590532 Q21804510 Q7604480 Q6022984 Q26356050 Q26908202 Q25291883 Q18159865 Q22337553 Q5442404 Q1061993 Q18162002 Q6028852 Q24034741 Q18162009 Q12060795 Q27082939 Q25311639 Q27464937 Q20032140 Q18161998 Q27849244 Q21451877 Q167032 Q21451726 Q25935032 Q1601986 Q420816 Q517408 Q20892707 Q18324815 Q21286535 Q3497623 Q3497626 Q18159666 Q2334137 Q4935392 Q20786631 Q18092640 Q25401982 Q3241785 Q21714780 Q23016273
(c(Q18783400),P186,c(Q5447188)|c(Q79529))
action atmost
action union
action find_tuple_counts
relation P186
type Q18783400
type Q5447188
action find_tuple_counts
relation P186
type Q18783400
type Q79529
value 1
Psyche revived by Cupid's Kiss, equestrian statue of Vercingetorix and David are built using atmost 1 solutions or chemical substances
[{'concept': 'Q18783400'}, 'P186', [{'concept': 'Q5447188'}, {'concept': 'Q79529'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?t WHERE { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:Q5447188 ) ( ontology:Q79529 ) } } GROUP BY ?t } . FILTER ( ?y <= 1 ) }
Statue of Queen Victoria A Real Birmingham Family Statue of Abraham Lincoln Statue of Queen Victoria Statue of Hugh Myddelton Worker and Kolkhoz Woman Young man and anchor, cenotaph of O.W. Hacklin Statue of the priestess Aristonoe Madonna and Child (Peter Terkatz, 1953) Hercules Farnese Statue of Simón Bolívar Jnana Vigraham Statue of Charlie Chaplin Plougher Statue of Freedom Statue of Aleksis Kivi Statue of the Earl Mountbatten Our Lady of Guidance Statue of Queen Victoria Statue of the Viscount Slim Cristo Negro Joseph Lister Memorial Memory 99 Statue of Thomas Becket Iron Lion of Cangzhou Statue of Queen Elizabeth The Queen Mother Quintin and Alice Hogg Memorial The Three Graces Soldier´s statue, For home country 1939-1944 Statue équestre d'Henri IV Statue of Sigmund Freud Statue of Robert Peel Wellington Monument Statue of George VI The Three Graces Sleeping Child Statue of Sir Arthur Harris, 1st Baronet Statue of Keith Park Hj. Nortamo Jesus de Greatest The three graces Lion of Belfort Kore of Lyons Lesson Statue of Károly Esterházy in Pápa, Hungary Statue of the Earl Kitchener Mother Motherland The Burghers of Calais Getty kouros Statue of Ganymede Statue of Cosimo I Statue of Father Thames Standing Madonna with child Ushiku Daibutsu Monument of torpedo boat S 2 Diana (Felderhoff) Teodelapio The Messenger Charles XII statue equestrian statue of Vercingetorix Statue of Winston Churchill Statue of Mary Seacole Statue of Lord Palmerston Statue de Notre-Dame de France Pobednik Statue of Jan Smuts Beethoven Monument Statue of Wilfrid Lawson Statue of Henry Bartle Frere Welcome to Lagos Tras Julia Statue of James Outram Bronze Eagle Statue, Queen Marys Gardens Statue of Captain James Cook Franklin Delano Roosevelt Memorial Oak tree of art Nike of Callimachus Statue of Joshua Reynolds Statue of the Duke of Devonshire Statue of the Earl of Derby Statue of James II Yangzhong Puffer Fish Talking statues Monument to Nizami Ganjavi in Baku Mercurius Bear of Satakunta Anglia knight Hercules and Lychas equestrian statue of Louis Faidherbe David Statue of Hugh Dowding, 1st Baron Dowding Jean Leperdit Monument à Charles Mathieu Platforms Piece The Eagle Slayer Het Zinneke Gran Elefant dret Statue of Henry Irving Silver wedding Bulul Sitting boy Statue of Sidney Herbert Statue of Edward Jenner Dagmar of Bohemia Statue of Robert Clive Mother Albania Javelin thrower Theseus and the Minotaur Statue of the Viscount Alanbrooke Soldier´s grave monument Statue of Charles Rolls Christopher Columbus statue Statue of William Shakespeare Statue of Wayne Gretzky Newton Equestrian statue of George Stuart White Family of Diorite De Meyboom Venus figurines of Mal'ta Statue of Charles James Napier Great Sphinx of Tanis Gorilla Statue of David Lloyd George Iron: Man Sculptural Group At Centre Of Pond Statue of Florence Nightingale Statue of Władysław Sikorski Paris Statue of Benjamin Disraeli Diana on the hind Statue of José de San Martín Monument to French soldiers The Young Lovers Draped Woman The Motherland Calls Acrolith Psyche Revived by Cupid's Kiss Queen Amina Statue statue of Hercules Statue of John Wesley equestrian statue of Louis XIV equestrian statue of Napoleon Boadicea and Her Daughters Statue of a Spartan warrior Bobby Moore Sculpture Statue of James Henry Greathead Statue of Trajan, Tower Hill Gudea, prince of Lagash Lion of Belfort Gallen-Kallela memorial statue Statue of Rowland Hill
Psyche revived by Cupid's Kiss, equestrian statue of Vercingetorix and David are built using atmost 1 solutions or chemical substances
Psyche Revived by Cupid's Kiss equestrian statue of Vercingetorix David
action atmost
action union
action find_tuple_counts
relation material used
type genre of sculpture
type solution
action find_tuple_counts
relation material used
type genre of sculpture
type chemical substance
value 1
[{'concept': 'genre of sculpture'}, 'material used', [{'concept': 'solution'}, {'concept': 'chemical substance'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) ?t WHERE { ?z rdf:type ?q . VALUES ( ?q ) { ( ontology:solution ) ( ontology:chemical_substance ) } } GROUP BY ?t } . FILTER ( ?y <= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q34442 Q486972
USER
Which human settlements have their location as exactly 3 roads ?
(c(Q486972),P669,c(Q34442))
action equal
action find_tuple_counts
relation P669
type Q486972
type Q34442
value 3
[{'concept': 'Q486972'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?w property:P669 ?c . ?w rdf:type ontology:Q486972 . ?c rdf:type ontology:Q34442 } GROUP BY ?w } . FILTER ( ?d = 3 ) }
action equal
action find_tuple_counts
relation located on street
type human settlement
type road
value 3
[{'concept': 'human settlement'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?w property:located_on_street ?c . ?w rdf:type ontology:human_settlement . ?c rdf:type ontology:road } GROUP BY ?w } . FILTER ( ?d = 3 ) }
[]
road human settlement
Q18621202 Q18621190
SYSTEM
La Samaritiaine, store 1, La Samaritiaine, store 2
Q18621202 Q18621190
(c(Q486972),P669,c(Q34442))
action equal
action find_tuple_counts
relation P669
type Q486972
type Q34442
value 3
[ANSWERS]
[{'concept': 'Q486972'}, 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?w property:P669 ?c . ?w rdf:type ontology:Q486972 . ?c rdf:type ontology:Q34442 } GROUP BY ?w } . FILTER ( ?d = 3 ) }
La Samaritiaine, store 1 La Samaritiaine, store 2
La Samaritiaine, store 1 and La Samaritiaine, store 2 have their location as exactly 3 roads
La Samaritiaine, store 1 La Samaritiaine, store 2
action equal
action find_tuple_counts
relation located on street
type human settlement
type road
value 3
[{'concept': 'human settlement'}, 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?d ) WHERE { ?w property:located_on_street ?c . ?w rdf:type ontology:human_settlement . ?c rdf:type ontology:road } GROUP BY ?w } . FILTER ( ?d = 3 ) }
[]