Simple Question (Direct)
Simple Question
Q3568747
P69
Q1055028
USER
Which college of the University of Cambridge is William John Locke an alumni of ?
(Q3568747,P69,c(Q1055028))
action filter_type
action find
entity Q3568747
relation P69
type Q1055028
['Q3568747', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1055028 . resource:Q3568747 property:P69 ?w }
William John Locke
action filter_type
action find
entity William John Locke
relation educated at
type college of the University of Cambridge
['William John Locke', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:college_of_the_University_of_Cambridge . resource:William_John_Locke property:educated_at ?w }
[]
college of the University of Cambridge
Q691283
SYSTEM
St John's College
Q691283
(Q3568747,P69,c(Q1055028))
action filter_type
action find
entity Q3568747
relation P69
type Q1055028
[ANSWER] is William John Locke an alumni of
['Q3568747', 'P69', {'concept': 'Q1055028'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q1055028 . resource:Q3568747 property:P69 ?w }
St John's College
St John's College is William John Locke an alumni of
St John's College
action filter_type
action find
entity William John Locke
relation educated at
type college of the University of Cambridge
['William John Locke', 'educated at', {'concept': 'college of the University of Cambridge'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:college_of_the_University_of_Cambridge . resource:William_John_Locke property:educated_at ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3568747
P21
Q290
USER
Which sex does William John Locke belong to ?
(Q3568747,P21,c(Q290))
action filter_type
action find
entity Q3568747
relation P21
type Q290
['Q3568747', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3568747 property:P21 ?n . ?n rdf:type ontology:Q290 }
William John Locke
action filter_type
action find
entity William John Locke
relation gender
type sex
['William John Locke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:William_John_Locke property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3568747,P21,c(Q290))
action filter_type
action find
entity Q3568747
relation P21
type Q290
William John Locke belongs to [ANSWER]
['Q3568747', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q3568747 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
William John Locke belongs to male
male
action filter_type
action find
entity William John Locke
relation gender
type sex
['William John Locke', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:William_John_Locke property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3568747
P58
Q838948
USER
Which work of art is William John Locke a screenwriter of ?
(c(Q838948),P58,Q3568747)
action filter_type
action find_reverse
entity Q3568747
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q3568747']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P58 resource:Q3568747 }
William John Locke
action filter_type
action find_reverse
entity William John Locke
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'William John Locke']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:screenwriter resource:William_John_Locke }
[]
work of art
Q7752227
SYSTEM
The Morals of Marcus
Q7752227
(c(Q838948),P58,Q3568747)
action filter_type
action find_reverse
entity Q3568747
relation P58
type Q838948
The [ANSWER] is William John Locke a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q3568747']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q838948 . ?c property:P58 resource:Q3568747 }
The Morals of Marcus
The The Morals of Marcus is William John Locke a screenwriter of
The Morals of Marcus
action filter_type
action find_reverse
entity William John Locke
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'William John Locke']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:work_of_art . ?c property:screenwriter resource:William_John_Locke }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3568747
P50
Q2342494
USER
Which collectables were written by that person ?
(c(Q2342494),P50,Q7752227)
action filter_type
action find_reverse
entity Q3568747
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q7752227']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2342494 . ?y property:P50 resource:Q3568747 }
William John Locke
action filter_type
action find_reverse
entity William John Locke
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'The Morals of Marcus']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collectable . ?y property:author resource:William_John_Locke }
[]
collectable
Q7752230 Q7716494
SYSTEM
The Morals of Marcus Ordeyne, The Beloved Vagabond
Q7752230 Q7716494
(c(Q2342494),P50,Q7752227)
action filter_type
action find_reverse
entity Q3568747
relation P50
type Q2342494
[ANSWERS] were written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q7752227']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2342494 . ?y property:P50 resource:Q3568747 }
The Morals of Marcus Ordeyne The Beloved Vagabond
The Morals of Marcus Ordeyne and The Beloved Vagabond were written by that person
The Morals of Marcus Ordeyne The Beloved Vagabond
action filter_type
action find_reverse
entity William John Locke
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'The Morals of Marcus']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:collectable . ?y property:author resource:William_John_Locke }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q7734234
P144
Q277759 Q234460 Q2342494
USER
How many collectables are based on around the same number of book series or texts as The Fish That Saved Pittsburgh ?
(c(Q2342494),P144,c(Q277759)|c(Q234460))
action count
action approx
action union
action find_tuple_counts
relation P144
type Q2342494
type Q277759
action find_tuple_counts
relation P144
type Q2342494
type Q234460
action count
action filter_multi_types
action find
entity Q7734234
relation P144
type Q277759
type Q234460
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q277759'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?i ) WHERE { { ?c property:P144 ?w . ?w rdf:type ontology:Q277759 . ?c rdf:type ontology:Q2342494 } UNION { ?c property:P144 ?w . ?w rdf:type ontology:Q234460 . ?c rdf:type ontology:Q2342494 } } GROUP BY ?c } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q7734234 property:P144 ?h . { { ?h rdf:type ontology:Q277759 } UNION { ?h rdf:type ontology:Q234460 } } } } }
The Fish That Saved Pittsburgh
action count
action approx
action union
action find_tuple_counts
relation based on
type collectable
type book series
action find_tuple_counts
relation based on
type collectable
type text
action count
action filter_multi_types
action find
entity The Fish That Saved Pittsburgh
relation based on
type book series
type text
[{'concept': 'collectable'}, 'based on', [{'concept': 'book series'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?i ) WHERE { { ?c property:based_on ?w . ?w rdf:type ontology:book_series . ?c rdf:type ontology:collectable } UNION { ?c property:based_on ?w . ?w rdf:type ontology:text . ?c rdf:type ontology:collectable } } GROUP BY ?c } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:The_Fish_That_Saved_Pittsburgh property:based_on ?h . { { ?h rdf:type ontology:book_series } UNION { ?h rdf:type ontology:text } } } } }
[]
book series text collectable
SYSTEM
76
Q24717823 Q175020 Q26214657 Q1613936 Q2614669 Q23163 Q19476471 Q11513252 Q1213312 Q896294 Q7734234 Q4727821 Q847426 Q8057612 Q16466017 Q7762604 Q7763420 Q7631568 Q12040379 Q7578765 Q137869 Q7601035 Q6129984 Q1106479 Q18147989 Q1192034 Q1171108 Q16062408 Q4795644 Q15145790 Q896822 Q4656004 Q5364958 Q5849514 Q4686701 Q5979550 Q3497005 Q8071845 Q19816697 Q5439453 Q26706229 Q5291021 Q4582141 Q6005315 Q279676 Q10625094 Q11306262 Q169976 Q4189809 Q4502764 Q16154898 Q7755492 Q3611744 Q3563423 Q2756027 Q4657060 Q7773608 Q4317887 Q3735626 Q5241061 Q20952594 Q3831442 Q4795656 Q21203529 Q19867018 Q1605815 Q13423107 Q3107329 Q6522562 Q1187056 Q23682789 Q16953491 Q2316049 Q2572480 Q1788243 Q19816576
(c(Q2342494),P144,c(Q277759)|c(Q234460))
action count
action approx
action union
action find_tuple_counts
relation P144
type Q2342494
type Q277759
action find_tuple_counts
relation P144
type Q2342494
type Q234460
action count
action filter_multi_types
action find
entity Q7734234
relation P144
type Q277759
type Q234460
[ANSWER]
[{'concept': 'Q2342494'}, 'P144', [{'concept': 'Q277759'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?i ) WHERE { { ?c property:P144 ?w . ?w rdf:type ontology:Q277759 . ?c rdf:type ontology:Q2342494 } UNION { ?c property:P144 ?w . ?w rdf:type ontology:Q234460 . ?c rdf:type ontology:Q2342494 } } GROUP BY ?c } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:Q7734234 property:P144 ?h . { { ?h rdf:type ontology:Q277759 } UNION { ?h rdf:type ontology:Q234460 } } } } }
Shakuntala Asterix Conquers Rome Rajmala Bored of the Rings The House of Silk A Scientific Romance Gweledigaethau y Bardd Cwsc Blade Runner The Heathens of Kummerow Cycle of Hatred The Fish That Saved Pittsburgh All-Consuming Fire The Devotion of Suspect X You Will Go to the Moon Serenity The Scorch Trials The Seven-Per-Cent Solution Submarine: A Guided Tour Inside a Nuclear Warship Nanobook Spock, Messiah! Germinal Star Trek James Bond and Moonraker An Inconvenient Truth Pictorum aliquot celebrium Germaniae inferioris effigies Star Wars Episode II: Attack of the Clones The Barsac Mission Long Way Down Around the World in 80 Days Shorter Oxford English Dictionary World of Warcraft: Beyond the Dark Portal A Colder War Kizumonogatari Estoria de los godos Adversary in the House I Want a Dog Star Wars Episode I: The Phantom Menace Zij-i Ilkhani Washington Stamp Fearless Grzimeks Enzyklopädie Dominion 1985 Immortal Michael Kohlhaas The bible of Peter Fjellstedt Samkok Northern Lights Star Wars Episode III: Revenge of the Sith Halloween A Boy Scout Around the World The Other Log of Phileas Fogg Alien The Three Princes of Serendip Fingersmith A Glimpse of Hell The Warriors Nightbringer Black Coffee Legacy of Blood Ephemeris or Almanack based on Coppernican principles The Lexicon: An Unauthorized Guide to Harry Potter Fiction and Related Materials Around the World in Seventy-Two Days Welcome to Night Vale Baldur's Gate II: The Throne of Bhaal The Eyre Affair 1001 Vrouwen uit de Nederlandse geschiedenis The Hitchhiker's Guide to the Galaxy Lenin The Tailor of Panama Poems The 34th Rule Revised Version The Amityville Horror The Unknown Soldier Franklin Stamp
76
action count
action approx
action union
action find_tuple_counts
relation based on
type collectable
type book series
action find_tuple_counts
relation based on
type collectable
type text
action count
action filter_multi_types
action find
entity The Fish That Saved Pittsburgh
relation based on
type book series
type text
[{'concept': 'collectable'}, 'based on', [{'concept': 'book series'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?i ) WHERE { { ?c property:based_on ?w . ?w rdf:type ontology:book_series . ?c rdf:type ontology:collectable } UNION { ?c property:based_on ?w . ?w rdf:type ontology:text . ?c rdf:type ontology:collectable } } GROUP BY ?c } . FILTER ( ?i = ?v ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { resource:The_Fish_That_Saved_Pittsburgh property:based_on ?h . { { ?h rdf:type ontology:book_series } UNION { ?h rdf:type ontology:text } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7752227
P344
Q502895
USER
Who is the cinematographer of The Morals of Marcus ?
(Q7752227,P344,c(Q502895))
action filter_type
action find
entity Q7752227
relation P344
type Q502895
['Q7752227', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7752227 property:P344 ?u . ?u rdf:type ontology:Q502895 }
The Morals of Marcus
action filter_type
action find
entity The Morals of Marcus
relation director of photography
type common name
['The Morals of Marcus', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Morals_of_Marcus property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
common name
Q7659838
SYSTEM
Sydney Blythe
Q7659838
(Q7752227,P344,c(Q502895))
action filter_type
action find
entity Q7752227
relation P344
type Q502895
The cinematographer of The Morals of Marcus is to [ANSWER]
['Q7752227', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7752227 property:P344 ?u . ?u rdf:type ontology:Q502895 }
Sydney Blythe
The cinematographer of The Morals of Marcus is to Sydney Blythe
Sydney Blythe
action filter_type
action find
entity The Morals of Marcus
relation director of photography
type common name
['The Morals of Marcus', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:The_Morals_of_Marcus property:director_of_photography ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1157149
Q502895
USER
And how about Daft Punk's Electroma?
(Q1157149,P344,c(Q502895))
action filter_type
action find
entity Q1157149
relation P344
type Q502895
['Q1157149', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1157149 property:P344 ?j . ?j rdf:type ontology:Q502895 }
Daft Punk's Electroma
action filter_type
action find
entity Daft Punk's Electroma
relation director of photography
type common name
["Daft Punk's Electroma", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Daft_Punk's_Electroma property:director_of_photography ?j . ?j rdf:type ontology:common_name }
[]
common name
Q471656
SYSTEM
Thomas Bangalter
Q471656
(Q1157149,P344,c(Q502895))
action filter_type
action find
entity Q1157149
relation P344
type Q502895
[ANSWER]
['Q1157149', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1157149 property:P344 ?j . ?j rdf:type ontology:Q502895 }
Thomas Bangalter
Thomas Bangalter
action filter_type
action find
entity Daft Punk's Electroma
relation director of photography
type common name
["Daft Punk's Electroma", 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Daft_Punk's_Electroma property:director_of_photography ?j . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3119598 Q3568747
P20
Q56061
USER
Which administrative territories did the demise of William John Locke or Guillaume-Ferdinand de Douhet occur ?
OR((Q3568747,P20,c(Q56061)), (Q3119598,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3568747
relation P20
action find
entity Q3119598
relation P20
type Q56061
{'OR': [['Q3568747', 'P20', {'concept': 'Q56061'}], ['Q3119598', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3568747 property:P20 ?r } UNION { resource:Q3119598 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Guillaume-Ferdinand de Douhet William John Locke
action filter_type
action union
action find
entity William John Locke
relation place of death
action find
entity Guillaume-Ferdinand de Douhet
relation place of death
type administrative territorial entity
{'OR': [['William John Locke', 'place of death', {'concept': 'administrative territorial entity'}], ['Guillaume-Ferdinand de Douhet', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:William_John_Locke property:place_of_death ?r } UNION { resource:Guillaume-Ferdinand_de_Douhet property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q621 Q90
SYSTEM
Versailles, Paris
Q621 Q90
OR((Q3568747,P20,c(Q56061)), (Q3119598,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3568747
relation P20
action find
entity Q3119598
relation P20
type Q56061
The demise of William John Locke or Guillaume-Ferdinand de Douhet occurred in [ANSWERS]
{'OR': [['Q3568747', 'P20', {'concept': 'Q56061'}], ['Q3119598', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q3568747 property:P20 ?r } UNION { resource:Q3119598 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Versailles Paris
The demise of William John Locke or Guillaume-Ferdinand de Douhet occurred in Versailles and Paris
Versailles Paris
action filter_type
action union
action find
entity William John Locke
relation place of death
action find
entity Guillaume-Ferdinand de Douhet
relation place of death
type administrative territorial entity
{'OR': [['William John Locke', 'place of death', {'concept': 'administrative territorial entity'}], ['Guillaume-Ferdinand de Douhet', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:William_John_Locke property:place_of_death ?r } UNION { resource:Guillaume-Ferdinand_de_Douhet property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2573257 Q3119598
P39 P106
Q12737077
USER
Which occupations were the positions for which Guillaume-Ferdinand de Douhet were appointed or are the professions of Charles-Gérard Eyschen ?
OR((Q3119598,P39,c(Q12737077)), (Q2573257,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3119598
relation P39
action find
entity Q2573257
relation P106
type Q12737077
{'OR': [['Q3119598', 'P39', {'concept': 'Q12737077'}], ['Q2573257', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . { { resource:Q3119598 property:P39 ?w } UNION { resource:Q2573257 property:P106 ?w } } }
Charles-Gérard Eyschen Guillaume-Ferdinand de Douhet
action filter_type
action union
action find
entity Guillaume-Ferdinand de Douhet
relation position held
action find
entity Charles-Gérard Eyschen
relation occupation
type occupation
{'OR': [['Guillaume-Ferdinand de Douhet', 'position held', {'concept': 'occupation'}], ['Charles-Gérard Eyschen', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . { { resource:Guillaume-Ferdinand_de_Douhet property:position_held ?w } UNION { resource:Charles-Gérard_Eyschen property:occupation ?w } } }
[]
occupation
Q16533 Q3510904 Q21032547 Q3044918 Q82955
SYSTEM
judge, irremovable senator, senator of the French Third Republic, member of the French National Assembly, politician
Q16533 Q3510904 Q21032547 Q3044918 Q82955
OR((Q3119598,P39,c(Q12737077)), (Q2573257,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q3119598
relation P39
action find
entity Q2573257
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q3119598', 'P39', {'concept': 'Q12737077'}], ['Q2573257', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . { { resource:Q3119598 property:P39 ?w } UNION { resource:Q2573257 property:P106 ?w } } }
judge irremovable senator senator of the French Third Republic member of the French National Assembly politician
Senator of the French Third Republic, member of the French National Assembly and politician were the positions for which Guillaume-Ferdinand de Douhet were appointed or are the professions of Charles-Gérard Eyschen
judge irremovable senator senator of the French Third Republic member of the French National Assembly politician
action filter_type
action union
action find
entity Guillaume-Ferdinand de Douhet
relation position held
action find
entity Charles-Gérard Eyschen
relation occupation
type occupation
{'OR': [['Guillaume-Ferdinand de Douhet', 'position held', {'concept': 'occupation'}], ['Charles-Gérard Eyschen', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . { { resource:Guillaume-Ferdinand_de_Douhet property:position_held ?w } UNION { resource:Charles-Gérard_Eyschen property:occupation ?w } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q628179 Q728937
USER
How many administrative territories are a terminus for around 1 trails and railroad lines ?
(c(Q628179)|c(Q728937),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
value 1
[[{'concept': 'Q628179'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q628179 ) ( ontology:Q728937 ) } } GROUP BY ?e } . FILTER ( ?j = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
value 1
[[{'concept': 'trail'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:trail ) ( ontology:railroad_line ) } } GROUP BY ?e } . FILTER ( ?j = 1 ) }
[]
administrative territorial entity trail railroad line
SYSTEM
29
Q3112707 Q837211 Q2814 Q82490 Q796625 Q130191 Q727 Q7986745 Q28327 Q33959 Q586 Q1017331 Q1020951 Q257034 Q1571025 Q856860 Q517381 Q1248150 Q1781385 Q375905 Q643160 Q17872 Q129610 Q766594 Q12191 Q237253 Q485186 Q1729 Q865872
(c(Q628179)|c(Q728937),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q628179
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
value 1
[ANSWER]
[[{'concept': 'Q628179'}, {'concept': 'Q728937'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:Q628179 ) ( ontology:Q728937 ) } } GROUP BY ?e } . FILTER ( ?j = 1 ) }
Sedbury Scheveningen Halle (Saale) Lyme Regis Edale Norwich Amsterdam West Vale Örnsköldsvik Nice Bonn Westport, County Mayo Ilkley Kemble Mullan Hammond Dillenburg Wallsend Björkhagen Deerfield Farnham Alice Springs Galway Bewdley Nantes Great Yarmouth Key West Erfurt Birstall
29
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type trail
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
value 1
[[{'concept': 'trail'}, {'concept': 'railroad line'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?o ) AS ?j ) WHERE { ?o rdf:type ?l . VALUES ( ?l ) { ( ontology:trail ) ( ontology:railroad_line ) } } GROUP BY ?e } . FILTER ( ?j = 1 ) }
[]