Simple Question (Direct)
Simple Question
Q959724
P27
Q15617994
USER
Which administrative territory does Miroslav Dvořák belong to ?
(Q959724,P27,c(Q15617994))
action filter_type
action find
entity Q959724
relation P27
type Q15617994
['Q959724', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q959724 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Miroslav Dvořák
action filter_type
action find
entity Miroslav Dvořák
relation country of citizenship
type designation for an administrative territorial entity
['Miroslav Dvořák', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Miroslav_Dvořák property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q959724,P27,c(Q15617994))
action filter_type
action find
entity Q959724
relation P27
type Q15617994
[ANSWER]
['Q959724', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q959724 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic
action filter_type
action find
entity Miroslav Dvořák
relation country of citizenship
type designation for an administrative territorial entity
['Miroslav Dvořák', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Miroslav_Dvořák property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P35
Q502895
USER
Who are the heads of state of that administrative territory ?
(Q213,P35,c(Q502895))
action filter_type
action find
entity Q213
relation P35
type Q502895
['Q213', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q213 property:P35 ?r }
Czech Republic
action filter_type
action find
entity Czech Republic
relation head of state
type common name
['Czech Republic', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Czech_Republic property:head_of_state ?r }
[]
common name
Q57434 Q36233 Q29032
SYSTEM
Václav Klaus, Václav Havel, Miloš Zeman
Q57434 Q36233 Q29032
(Q213,P35,c(Q502895))
action filter_type
action find
entity Q213
relation P35
type Q502895
[ANSWERS]
['Q213', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q213 property:P35 ?r }
Václav Klaus Václav Havel Miloš Zeman
Václav Klaus Václav Havel Miloš Zeman
action filter_type
action find
entity Czech Republic
relation head of state
type common name
['Czech Republic', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Czech_Republic property:head_of_state ?r }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q57434 Q36233 Q29032
P26
Q502895
USER
Which people are the life partner of Václav Klaus, Václav Havel and Miloš Zeman ?
(Q57434,P26,c(Q502895)) (Q36233,P26,c(Q502895)) (Q29032,P26,c(Q502895))
action union
action filter_type
action find
entity Q57434
relation P26
type Q502895
action filter_type
action find
entity Q36233
relation P26
type Q502895
action filter_type
action find
entity Q29032
relation P26
type Q502895
['Q57434', 'P26', {'concept': 'Q502895'}] ['Q36233', 'P26', {'concept': 'Q502895'}] ['Q29032', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q57434 property:P26 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q36233 property:P26 ?d . ?d rdf:type ontology:Q502895 } }
Václav Klaus Václav Havel Miloš Zeman
action union
action filter_type
action find
entity Václav Klaus
relation spouse
type common name
action filter_type
action find
entity Václav Havel
relation spouse
type common name
action filter_type
action find
entity Miloš Zeman
relation spouse
type common name
['Václav Klaus', 'spouse', {'concept': 'common name'}] ['Václav Havel', 'spouse', {'concept': 'common name'}] ['Miloš Zeman', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Václav_Klaus property:spouse ?d . ?d rdf:type ontology:common_name } UNION { resource:Václav_Havel property:spouse ?d . ?d rdf:type ontology:common_name } }
[]
common name
Q55729 Q3497271 Q3510461
SYSTEM
Dagmar Havlová, Livia Klausová, Olga Havlová
Q3497271 Q3510461 Q55729 Q6769979
(Q57434,P26,c(Q502895)) (Q36233,P26,c(Q502895)) (Q29032,P26,c(Q502895))
action union
action filter_type
action find
entity Q57434
relation P26
type Q502895
action filter_type
action find
entity Q36233
relation P26
type Q502895
action filter_type
action find
entity Q29032
relation P26
type Q502895
[ANSWERS]
['Q57434', 'P26', {'concept': 'Q502895'}] ['Q36233', 'P26', {'concept': 'Q502895'}] ['Q29032', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { resource:Q57434 property:P26 ?d . ?d rdf:type ontology:Q502895 } UNION { resource:Q36233 property:P26 ?d . ?d rdf:type ontology:Q502895 } }
Livia Klausová Olga Havlová Dagmar Havlová Ivana Zemanová
Dagmar Havlová Livia Klausová Olga Havlová
action union
action filter_type
action find
entity Václav Klaus
relation spouse
type common name
action filter_type
action find
entity Václav Havel
relation spouse
type common name
action filter_type
action find
entity Miloš Zeman
relation spouse
type common name
['Václav Klaus', 'spouse', {'concept': 'common name'}] ['Václav Havel', 'spouse', {'concept': 'common name'}] ['Miloš Zeman', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { resource:Václav_Klaus property:spouse ?d . ?d rdf:type ontology:common_name } UNION { resource:Václav_Havel property:spouse ?d . ?d rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36233
P161
Q838948
USER
What is the name of work of art starring Václav Havel ?
(c(Q838948),P161,Q36233)
action filter_type
action find_reverse
entity Q36233
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q36233']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q36233 . ?a rdf:type ontology:Q838948 }
Václav Havel
action filter_type
action find_reverse
entity Václav Havel
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Václav Havel']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Václav_Havel . ?a rdf:type ontology:work_of_art }
[]
work of art
Q3746127
SYSTEM
I am fishead
Q3746127
(c(Q838948),P161,Q36233)
action filter_type
action find_reverse
entity Q36233
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q36233']
SELECT DISTINCT ?a WHERE { ?a property:P161 resource:Q36233 . ?a rdf:type ontology:Q838948 }
I am fishead
I am fishead
action filter_type
action find_reverse
entity Václav Havel
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Václav Havel']
SELECT DISTINCT ?a WHERE { ?a property:cast_member resource:Václav_Havel . ?a rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36233
P7
Q502895
USER
Who is that one a sibling of ?
(Q3746127,P7,c(Q502895))
action filter_type
action find
entity Q36233
relation P7
type Q502895
['Q3746127', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q36233 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Václav Havel
action filter_type
action find
entity Václav Havel
relation brother
type common name
['I am fishead', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Václav_Havel property:brother ?a . ?a rdf:type ontology:common_name }
[]
common name
Q3596070
SYSTEM
Ivan M. Havel
Q3596070
(Q3746127,P7,c(Q502895))
action filter_type
action find
entity Q36233
relation P7
type Q502895
[ANSWER]
['Q3746127', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q36233 property:P7 ?a . ?a rdf:type ontology:Q502895 }
Ivan M. Havel
Ivan M. Havel
action filter_type
action find
entity Václav Havel
relation brother
type common name
['I am fishead', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Václav_Havel property:brother ?a . ?a rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3596070
P170
Q315
USER
What was developed by that person ?
(c(Q315),P170,Q3596070)
action filter_type
action find_reverse
entity Q3596070
relation P170
type Q315
[{'concept': 'Q315'}, 'P170', 'Q3596070']
SELECT DISTINCT ?t WHERE { ?t property:P170 resource:Q3596070 . ?t rdf:type ontology:Q315 }
Ivan M. Havel
action filter_type
action find_reverse
entity Ivan M. Havel
relation creator
type language
[{'concept': 'language'}, 'creator', 'Ivan M. Havel']
SELECT DISTINCT ?t WHERE { ?t property:creator resource:Ivan_M._Havel . ?t rdf:type ontology:language }
[]
language
Q3490401
SYSTEM
Ptydepe
Q3490401
(c(Q315),P170,Q3596070)
action filter_type
action find_reverse
entity Q3596070
relation P170
type Q315
[ANSWER]
[{'concept': 'Q315'}, 'P170', 'Q3596070']
SELECT DISTINCT ?t WHERE { ?t property:P170 resource:Q3596070 . ?t rdf:type ontology:Q315 }
Ptydepe
Ptydepe
action filter_type
action find_reverse
entity Ivan M. Havel
relation creator
type language
[{'concept': 'language'}, 'creator', 'Ivan M. Havel']
SELECT DISTINCT ?t WHERE { ?t property:creator resource:Ivan_M._Havel . ?t rdf:type ontology:language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q482994 Q6619679
USER
Which works of art are atmost 1 albums and fictional humanoids a part of ?
(c(Q482994)|c(Q6619679),P361,c(Q838948))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
value 1
[[{'concept': 'Q482994'}, {'concept': 'Q6619679'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:P361 ?a . ?o rdf:type ontology:Q6619679 . ?a rdf:type ontology:Q838948 } UNION { ?o property:P361 ?a . ?a rdf:type ontology:Q838948 . ?o rdf:type ontology:Q482994 } } GROUP BY ?a } . FILTER ( ?z <= 1 ) }
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type album
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
value 1
[[{'concept': 'album'}, {'concept': 'fictional humanoid'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:part_of ?a . ?o rdf:type ontology:fictional_humanoid . ?a rdf:type ontology:work_of_art } UNION { ?o property:part_of ?a . ?a rdf:type ontology:work_of_art . ?o rdf:type ontology:album } } GROUP BY ?a } . FILTER ( ?z <= 1 ) }
[]
work of art album fictional humanoid
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q482994)|c(Q6619679),P361,c(Q838948))
action atmost
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
value 1
[ANSWERS]
[[{'concept': 'Q482994'}, {'concept': 'Q6619679'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:P361 ?a . ?o rdf:type ontology:Q6619679 . ?a rdf:type ontology:Q838948 } UNION { ?o property:P361 ?a . ?a rdf:type ontology:Q838948 . ?o rdf:type ontology:Q482994 } } GROUP BY ?a } . FILTER ( ?z <= 1 ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Monty Python's The Meaning of Life Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action atmost
action union
action find_reverse_tuple_counts
relation part of
type work of art
type album
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
value 1
[[{'concept': 'album'}, {'concept': 'fictional humanoid'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?o ) AS ?z ) WHERE { { ?o property:part_of ?a . ?o rdf:type ontology:fictional_humanoid . ?a rdf:type ontology:work_of_art } UNION { ?o property:part_of ?a . ?a rdf:type ontology:work_of_art . ?o rdf:type ontology:album } } GROUP BY ?a } . FILTER ( ?z <= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1758014 Q3746127
P161
Q502895
USER
Which people starred in I am fishead or The Story of Mankind ?
OR((Q3746127,P161,c(Q502895)), (Q1758014,P161,c(Q502895)))
action filter_type
action union
action find
entity Q3746127
relation P161
action find
entity Q1758014
relation P161
type Q502895
{'OR': [['Q3746127', 'P161', {'concept': 'Q502895'}], ['Q1758014', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3746127 property:P161 ?p } UNION { resource:Q1758014 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
The Story of Mankind I am fishead
action filter_type
action union
action find
entity I am fishead
relation cast member
action find
entity The Story of Mankind
relation cast member
type common name
{'OR': [['I am fishead', 'cast member', {'concept': 'common name'}], ['The Story of Mankind', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:I_am_fishead property:cast_member ?p } UNION { resource:The_Story_of_Mankind property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
common name
Q370108 Q350690 Q296042 Q312878 Q1305569 Q524094 Q232245 Q904188 Q231221 Q36949
SYSTEM
Some of them are Angelo Rossitto, Charles Coburn, Philip Zimbardo, John Carradine, Marie Wilson, Cathy O'Donnell, Virginia Mayo, Robert Hare, Agnes Moorehead, Robert De Niro
Q312878 Q36949 Q1305569 Q1369906 Q102711 Q181786 Q354873 Q380054 Q2448652 Q524094 Q219640 Q904188 Q2448340 Q49034 Q317237 Q2700080 Q103846 Q78505 Q443585 Q6778428 Q534428 Q527735 Q1368590 Q1444608 Q296042 Q296047 Q350690 Q370108 Q743056 Q1292160 Q231221 Q3830310 Q36233 Q232245
OR((Q3746127,P161,c(Q502895)), (Q1758014,P161,c(Q502895)))
action filter_type
action union
action find
entity Q3746127
relation P161
action find
entity Q1758014
relation P161
type Q502895
[ANSWERS]
{'OR': [['Q3746127', 'P161', {'concept': 'Q502895'}], ['Q1758014', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q3746127 property:P161 ?p } UNION { resource:Q1758014 property:P161 ?p } } . ?p rdf:type ontology:Q502895 }
John Carradine Robert De Niro Marie Wilson Henry Daniell Dennis Hopper Ronald Colman Peter Coyote Chico Marx Marie Windsor Cathy O'Donnell Vincent Price Robert Hare Reginald Gardiner Hedy Lamarr Harpo Marx Marie Wilson Groucho Marx Peter Lorre Cesar Romero Marvin Miller John Perry Barlow Cedric Hardwicke Francis X. Bushman Melville Cooper Philip Zimbardo Sam Harris Charles Coburn Angelo Rossitto Helmut Dantine Edward Everett Horton Agnes Moorehead Leonard Mudie Václav Havel Virginia Mayo
Angelo Rossitto Charles Coburn Philip Zimbardo John Carradine Marie Wilson Cathy O'Donnell Virginia Mayo Robert Hare Agnes Moorehead Robert De Niro
action filter_type
action union
action find
entity I am fishead
relation cast member
action find
entity The Story of Mankind
relation cast member
type common name
{'OR': [['I am fishead', 'cast member', {'concept': 'common name'}], ['The Story of Mankind', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?p WHERE { { { resource:I_am_fishead property:cast_member ?p } UNION { resource:The_Story_of_Mankind property:cast_member ?p } } . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q128413
P35
Q502895 Q7275 Q1048835
USER
How many people are the heads of state of greater number of states and political territories than Yazid III ?
(c(Q7275)|c(Q1048835),P35,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q128413
relation P35
type Q7275
type Q1048835
[[{'concept': 'Q7275'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { VALUES ( ?d ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } . ?e rdf:type ?d } GROUP BY ?m } . FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P35 resource:Q128413 . { VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?o rdf:type ?k } } } }
Yazid III
action count
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Yazid III
relation head of state
type state
type political territorial entity
[[{'concept': 'state'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { VALUES ( ?d ) { ( ontology:state ) ( ontology:political_territorial_entity ) } . ?e rdf:type ?d } GROUP BY ?m } . FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:head_of_state resource:Yazid_III . { VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?o rdf:type ?k } } } }
[]
common name state political territorial entity
SYSTEM
165
Q2573 Q2571 Q19830768 Q19830761 Q2494376 Q154952 Q67345 Q19464383 Q19830715 Q16105901 Q152274 Q151667 Q157651 Q13014 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q19831432 Q151312 Q151087 Q267745 Q19810371 Q58056 Q400961 Q94941 Q187149 Q157812 Q153688 Q444290 Q16849387 Q20875 Q2610 Q19831452 Q155002 Q250087 Q9439 Q1354851 Q335323 Q2542 Q2540 Q379203 Q150642 Q735387 Q36233 Q154936 Q156617 Q555531 Q157789 Q976974 Q290786 Q773874 Q886786 Q7244117 Q6127060 Q2594 Q570155 Q161958 Q154998 Q182266 Q2646 Q156187 Q151305 Q76437 Q189186 Q335310 Q157793 Q93427 Q19830746 Q11753 Q280856 Q157099 Q34464 Q362618 Q334923 Q157776 Q590227 Q102139 Q8467 Q2601 Q2602 Q2607 Q39619 Q270645 Q570195 Q156572 Q335033 Q163945 Q30487 Q223183 Q213791 Q2551 Q84204 Q156502 Q257425 Q468847 Q160318 Q355053 Q210329 Q84475 Q153940 Q57232 Q269412 Q6127112 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q354705 Q154041 Q19831457 Q2569 Q156494 Q2563 Q2567 Q152463 Q157781 Q299629 Q11726 Q168691 Q1354229 Q371854 Q72856 Q161059 Q62483 Q661663 Q19861344 Q7726 Q72898 Q150620 Q1260 Q2582 Q6225811 Q172083 Q153586 Q704339 Q310000 Q2667 Q159585 Q37731 Q154460 Q43915 Q1356927 Q334111 Q19628885 Q84263 Q2538 Q296054 Q57521 Q352 Q1382174 Q130834 Q150652 Q150712 Q229300 Q19831445 Q51672 Q333824 Q65917 Q9682 Q2628 Q19831449
(c(Q7275)|c(Q1048835),P35,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q128413
relation P35
type Q7275
type Q1048835
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { VALUES ( ?d ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } . ?e rdf:type ?d } GROUP BY ?m } . FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:P35 resource:Q128413 . { VALUES ( ?k ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } . ?o rdf:type ?k } } } }
Gustav Heinemann Walter Scheel Thomas Currie Jonathan Lambert Edmund Lawrence Willem-Alexander of the Netherlands John William, Duke of Jülich-Cleves-Berg John Woolley Robert Ben Madison Paul Delprat Edvard Beneš Ferdinand I of Bulgaria Gustáv Husák Franz Jonas Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Giuseppe Bertoleoni Frederick IX of Denmark Jérôme Bonaparte William Deane Vít Jedlička Christopher of Bavaria Ahmad bin Yahya Frederick VII of Denmark Umberto II of Italy Frederick III of Denmark Umberto I of Italy Louis, King of Etruria Jam Nizamuddin II Edward VII Willi Stoph Carlo II Bertoleoni Frederick VI of Denmark Bill Hayden Queen Victoria John Kerr William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Khieu Samphan Vittorio Emanuele III William McKell Václav Havel Arnulf of Carinthia Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Jam Feruzudin Theodor Heuss John II, Duke of Cleves Eric of Pomerania Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Christian IX of Denmark Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Christian V of Denmark Archduke John of Austria King Louis I of Talossa Heinz Fischer George VI Louis the Child Philip III of Spain Adolph I, Duke of Cleves Abu Bakr John, King of Denmark Edward VIII Margrethe II of Denmark Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Rose Francine Rogombé John I, Duke of Cleves Christian VII of Denmark William Slim, 1st Viscount Slim Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Johannes Rau Theodor Körner Emil Hácha Gojong of the Korean Empire Oswiu of Northumbria Norodom Sihanouk Michael Jeffery Yuan Shikai Michael Hainisch Christian I of Denmark Sabine Bergmann-Pohl George V Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Frederick Ballantyne Frederick II of Denmark Tonino Bertoleoni Karl Carstens Antonín Novotný Roman Herzog Richard von Weizsäcker Louis the German Christian VIII of Denmark Léon M'ba Karl Renner Victor Emmanuel II of Savoy Peter Hollingworth Antonín Zápotocký Rudolf Kirchschläger Frederick IV of Denmark William, Duke of Jülich-Cleves-Berg Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Adolf Schärf Henry I the Fowler Kurt Waldheim Heinrich Lübke John Charlton Rudge Omar Bongo Christian IV of Denmark John III, Duke of Cleves Ludvík Svoboda Paul von Hindenburg Boris III of Bulgaria Uthman ibn Affan Christian II of Denmark Otto I the Great Ninian Stephen Sunjong of the Korean Empire Michael Bates Wilhelm Miklas Joachim Gauck Klement Gottwald Ali Bongo Ondimba Adolf Hitler Paul Hasluck Francis I of Austria Wilhelm I of Germany Charles the Fat Quentin Bryce Mariangela Bertoleoni Herod the Great William Sidney, 1st Viscount De L'Isle Wilhelm Pieck Elizabeth II Walter Ulbricht Paolo II Bertoleoni
165
action count
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Yazid III
relation head of state
type state
type political territorial entity
[[{'concept': 'state'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?i ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?w ) WHERE { VALUES ( ?d ) { ( ontology:state ) ( ontology:political_territorial_entity ) } . ?e rdf:type ?d } GROUP BY ?m } . FILTER ( ?w > ?z ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?z ) WHERE { ?o property:head_of_state resource:Yazid_III . { VALUES ( ?k ) { ( ontology:political_territorial_entity ) ( ontology:state ) } . ?o rdf:type ?k } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q188409
P35
Q502895 Q7275 Q1048835
USER
And also tell me about Yevgeny Shevchuk?
(c(Q7275)|c(Q1048835),P35,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q188409
relation P35
type Q7275
type Q1048835
[[{'concept': 'Q7275'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?r WHERE { { ?t property:P35 ?r . ?t rdf:type ontology:Q7275 . ?r rdf:type ontology:Q502895 } UNION { ?t property:P35 ?r . ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P35 resource:Q188409 . { { ?b rdf:type ontology:Q7275 } UNION { ?b rdf:type ontology:Q1048835 } } } } . FILTER ( ?x > ?w ) }
Yevgeny Shevchuk
action count
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Yevgeny Shevchuk
relation head of state
type state
type political territorial entity
[[{'concept': 'state'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?r WHERE { { ?t property:head_of_state ?r . ?t rdf:type ontology:state . ?r rdf:type ontology:common_name } UNION { ?t property:head_of_state ?r . ?r rdf:type ontology:common_name . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:head_of_state resource:Yevgeny_Shevchuk . { { ?b rdf:type ontology:state } UNION { ?b rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?x > ?w ) }
[]
common name state political territorial entity
SYSTEM
165
Q2573 Q2571 Q19830768 Q19830761 Q2494376 Q154952 Q67345 Q19464383 Q19830715 Q16105901 Q152274 Q151667 Q157651 Q13014 Q78490 Q19831439 Q78492 Q19831437 Q152756 Q352200 Q19831432 Q151312 Q151087 Q267745 Q19810371 Q58056 Q400961 Q94941 Q187149 Q157812 Q153688 Q444290 Q16849387 Q20875 Q2610 Q19831452 Q155002 Q250087 Q9439 Q1354851 Q335323 Q2542 Q2540 Q379203 Q150642 Q735387 Q36233 Q154936 Q156617 Q555531 Q157789 Q976974 Q290786 Q773874 Q886786 Q7244117 Q6127060 Q2594 Q570155 Q161958 Q154998 Q182266 Q2646 Q156187 Q151305 Q76437 Q189186 Q335310 Q157793 Q93427 Q19830746 Q11753 Q280856 Q157099 Q34464 Q362618 Q334923 Q157776 Q590227 Q102139 Q8467 Q2601 Q2602 Q2607 Q39619 Q270645 Q570195 Q156572 Q335033 Q163945 Q30487 Q223183 Q213791 Q2551 Q84204 Q156502 Q257425 Q468847 Q160318 Q355053 Q210329 Q84475 Q153940 Q57232 Q269412 Q6127112 Q19831185 Q19831184 Q19831183 Q154993 Q157121 Q354705 Q154041 Q19831457 Q2569 Q156494 Q2563 Q2567 Q152463 Q157781 Q299629 Q11726 Q168691 Q1354229 Q371854 Q72856 Q161059 Q62483 Q661663 Q19861344 Q7726 Q72898 Q150620 Q1260 Q2582 Q6225811 Q172083 Q153586 Q704339 Q310000 Q2667 Q159585 Q37731 Q154460 Q43915 Q1356927 Q334111 Q19628885 Q84263 Q2538 Q296054 Q57521 Q352 Q1382174 Q130834 Q150652 Q150712 Q229300 Q19831445 Q51672 Q333824 Q65917 Q9682 Q2628 Q19831449
(c(Q7275)|c(Q1048835),P35,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q188409
relation P35
type Q7275
type Q1048835
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?r WHERE { { ?t property:P35 ?r . ?t rdf:type ontology:Q7275 . ?r rdf:type ontology:Q502895 } UNION { ?t property:P35 ?r . ?r rdf:type ontology:Q502895 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:P35 resource:Q188409 . { { ?b rdf:type ontology:Q7275 } UNION { ?b rdf:type ontology:Q1048835 } } } } . FILTER ( ?x > ?w ) }
Gustav Heinemann Walter Scheel Thomas Currie Jonathan Lambert Edmund Lawrence Willem-Alexander of the Netherlands John William, Duke of Jülich-Cleves-Berg John Woolley Robert Ben Madison Paul Delprat Edvard Beneš Ferdinand I of Bulgaria Gustáv Husák Franz Jonas Thomas Klestil Carlo I Bertoleoni Tomáš Garrigue Masaryk Paolo I Bertoleoni Frederick VIII of Denmark Charles II, Duke of Parma Giuseppe Bertoleoni Frederick IX of Denmark Jérôme Bonaparte William Deane Vít Jedlička Christopher of Bavaria Ahmad bin Yahya Frederick VII of Denmark Umberto II of Italy Frederick III of Denmark Umberto I of Italy Louis, King of Etruria Jam Nizamuddin II Edward VII Willi Stoph Carlo II Bertoleoni Frederick VI of Denmark Bill Hayden Queen Victoria John Kerr William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Khieu Samphan Vittorio Emanuele III William McKell Václav Havel Arnulf of Carinthia Christian X of Denmark Paddy Roy Bates Frederick I of Denmark Peter Cosgrove Stefan Dragutin Maria I of Portugal Orélie-Antoine de Tounens Prince Karl Emich of Leiningen Jam Feruzudin Theodor Heuss John II, Duke of Cleves Eric of Pomerania Christian III of Denmark Xiang Yu Friedrich Ebert Frederick V of Denmark Christian IX of Denmark Karl Dönitz Zelman Cowen Richard Casey, Baron Casey Christian V of Denmark Archduke John of Austria King Louis I of Talossa Heinz Fischer George VI Louis the Child Philip III of Spain Adolph I, Duke of Cleves Abu Bakr John, King of Denmark Edward VIII Margrethe II of Denmark Umar ibn Al-Khattāb Manfred Gerlach Egon Krenz Erich Honecker Alī ibn Abī Ṭālib Rose Francine Rogombé John I, Duke of Cleves Christian VII of Denmark William Slim, 1st Viscount Slim Yahya Muhammad Hamid ed-Din Mikhail Gorbachev Peter II of Yugoslavia Eric Bloodaxe Johannes Rau Theodor Körner Emil Hácha Gojong of the Korean Empire Oswiu of Northumbria Norodom Sihanouk Michael Jeffery Yuan Shikai Michael Hainisch Christian I of Denmark Sabine Bergmann-Pohl George V Jam Unar Georgette Bertin-Pourchet Gabrielle Pourchet Georges Pourchet Christian VI of Denmark Conrad I of Germany Frederick Ballantyne Frederick II of Denmark Tonino Bertoleoni Karl Carstens Antonín Novotný Roman Herzog Richard von Weizsäcker Louis the German Christian VIII of Denmark Léon M'ba Karl Renner Victor Emmanuel II of Savoy Peter Hollingworth Antonín Zápotocký Rudolf Kirchschläger Frederick IV of Denmark William, Duke of Jülich-Cleves-Berg Stephen Vladislav II of Syrmia Niels Vermeersch Joseph Bonaparte Adolf Schärf Henry I the Fowler Kurt Waldheim Heinrich Lübke John Charlton Rudge Omar Bongo Christian IV of Denmark John III, Duke of Cleves Ludvík Svoboda Paul von Hindenburg Boris III of Bulgaria Uthman ibn Affan Christian II of Denmark Otto I the Great Ninian Stephen Sunjong of the Korean Empire Michael Bates Wilhelm Miklas Joachim Gauck Klement Gottwald Ali Bongo Ondimba Adolf Hitler Paul Hasluck Francis I of Austria Wilhelm I of Germany Charles the Fat Quentin Bryce Mariangela Bertoleoni Herod the Great William Sidney, 1st Viscount De L'Isle Wilhelm Pieck Elizabeth II Walter Ulbricht Paolo II Bertoleoni
165
action count
action greater
action union
action find_reverse_tuple_counts
relation head of state
type common name
type state
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Yevgeny Shevchuk
relation head of state
type state
type political territorial entity
[[{'concept': 'state'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?r WHERE { { ?t property:head_of_state ?r . ?t rdf:type ontology:state . ?r rdf:type ontology:common_name } UNION { ?t property:head_of_state ?r . ?r rdf:type ontology:common_name . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { ?b property:head_of_state resource:Yevgeny_Shevchuk . { { ?b rdf:type ontology:state } UNION { ?b rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?x > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15421 Q213
P47
Q1048835
USER
Which political territories have a shared border with Czech Republic or Gualba ?
OR((Q213,P47,c(Q1048835)), (Q15421,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q213
relation P47
action find
entity Q15421
relation P47
type Q1048835
{'OR': [['Q213', 'P47', {'concept': 'Q1048835'}], ['Q15421', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { ?v property:P47 ?k . VALUES ( ?v ) { ( resource:Q213 ) ( resource:Q15421 ) } } . ?k rdf:type ontology:Q1048835 }
Gualba Czech Republic
action filter_type
action union
action find
entity Czech Republic
relation shares border with
action find
entity Gualba
relation shares border with
type political territorial entity
{'OR': [['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}], ['Gualba', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?v property:shares_border_with ?k . VALUES ( ?v ) { ( resource:Czech_Republic ) ( resource:Gualba ) } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40 Q183 Q15441 Q15401 Q15411 Q13073
SYSTEM
Austria, Germany, Sant Celoni, Campins, Fogars de Montclús, Riells i Viabrea
Q40 Q183 Q15441 Q15401 Q15411 Q13073
OR((Q213,P47,c(Q1048835)), (Q15421,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q213
relation P47
action find
entity Q15421
relation P47
type Q1048835
[ANSWERS]
{'OR': [['Q213', 'P47', {'concept': 'Q1048835'}], ['Q15421', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { ?v property:P47 ?k . VALUES ( ?v ) { ( resource:Q213 ) ( resource:Q15421 ) } } . ?k rdf:type ontology:Q1048835 }
Austria Germany Sant Celoni Campins Fogars de Montclús Riells i Viabrea
Austria Germany Sant Celoni Campins Fogars de Montclús Riells i Viabrea
action filter_type
action union
action find
entity Czech Republic
relation shares border with
action find
entity Gualba
relation shares border with
type political territorial entity
{'OR': [['Czech Republic', 'shares border with', {'concept': 'political territorial entity'}], ['Gualba', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { ?v property:shares_border_with ?k . VALUES ( ?v ) { ( resource:Czech_Republic ) ( resource:Gualba ) } } . ?k rdf:type ontology:political_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1427
Q1048835 Q2912397
USER
How many political territories do greater number of single-day races originate from than that political territory ?
(c(Q2912397),P1427,c(Q1048835))
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity single-day race
Comparative|Count over More/Less|Single entity type|Clarification
Q15411
SYSTEM
Did you mean Fogars de Montclús ?
(c(Q2912397),P1427,c(Q1048835))
[ANSWER]
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
Did you mean Fogars de Montclús ?
Fogars de Montclús
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Germany. Could you tell me the answer for that?
(c(Q2912397),P1427,c(Q1048835))
Q183
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
[]
SYSTEM
2
Q492420 Q672483
(c(Q2912397),P1427,c(Q1048835))
[ANSWER]
[{'concept': 'Q2912397'}, 'P1427', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1427 ?y . ?z rdf:type ontology:Q2912397 . ?y rdf:type ontology:Q1048835 }
Getxo Ordizia
2
[{'concept': 'single-day race'}, 'start point', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:start_point ?y . ?z rdf:type ontology:single-day_race . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have a diplomatic relationship with around 3 political territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?t property:P530 ?o } GROUP BY ?t } . FILTER ( ?e = 3 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation ?o } GROUP BY ?t } . FILTER ( ?e = 3 ) }
[]
designation for an administrative territorial entity political territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q142 Q145 Q711 Q252 Q403 Q258 Q159 Q43 Q884 Q33 Q30 Q36 Q34 Q39 Q739 Q423 Q851 Q20 Q843 Q1029 Q229 Q1030 Q115 Q114 Q212 Q218 Q833 Q79 Q77 Q878 Q953
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 3
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?t property:P530 ?o } GROUP BY ?t } . FILTER ( ?e = 3 ) }
Israel France United Kingdom Mongolia Indonesia Serbia South Africa Russia Turkey South Korea Finland United States of America Poland Sweden Switzerland Colombia North Korea Saudi Arabia Norway Pakistan Mozambique Cyprus Namibia Ethiopia Kenya Ukraine Romania Malaysia Egypt Uruguay United Arab Emirates Zambia
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 3
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?o ) AS ?e ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?t property:diplomatic_relation ?o } GROUP BY ?t } . FILTER ( ?e = 3 ) }
[]