Simple Question (Direct)
Simple Question
Q683984
P27
Q15617994
USER
Which administrative territory is Markus Hacksteiner a civilian of ?
(Q683984,P27,c(Q15617994))
action filter_type
action find
entity Q683984
relation P27
type Q15617994
['Q683984', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q683984 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Markus Hacksteiner
action filter_type
action find
entity Markus Hacksteiner
relation country of citizenship
type designation for an administrative territorial entity
['Markus Hacksteiner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Markus_Hacksteiner property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q683984,P27,c(Q15617994))
action filter_type
action find
entity Q683984
relation P27
type Q15617994
[ANSWER] is Markus Hacksteiner a civilian of
['Q683984', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q683984 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Switzerland
Switzerland is Markus Hacksteiner a civilian of
Switzerland
action filter_type
action find
entity Markus Hacksteiner
relation country of citizenship
type designation for an administrative territorial entity
['Markus Hacksteiner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Markus_Hacksteiner property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q683984
P19
Q13220204
USER
Where was that person born ?
(Q39,P19,c(Q13220204))
action filter_type
action find
entity Q683984
relation P19
type Q13220204
['Q39', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { resource:Q683984 property:P19 ?t . ?t rdf:type ontology:Q13220204 }
Markus Hacksteiner
action filter_type
action find
entity Markus Hacksteiner
relation place of birth
type second-level administrative country subdivision
['Switzerland', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { resource:Markus_Hacksteiner property:place_of_birth ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q69208
SYSTEM
Windisch
Q69208
(Q39,P19,c(Q13220204))
action filter_type
action find
entity Q683984
relation P19
type Q13220204
That person was born in [ANSWER]
['Q39', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?t WHERE { resource:Q683984 property:P19 ?t . ?t rdf:type ontology:Q13220204 }
Windisch
That person was born in Windisch
Windisch
action filter_type
action find
entity Markus Hacksteiner
relation place of birth
type second-level administrative country subdivision
['Switzerland', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?t WHERE { resource:Markus_Hacksteiner property:place_of_birth ?t . ?t rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that administrative country subdivision present in ?
(Q69208,P17,c(Q15617994))
action count
action filter_type
action find
entity Q69208
relation P17
type Q15617994
['Q69208', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q69208 property:P17 ?k }
action count
action filter_type
action find
entity Windisch
relation country
type designation for an administrative territorial entity
['Windisch', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Windisch property:country ?k }
[]
designation for an administrative territorial entity
SYSTEM
1
Q39
(Q69208,P17,c(Q15617994))
action count
action filter_type
action find
entity Q69208
relation P17
type Q15617994
[ANSWER]
['Q69208', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q15617994 . resource:Q69208 property:P17 ?k }
Switzerland
1
action count
action filter_type
action find
entity Windisch
relation country
type designation for an administrative territorial entity
['Windisch', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Windisch property:country ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q69208
P159
Q4830453
USER
Which business enterprise has the principal seat at Windisch ?
(c(Q4830453),P159,Q69208)
action filter_type
action find_reverse
entity Q69208
relation P159
type Q4830453
[{'concept': 'Q4830453'}, 'P159', 'Q69208']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4830453 . ?s property:P159 resource:Q69208 }
Windisch
action filter_type
action find_reverse
entity Windisch
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Windisch']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:business_enterprise . ?s property:headquarters_location resource:Windisch }
[]
business enterprise
Q1776974
SYSTEM
Gebr. Knecht AG
Q1776974
(c(Q4830453),P159,Q69208)
action filter_type
action find_reverse
entity Q69208
relation P159
type Q4830453
[ANSWER] has the principal seat at Windisch
[{'concept': 'Q4830453'}, 'P159', 'Q69208']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q4830453 . ?s property:P159 resource:Q69208 }
Gebr. Knecht AG
Gebr. Knecht AG has the principal seat at Windisch
Gebr. Knecht AG
action filter_type
action find_reverse
entity Windisch
relation headquarters location
type business enterprise
[{'concept': 'business enterprise'}, 'headquarters location', 'Windisch']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:business_enterprise . ?s property:headquarters_location resource:Windisch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q69208
P20
Q502895
USER
Which person has that administrative country subdivision as the area of death ?
(c(Q502895),P20,Q1776974)
action filter_type
action find_reverse
entity Q69208
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q1776974']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q69208 . ?h rdf:type ontology:Q502895 }
Windisch
action filter_type
action find_reverse
entity Windisch
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Gebr. Knecht AG']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Windisch . ?h rdf:type ontology:common_name }
[]
common name
Q1685480
SYSTEM
Jean Deroc
Q1685480
(c(Q502895),P20,Q1776974)
action filter_type
action find_reverse
entity Q69208
relation P20
type Q502895
[ANSWER] has that administrative country subdivision as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q1776974']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q69208 . ?h rdf:type ontology:Q502895 }
Jean Deroc
Jean Deroc has that administrative country subdivision as the area of death
Jean Deroc
action filter_type
action find_reverse
entity Windisch
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Gebr. Knecht AG']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Windisch . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q1001378
USER
How many cinematic techniques did around 15 people dub for ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 15
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?h = 15 ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?h ) WHERE { ?a property:P725 ?s . ?s rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1001378 } GROUP BY ?a } }
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 15
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?h = 15 ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?h ) WHERE { ?a property:voice_actor ?s . ?s rdf:type ontology:common_name . ?a rdf:type ontology:cinematic_technique } GROUP BY ?a } }
[]
common name cinematic technique
SYSTEM
26
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q2329413 Q6144664 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q244434 Q18647981 Q2615381 Q191803 Q171048 Q15140309 Q4243413 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
value 15
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?h = 15 ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?h ) WHERE { ?a property:P725 ?s . ?s rdf:type ontology:Q502895 . ?a rdf:type ontology:Q1001378 } GROUP BY ?a } }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Barbie as the Princess and the Pauper Inside Out Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen Lady and the Tramp II: Scamp's Adventure Moana Korgoth of Barbaria The Lion King II: Simba's Pride Toy Story Emil & Ida i Lönneberga Ku! Kin-dza-dza Laura's Star Surf's Up
26
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
value 15
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { FILTER ( ?h = 15 ) . { SELECT DISTINCT ?a ( COUNT ( ?s ) AS ?h ) WHERE { ?a property:voice_actor ?s . ?s rdf:type ontology:common_name . ?a rdf:type ontology:cinematic_technique } GROUP BY ?a } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1670247 Q39
P463
Q484652
USER
Which international organizations had Switzerland or Norbert Gansel as their member ?
OR((Q39,P463,c(Q484652)), (Q1670247,P463,c(Q484652)))
action filter_type
action union
action find
entity Q39
relation P463
action find
entity Q1670247
relation P463
type Q484652
{'OR': [['Q39', 'P463', {'concept': 'Q484652'}], ['Q1670247', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q39 property:P463 ?z } UNION { resource:Q1670247 property:P463 ?z } } . ?z rdf:type ontology:Q484652 }
Norbert Gansel Switzerland
action filter_type
action union
action find
entity Switzerland
relation member of
action find
entity Norbert Gansel
relation member of
type international organization
{'OR': [['Switzerland', 'member of', {'concept': 'international organization'}], ['Norbert Gansel', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Switzerland property:member_of ?z } UNION { resource:Norbert_Gansel property:member_of ?z } } . ?z rdf:type ontology:international_organization }
[]
international organization
Q81299 Q1065 Q188822 Q939743 Q166546 Q42262 Q1043527
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, Asian Development Bank, Parliamentary Assembly of the Council of Europe, European Free Trade Association, European Space Agency, Multilateral Investment Guarantee Agency
Q81299 Q1065 Q188822 Q939743 Q166546 Q42262 Q1043527
OR((Q39,P463,c(Q484652)), (Q1670247,P463,c(Q484652)))
action filter_type
action union
action find
entity Q39
relation P463
action find
entity Q1670247
relation P463
type Q484652
[ANSWERS] had Switzerland or Norbert Gansel as their member
{'OR': [['Q39', 'P463', {'concept': 'Q484652'}], ['Q1670247', 'P463', {'concept': 'Q484652'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q39 property:P463 ?z } UNION { resource:Q1670247 property:P463 ?z } } . ?z rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Asian Development Bank Parliamentary Assembly of the Council of Europe European Free Trade Association European Space Agency Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe, United Nations, Asian Development Bank, Parliamentary Assembly of the Council of Europe, European Free Trade Association, European Space Agency and Multilateral Investment Guarantee Agency had Switzerland or Norbert Gansel as their member
Organization for Security and Co-operation in Europe United Nations Asian Development Bank Parliamentary Assembly of the Council of Europe European Free Trade Association European Space Agency Multilateral Investment Guarantee Agency
action filter_type
action union
action find
entity Switzerland
relation member of
action find
entity Norbert Gansel
relation member of
type international organization
{'OR': [['Switzerland', 'member of', {'concept': 'international organization'}], ['Norbert Gansel', 'member of', {'concept': 'international organization'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Switzerland property:member_of ?z } UNION { resource:Norbert_Gansel property:member_of ?z } } . ?z rdf:type ontology:international_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42262
P710
Q43229
USER
What event was that international organization a participant of ?
(c(Q43229),P710,Q42262)
action filter_type
action find_reverse
entity Q42262
relation P710
type Q43229
[{'concept': 'Q43229'}, 'P710', 'Q42262']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . ?s property:P710 resource:Q42262 }
European Space Agency
action filter_type
action find_reverse
entity European Space Agency
relation participant
type organization
[{'concept': 'organization'}, 'participant', 'European Space Agency']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . ?s property:participant resource:European_Space_Agency }
[]
organization
Clarification for simple ques.
Q939743
SYSTEM
Did you mean Parliamentary Assembly of the Council of Europe ?
Q81299 Q1065 Q188822 Q939743 Q166546 Q42262 Q1043527
(c(Q43229),P710,Q81299) (c(Q43229),P710,Q1065) (c(Q43229),P710,Q188822) (c(Q43229),P710,Q939743) (c(Q43229),P710,Q166546) (c(Q43229),P710,Q42262) (c(Q43229),P710,Q1043527)
[ANSWER]
[{'concept': 'Q43229'}, 'P710', 'Q81299'] [{'concept': 'Q43229'}, 'P710', 'Q1065'] [{'concept': 'Q43229'}, 'P710', 'Q188822'] [{'concept': 'Q43229'}, 'P710', 'Q939743'] [{'concept': 'Q43229'}, 'P710', 'Q166546'] [{'concept': 'Q43229'}, 'P710', 'Q42262'] [{'concept': 'Q43229'}, 'P710', 'Q1043527']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . ?s property:P710 resource:Q42262 }
Organization for Security and Co-operation in Europe United Nations Asian Development Bank Parliamentary Assembly of the Council of Europe European Free Trade Association European Space Agency Multilateral Investment Guarantee Agency
Did you mean Parliamentary Assembly of the Council of Europe ?
Parliamentary Assembly of the Council of Europe
[{'concept': 'organization'}, 'participant', 'Organization for Security and Co-operation in Europe'] [{'concept': 'organization'}, 'participant', 'United Nations'] [{'concept': 'organization'}, 'participant', 'Asian Development Bank'] [{'concept': 'organization'}, 'participant', 'Parliamentary Assembly of the Council of Europe'] [{'concept': 'organization'}, 'participant', 'European Free Trade Association'] [{'concept': 'organization'}, 'participant', 'European Space Agency'] [{'concept': 'organization'}, 'participant', 'Multilateral Investment Guarantee Agency']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . ?s property:participant resource:European_Space_Agency }
[]
Simple Question (Coreferenced)
USER
No, I meant European Space Agency. Could you tell me the answer for that?
(c(Q43229),P710,Q42262)
Q42262
[{'concept': 'Q43229'}, 'P710', 'Q42262']
[{'concept': 'organization'}, 'participant', 'European Space Agency']
[]
Q126379
SYSTEM
Consultative Committee for Space Data Systems
Q126379
(c(Q43229),P710,Q42262)
action filter_type
action find_reverse
entity Q42262
relation P710
type Q43229
What event was that international organization a participant of
[{'concept': 'Q43229'}, 'P710', 'Q42262']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q43229 . ?s property:P710 resource:Q42262 }
Consultative Committee for Space Data Systems
What event was that international organization a participant of
Consultative Committee for Space Data Systems
action filter_type
action find_reverse
entity European Space Agency
relation participant
type organization
[{'concept': 'organization'}, 'participant', 'European Space Agency']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:organization . ?s property:participant resource:European_Space_Agency }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P248
Q5292 Q2342494 Q43229
USER
Which organizations have been stated in max number of encyclopedias or collectables ?
(c(Q43229),P248,c(Q5292)|c(Q2342494))
action argmax
action union
action find_tuple_counts
relation P248
type Q43229
type Q5292
action find_tuple_counts
relation P248
type Q43229
type Q2342494
[{'concept': 'Q43229'}, 'P248', [{'concept': 'Q5292'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?n WHERE { VALUES ( ?o ) { ( ontology:Q5292 ) ( ontology:Q2342494 ) } . ?k rdf:type ?o } GROUP BY ?n } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?w WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:Q5292 ) ( ontology:Q2342494 ) } } GROUP BY ?w } } }
action argmax
action union
action find_tuple_counts
relation stated in
type organization
type encyclopedia
action find_tuple_counts
relation stated in
type organization
type collectable
[{'concept': 'organization'}, 'stated in', [{'concept': 'encyclopedia'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?n WHERE { VALUES ( ?o ) { ( ontology:encyclopedia ) ( ontology:collectable ) } . ?k rdf:type ?o } GROUP BY ?n } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?w WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:encyclopedia ) ( ontology:collectable ) } } GROUP BY ?w } } }
[]
encyclopedia collectable organization
Q2360847
SYSTEM
Zaporizhstal
Q2360847
(c(Q43229),P248,c(Q5292)|c(Q2342494))
action argmax
action union
action find_tuple_counts
relation P248
type Q43229
type Q5292
action find_tuple_counts
relation P248
type Q43229
type Q2342494
[ANSWER] have been stated in max number of encyclopedias or collectables
[{'concept': 'Q43229'}, 'P248', [{'concept': 'Q5292'}, {'concept': 'Q2342494'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?n WHERE { VALUES ( ?o ) { ( ontology:Q5292 ) ( ontology:Q2342494 ) } . ?k rdf:type ?o } GROUP BY ?n } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?w WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:Q5292 ) ( ontology:Q2342494 ) } } GROUP BY ?w } } }
Zaporizhstal
Zaporizhstal have been stated in max number of encyclopedias or collectables
Zaporizhstal
action argmax
action union
action find_tuple_counts
relation stated in
type organization
type encyclopedia
action find_tuple_counts
relation stated in
type organization
type collectable
[{'concept': 'organization'}, 'stated in', [{'concept': 'encyclopedia'}, {'concept': 'collectable'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) ?n WHERE { VALUES ( ?o ) { ( ontology:encyclopedia ) ( ontology:collectable ) } . ?k rdf:type ?o } GROUP BY ?n } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( MAX ( ?b ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?w WHERE { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:encyclopedia ) ( ontology:collectable ) } } GROUP BY ?w } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2386919
P137
Q43229 Q83620
USER
How many thoroughfares were managed by greater number of organizations than Hornbæk Line ?
(c(Q83620),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q83620
type Q43229
action count
action filter_type
action find
entity Q2386919
relation P137
type Q83620
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?d ) WHERE { ?y property:P137 ?q . ?q rdf:type ontology:Q43229 . ?y rdf:type ontology:Q83620 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q2386919 property:P137 ?p . ?p rdf:type ontology:Q83620 } } . FILTER ( ?d > ?w ) }
Hornbæk Line
action count
action greater
action find_tuple_counts
relation operator
type thoroughfare
type organization
action count
action filter_type
action find
entity Hornbæk Line
relation operator
type thoroughfare
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?d ) WHERE { ?y property:operator ?q . ?q rdf:type ontology:organization . ?y rdf:type ontology:thoroughfare } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Hornbæk_Line property:operator ?p . ?p rdf:type ontology:thoroughfare } } . FILTER ( ?d > ?w ) }
[]
organization thoroughfare
SYSTEM
45
Q803099 Q803397 Q2754967 Q4930439 Q482782 Q5289808 Q6585966 Q802556 Q5000022 Q12300331 Q2669290 Q13015462 Q19825918 Q2627962 Q1800353 Q429138 Q2753454 Q704426 Q1461194 Q11487325 Q487643 Q27110439 Q2098330 Q803121 Q1814953 Q852207 Q3356040 Q1546673 Q660895 Q3053436 Q1798321 Q2106670 Q2198532 Q661935 Q1141062 Q771305 Q1190152 Q54313 Q4568805 Q802562 Q11401365 Q22117593 Q159861 Q10728782 Q4453869
(c(Q83620),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q83620
type Q43229
action count
action filter_type
action find
entity Q2386919
relation P137
type Q83620
[ANSWER]
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?d ) WHERE { ?y property:P137 ?q . ?q rdf:type ontology:Q43229 . ?y rdf:type ontology:Q83620 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Q2386919 property:P137 ?p . ?p rdf:type ontology:Q83620 } } . FILTER ( ?d > ?w ) }
Sydbanen Vienenburg–Goslar railway Køgebugtbanen Svendborgbanen Donghae Bukbu Line Domain Tunnel Southern Line Copenhagen–Fredericia/Taulov Line Burnley Tunnel Aarhus Nærbane Boulevard Line Northern Line (Thailand) Bosanski Brod–Sarajevo narrow gauge railway Grenaabanen Northwest Line (Denmark) West Autobahn Nordbanen P'yŏngŭi Line Lemvigbanen Kōnan Railway Kuroishi Line AREX New Delhi–Mumbai main line Hareskovbanen Lille Syd Skagensbanen Chōshi Electric Railway Line Coast Line Oschatz–Mügeln–Döbeln railway line Tōkaidō Shinkansen Klampenborgbanen Aalborg–Frederikshavn Line Frederikssundbanen Ringbanen Hirtshalsbanen Cross City Tunnel Iida Line Tōkaidō Main Line Roslagsbanan Vestbanen Oresund Line Kita-Osaka Kyuko railway Namboku Line Moscow Central Ring Railway Dresden–Görlitz railway Østjyske længdebane Aoimori Railway Line
45
action count
action greater
action find_tuple_counts
relation operator
type thoroughfare
type organization
action count
action filter_type
action find
entity Hornbæk Line
relation operator
type thoroughfare
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?m ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?d ) WHERE { ?y property:operator ?q . ?q rdf:type ontology:organization . ?y rdf:type ontology:thoroughfare } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { resource:Hornbæk_Line property:operator ?p . ?p rdf:type ontology:thoroughfare } } . FILTER ( ?d > ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q93382
P137
Q43229 Q83620
USER
And what about Transilien line K?
(c(Q83620),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q83620
type Q43229
action count
action filter_type
action find
entity Q93382
relation P137
type Q83620
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?x ) WHERE { ?s rdf:type ontology:Q83620 . ?q rdf:type ontology:Q43229 . ?s property:P137 ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q93382 property:P137 ?l . ?l rdf:type ontology:Q83620 } } . FILTER ( ?x > ?n ) }
Transilien line K
action count
action greater
action find_tuple_counts
relation operator
type thoroughfare
type organization
action count
action filter_type
action find
entity Transilien line K
relation operator
type thoroughfare
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?x ) WHERE { ?s rdf:type ontology:thoroughfare . ?q rdf:type ontology:organization . ?s property:operator ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Transilien_line_K property:operator ?l . ?l rdf:type ontology:thoroughfare } } . FILTER ( ?x > ?n ) }
[]
organization thoroughfare
SYSTEM
45
Q803099 Q803397 Q2754967 Q4930439 Q482782 Q5289808 Q6585966 Q802556 Q5000022 Q12300331 Q2669290 Q13015462 Q19825918 Q2627962 Q1800353 Q429138 Q2753454 Q704426 Q1461194 Q11487325 Q487643 Q27110439 Q2098330 Q803121 Q1814953 Q852207 Q3356040 Q1546673 Q660895 Q3053436 Q1798321 Q2106670 Q2198532 Q661935 Q1141062 Q771305 Q1190152 Q54313 Q4568805 Q802562 Q11401365 Q22117593 Q159861 Q10728782 Q4453869
(c(Q83620),P137,c(Q43229))
action count
action greater
action find_tuple_counts
relation P137
type Q83620
type Q43229
action count
action filter_type
action find
entity Q93382
relation P137
type Q83620
[ANSWER]
[{'concept': 'Q83620'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?x ) WHERE { ?s rdf:type ontology:Q83620 . ?q rdf:type ontology:Q43229 . ?s property:P137 ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Q93382 property:P137 ?l . ?l rdf:type ontology:Q83620 } } . FILTER ( ?x > ?n ) }
Sydbanen Vienenburg–Goslar railway Køgebugtbanen Svendborgbanen Donghae Bukbu Line Domain Tunnel Southern Line Copenhagen–Fredericia/Taulov Line Burnley Tunnel Aarhus Nærbane Boulevard Line Northern Line (Thailand) Bosanski Brod–Sarajevo narrow gauge railway Grenaabanen Northwest Line (Denmark) West Autobahn Nordbanen P'yŏngŭi Line Lemvigbanen Kōnan Railway Kuroishi Line AREX New Delhi–Mumbai main line Hareskovbanen Lille Syd Skagensbanen Chōshi Electric Railway Line Coast Line Oschatz–Mügeln–Döbeln railway line Tōkaidō Shinkansen Klampenborgbanen Aalborg–Frederikshavn Line Frederikssundbanen Ringbanen Hirtshalsbanen Cross City Tunnel Iida Line Tōkaidō Main Line Roslagsbanan Vestbanen Oresund Line Kita-Osaka Kyuko railway Namboku Line Moscow Central Ring Railway Dresden–Görlitz railway Østjyske længdebane Aoimori Railway Line
45
action count
action greater
action find_tuple_counts
relation operator
type thoroughfare
type organization
action count
action filter_type
action find
entity Transilien line K
relation operator
type thoroughfare
[{'concept': 'thoroughfare'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?x ) WHERE { ?s rdf:type ontology:thoroughfare . ?q rdf:type ontology:organization . ?s property:operator ?q } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) WHERE { resource:Transilien_line_K property:operator ?l . ?l rdf:type ontology:thoroughfare } } . FILTER ( ?x > ?n ) }
[]