Simple Question (Direct)
Simple Question
Q151373
P106
Q12737077
USER
Which occupation is the profession of Babis Stefanidis ?
(Q151373,P106,c(Q12737077))
action filter_type
action find
entity Q151373
relation P106
type Q12737077
['Q151373', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q151373 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Babis Stefanidis
action filter_type
action find
entity Babis Stefanidis
relation occupation
type occupation
['Babis Stefanidis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Babis_Stefanidis property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q151373,P106,c(Q12737077))
action filter_type
action find
entity Q151373
relation P106
type Q12737077
Player [ANSWER] is the profession of Babis Stefanidis
['Q151373', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q151373 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of Babis Stefanidis
association football player
action filter_type
action find
entity Babis Stefanidis
relation occupation
type occupation
['Babis Stefanidis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Babis_Stefanidis property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q151373
P641
Q349
USER
What was the sport that Babis Stefanidis was a part of ?
(Q151373,P641,c(Q349))
action filter_type
action find
entity Q151373
relation P641
type Q349
['Q151373', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q151373 property:P641 ?x . ?x rdf:type ontology:Q349 }
Babis Stefanidis
action filter_type
action find
entity Babis Stefanidis
relation sport
type sport
['Babis Stefanidis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Babis_Stefanidis property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q151373,P641,c(Q349))
action filter_type
action find
entity Q151373
relation P641
type Q349
The sport that Babis Stefanidis was a part of was the [ANSWER]
['Q151373', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q151373 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
The sport that Babis Stefanidis was a part of was the association football
association football
action filter_type
action find
entity Babis Stefanidis
relation sport
type sport
['Babis Stefanidis', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Babis_Stefanidis property:sport ?x . ?x rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q151373 Q11880267
P27
Q15617994
USER
How many administrative territories are the native countriesof Babis Stefanidis or MMEN ?
(Q151373,P27,c(Q15617994)) (Q11880267,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q151373
relation P27
type Q15617994
action filter_type
action find
entity Q11880267
relation P27
type Q15617994
['Q151373', 'P27', {'concept': 'Q15617994'}] ['Q11880267', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?w property:P27 ?h . VALUES ( ?w ) { ( resource:Q151373 ) ( resource:Q11880267 ) } }
Babis Stefanidis MMEN
action count
action union
action filter_type
action find
entity Babis Stefanidis
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity MMEN
relation country of citizenship
type designation for an administrative territorial entity
['Babis Stefanidis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['MMEN', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?w property:country_of_citizenship ?h . VALUES ( ?w ) { ( resource:Babis_Stefanidis ) ( resource:MMEN ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q33 Q34
(Q151373,P27,c(Q15617994)) (Q11880267,P27,c(Q15617994))
action count
action union
action filter_type
action find
entity Q151373
relation P27
type Q15617994
action filter_type
action find
entity Q11880267
relation P27
type Q15617994
[ANSWER]
['Q151373', 'P27', {'concept': 'Q15617994'}] ['Q11880267', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?w property:P27 ?h . VALUES ( ?w ) { ( resource:Q151373 ) ( resource:Q11880267 ) } }
Finland Sweden
2
action count
action union
action filter_type
action find
entity Babis Stefanidis
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity MMEN
relation country of citizenship
type designation for an administrative territorial entity
['Babis Stefanidis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['MMEN', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { ?w property:country_of_citizenship ?h . VALUES ( ?w ) { ( resource:Babis_Stefanidis ) ( resource:MMEN ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q49546
P921
Q386724
USER
How many works are association football player or acetone a main subject of ?
(c(Q386724),P921,Q937857) (c(Q386724),P921,Q49546)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q386724
action filter_type
action find_reverse
entity Q49546
relation P921
type Q386724
[{'concept': 'Q386724'}, 'P921', 'Q937857'] [{'concept': 'Q386724'}, 'P921', 'Q49546']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?i ) { ( resource:Q937857 ) ( resource:Q49546 ) } . ?e property:P921 ?i }
association football player acetone
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type work
action filter_type
action find_reverse
entity acetone
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'association football player'] [{'concept': 'work'}, 'main subject', 'acetone']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?i ) { ( resource:association_football_player ) ( resource:acetone ) } . ?e property:main_subject ?i }
[]
work
SYSTEM
44
Q26377869 Q26371024 Q26375563 Q26316380 Q26375400 Q26371192 Q26375407 Q26370541 Q26378801 Q26374903 Q26370422 Q26373297 Q26370464 Q26376114 Q26377415 Q26377157 Q26369173 Q26378353 Q26377771 Q26369768 Q24276135 Q26374889 Q26375712 Q26372187 Q26370028 Q26375718 Q24852909 Q26371997 Q26378821 Q26377469 Q26377830 Q26378841 Q26374621 Q26378766 Q26377256 Q26369534 Q26377253 Q26376619 Q26374897 Q26375945 Q26371601 Q26369826 Q26371255 Q26369793
(c(Q386724),P921,Q937857) (c(Q386724),P921,Q49546)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P921
type Q386724
action filter_type
action find_reverse
entity Q49546
relation P921
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P921', 'Q937857'] [{'concept': 'Q386724'}, 'P921', 'Q49546']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?i ) { ( resource:Q937857 ) ( resource:Q49546 ) } . ?e property:P921 ?i }
Industrial Hygiene Survey at Shell Chemical Co. Deer Park Manufacturing Complex, Houston, Texas Control Of Styrene Vapor During Hull Fabrication In Large Boat Production - Final Report Efectos de los riesgos ocupacionales en la salud reproductiva del hombre Survey for N-Nitroso Compounds at Crompton and Knowles Corporation, Dyes and Chemicals Division, Reading, Pennsylvania In-Depth Industrial Hygiene Survey Report on Styrene Exposure at Larson Industries, Incorporated Boat Plant, Little Falls, Minnesota Control Technology Assessment at Goodyear Tire and Rubber Company, Gadsden, Alabama In-depth Industrial Hygiene Survey Report on Styrene Exposure at Fiberform, Spokane, Washington Evaluation of a prototype portable microwave multi-gas analyzer Walk-Through Survey Report at Hamilton Industries, Two Rivers, Wisconsin Survey for N-Nitroso Compounds at Chevrolet Gear and Axle Plant, 1840 Holbrook Road, Detroit, Michigan Industrial Hygiene Walk-Through Survey Report of Uniflite, Report No. IWS-78-17-10 Exposure tests for organic compounds in industrial toxicology In-Depth Industrial Hygiene Survey Report on Styrene Exposure at The Bertram Yacht Company, Miami, Florida, Report No. IWS-78-31 Industrial Hygiene Walk-Through Survey Report of Optical Coating Laboratory, Inc., City of Industry, California, Report No. IWS-68-16 Fibrous Glass Dust and Industrial Hygiene Survey at Pittsburgh Plate Glass Industries, Shelbyville, Indiana Construction and Testing of a Vapor Sensor Based on Ion Mobility and Gas Flow Organic Solvents in Air Industrial Hygiene Walk Through Survey Report of Rockwell International, Thousand Oaks, California Survey of Ameron, Inc. Brea, California Extent of exposure to styrene Evaluation of exposure to organic solvents Survey for N-Nitroso Compounds at Industrial Products Plant, Goodyear Tire and Rubber Company, Akron, Ohio Industrial Hygiene Walk-Though Survey Report on Styrene Exposure at the Bertram Yacht Company, Miami, Florida Mortality study of workers exposed to styrene in the reinforced plastic boat building industry The effects of workplace hazards on male reproductive health In-Depth Industrial Hygiene Survey Report on Styrene Exposure at the AMF Hatteras Yacht Division Plant High Point, North Carolina First periodic review of scientific and medical evidence related to cancer for the World Trade Center Health Program Walk-Through Survey Report, Century Furniture Company, Hickory, North Carolina In-depth Industrial Hygiene Survey Report on Styrene Exposures at Chrysler Boat Corporation, Plano, Texas Results of Industrial Hygiene Sampling in Semiconductor Manufacturing Operations Epichlorohydrin Industrial Hygiene Survey at Ciba, Geigy Corp. Toms River Chemical Plant, Toms River, New Jersey In-depth Industrial Hygiene Survey Report on Styrene Exposure at Tollycraft, Kelso, Washington NIOSH analytical methods for set A standards completion program In-Depth Industrial Hygiene Survey Report on Styrene Exposure at Uniflite, Inc., Bellingham, Washington Occupational safety and health guidelines for chemical hazards Celanese Fibers Company, Celriver Plant, Rock Hill, South Carolina Effect of Methyl-n-Butyl Ketone and Other Ketone Homologues on Mammalian Cells in Culture Screening of Priority Chemicals for Reproductive Hazards. Benzethonium Chloride (CAS No. 121-54-0), 3-Ethoxy-1-propanol (CAS No. 111-35-3), Acetone (CAS No. 67-64-1) Survey for N-Nitroso Compounds at Ford Dearborn Engine Plant, Dearborn, Michigan Industrial Hygiene Walk-Through Survey Report on Styrene Exposure at the AMF-Hatteras Yacht Division Plant, High Point, North Carolina, Report No. IWS-78-29 Industrial Hygiene Report, In-Depth Study Report of Solvent Exposure, Johnston and Murphy Shoe Company, Genesco Park, Nashville, Tennessee Analytical Methods Evaluation and Validation for Vinylidene Fluoride, Vinyl Bromide, Vinyl Fluoride, Benzenethiol, and n- Octanethiol Control Technology Assessment For Chemical Processes Unit Operations NIOSH Analytical Method, Acetone, SCP-S1
44
action count
action union
action filter_type
action find_reverse
entity association football player
relation main subject
type work
action filter_type
action find_reverse
entity acetone
relation main subject
type work
[{'concept': 'work'}, 'main subject', 'association football player'] [{'concept': 'work'}, 'main subject', 'acetone']
SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { VALUES ( ?i ) { ( resource:association_football_player ) ( resource:acetone ) } . ?e property:main_subject ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q151373
P21
Q290
USER
What is the sex of Babis Stefanidis ?
(Q151373,P21,c(Q290))
action filter_type
action find
entity Q151373
relation P21
type Q290
['Q151373', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q151373 property:P21 ?c . ?c rdf:type ontology:Q290 }
Babis Stefanidis
action filter_type
action find
entity Babis Stefanidis
relation gender
type sex
['Babis Stefanidis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Babis_Stefanidis property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q151373,P21,c(Q290))
action filter_type
action find
entity Q151373
relation P21
type Q290
The sex of Babis Stefanidis is the [ANSWER]
['Q151373', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q151373 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Babis Stefanidis is the male
male
action filter_type
action find
entity Babis Stefanidis
relation gender
type sex
['Babis Stefanidis', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Babis_Stefanidis property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q151373
P19
Q56061
USER
Where was Babis Stefanidis born ?
(Q151373,P19,c(Q56061))
action filter_type
action find
entity Q151373
relation P19
type Q56061
['Q151373', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q151373 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Babis Stefanidis
action filter_type
action find
entity Babis Stefanidis
relation place of birth
type administrative territorial entity
['Babis Stefanidis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Babis_Stefanidis property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q54344
SYSTEM
Skellefteå
Q54344
(Q151373,P19,c(Q56061))
action filter_type
action find
entity Q151373
relation P19
type Q56061
Babis Stefanidis was born in [ANSWER]
['Q151373', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q151373 property:P19 ?s . ?s rdf:type ontology:Q56061 }
Skellefteå
Babis Stefanidis was born in Skellefteå
Skellefteå
action filter_type
action find
entity Babis Stefanidis
relation place of birth
type administrative territorial entity
['Babis Stefanidis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Babis_Stefanidis property:place_of_birth ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P276
Q41176 Q847017
USER
How many buildings and sports clubs are situated at that administrative territory ?
(c(Q41176),P276,Q54344) (c(Q847017),P276,Q54344) (c(Q41176),P276,Q54344) (c(Q847017),P276,Q54344)
action count
action union
action filter_type
action find_reverse
entity Q54344
relation P276
type Q41176
action filter_type
action find_reverse
entity Q54344
relation P276
type Q847017
[{'concept': 'Q41176'}, 'P276', 'Q54344'] [{'concept': 'Q847017'}, 'P276', 'Q54344'] [{'concept': 'Q41176'}, 'P276', 'Q54344'] [{'concept': 'Q847017'}, 'P276', 'Q54344']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P276 resource:Q54344 . ?n rdf:type ontology:Q41176 } UNION { ?n property:P276 resource:Q54344 . ?n rdf:type ontology:Q847017 } }
action count
action union
action filter_type
action find_reverse
entity Skellefteå
relation location
type building
action filter_type
action find_reverse
entity Skellefteå
relation location
type sports club
[{'concept': 'building'}, 'location', 'Skellefteå'] [{'concept': 'sports club'}, 'location', 'Skellefteå'] [{'concept': 'building'}, 'location', 'Skellefteå'] [{'concept': 'sports club'}, 'location', 'Skellefteå']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:location resource:Skellefteå . ?n rdf:type ontology:building } UNION { ?n property:location resource:Skellefteå . ?n rdf:type ontology:sports_club } }
[]
building sports club
SYSTEM
1 buildings and 2 sports clubs
Q604030 Q15307587 Q15307593
(c(Q41176),P276,Q54344) (c(Q847017),P276,Q54344) (c(Q41176),P276,Q54344) (c(Q847017),P276,Q54344)
action count
action union
action filter_type
action find_reverse
entity Q54344
relation P276
type Q41176
action filter_type
action find_reverse
entity Q54344
relation P276
type Q847017
[ANSWER]
[{'concept': 'Q41176'}, 'P276', 'Q54344'] [{'concept': 'Q847017'}, 'P276', 'Q54344'] [{'concept': 'Q41176'}, 'P276', 'Q54344'] [{'concept': 'Q847017'}, 'P276', 'Q54344']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P276 resource:Q54344 . ?n rdf:type ontology:Q41176 } UNION { ?n property:P276 resource:Q54344 . ?n rdf:type ontology:Q847017 } }
Skellefteå Kraft Arena Skellefteå IBK Guldstaden IB
1 buildings and 2 sports clubs
action count
action union
action filter_type
action find_reverse
entity Skellefteå
relation location
type building
action filter_type
action find_reverse
entity Skellefteå
relation location
type sports club
[{'concept': 'building'}, 'location', 'Skellefteå'] [{'concept': 'sports club'}, 'location', 'Skellefteå'] [{'concept': 'building'}, 'location', 'Skellefteå'] [{'concept': 'sports club'}, 'location', 'Skellefteå']
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:location resource:Skellefteå . ?n rdf:type ontology:building } UNION { ?n property:location resource:Skellefteå . ?n rdf:type ontology:sports_club } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q709343 Q54344
P27 P17
Q15617994
USER
Which administrative territories do Skellefteå belong to or do Cornelis Dopper belong to ?
OR((Q54344,P17,c(Q15617994)), (Q709343,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q54344
relation P17
action find
entity Q709343
relation P27
type Q15617994
{'OR': [['Q54344', 'P17', {'concept': 'Q15617994'}], ['Q709343', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q54344 property:P17 ?z } UNION { resource:Q709343 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Cornelis Dopper Skellefteå
action filter_type
action union
action find
entity Skellefteå
relation country
action find
entity Cornelis Dopper
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Skellefteå', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cornelis Dopper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Skellefteå property:country ?z } UNION { resource:Cornelis_Dopper property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q34
SYSTEM
Kingdom of the Netherlands, Sweden
Q29999 Q34
OR((Q54344,P17,c(Q15617994)), (Q709343,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q54344
relation P17
action find
entity Q709343
relation P27
type Q15617994
Skellefteå belong to the [ANSWERS]
{'OR': [['Q54344', 'P17', {'concept': 'Q15617994'}], ['Q709343', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q54344 property:P17 ?z } UNION { resource:Q709343 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Kingdom of the Netherlands Sweden
Skellefteå belong to the Kingdom of the Netherlands and Sweden
Kingdom of the Netherlands Sweden
action filter_type
action union
action find
entity Skellefteå
relation country
action find
entity Cornelis Dopper
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Skellefteå', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Cornelis Dopper', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Skellefteå property:country ?z } UNION { resource:Cornelis_Dopper property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6760308
P144
Q502895 Q11424 Q15619164
USER
How many people are more number of films and abstract beings adapted from than Margery Lawrence ?
(c(Q11424)|c(Q15619164),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q6760308
relation P144
type Q11424
type Q15619164
[[{'concept': 'Q11424'}, {'concept': 'Q15619164'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q11424 ) ( ontology:Q15619164 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P144 resource:Q6760308 . { VALUES ( ?k ) { ( ontology:Q15619164 ) ( ontology:Q11424 ) } . ?z rdf:type ?k } } } . FILTER ( ?h > ?i ) }
Margery Lawrence
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Margery Lawrence
relation based on
type film
type abstract being
[[{'concept': 'film'}, {'concept': 'abstract being'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:film ) ( ontology:abstract_being ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:based_on resource:Margery_Lawrence . { VALUES ( ?k ) { ( ontology:abstract_being ) ( ontology:film ) } . ?z rdf:type ?k } } } . FILTER ( ?h > ?i ) }
[]
common name film abstract being
SYSTEM
11
Q14395546 Q2843390 Q327426 Q619787 Q3296847 Q11950533 Q3741955 Q3079968 Q8011009 Q150471 Q646852
(c(Q11424)|c(Q15619164),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q6760308
relation P144
type Q11424
type Q15619164
[ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q15619164'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q11424 ) ( ontology:Q15619164 ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:P144 resource:Q6760308 . { VALUES ( ?k ) { ( ontology:Q15619164 ) ( ontology:Q11424 ) } . ?z rdf:type ?k } } } . FILTER ( ?h > ?i ) }
Mikhail Alexeyevich Khludov Amina Sean Flynn Tin Hinan Dave Toschi Sun Xia Isaac de Porthau Ted Key William Hatfield E. T. A. Hoffmann Aleksandr Figner
11
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Margery Lawrence
relation based on
type film
type abstract being
[[{'concept': 'film'}, {'concept': 'abstract being'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:film ) ( ontology:abstract_being ) } } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) WHERE { ?z property:based_on resource:Margery_Lawrence . { VALUES ( ?k ) { ( ontology:abstract_being ) ( ontology:film ) } . ?z rdf:type ?k } } } . FILTER ( ?h > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1527473
P144
Q502895 Q11424 Q15619164
USER
And what about Gisela Werler?
(c(Q11424)|c(Q15619164),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q1527473
relation P144
type Q11424
type Q15619164
[[{'concept': 'Q11424'}, {'concept': 'Q15619164'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q15619164 ) ( ontology:Q11424 ) } . ?d rdf:type ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P144 resource:Q1527473 . { { ?h rdf:type ontology:Q11424 } UNION { ?h rdf:type ontology:Q15619164 } } } } . FILTER ( ?t > ?w ) }
Gisela Werler
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Gisela Werler
relation based on
type film
type abstract being
[[{'concept': 'film'}, {'concept': 'abstract being'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:abstract_being ) ( ontology:film ) } . ?d rdf:type ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:based_on resource:Gisela_Werler . { { ?h rdf:type ontology:film } UNION { ?h rdf:type ontology:abstract_being } } } } . FILTER ( ?t > ?w ) }
[]
common name film abstract being
SYSTEM
11
Q14395546 Q2843390 Q327426 Q619787 Q3296847 Q11950533 Q3741955 Q3079968 Q8011009 Q150471 Q646852
(c(Q11424)|c(Q15619164),P144,c(Q502895))
action count
action greater
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q11424
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q1527473
relation P144
type Q11424
type Q15619164
[ANSWER]
[[{'concept': 'Q11424'}, {'concept': 'Q15619164'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:Q15619164 ) ( ontology:Q11424 ) } . ?d rdf:type ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P144 resource:Q1527473 . { { ?h rdf:type ontology:Q11424 } UNION { ?h rdf:type ontology:Q15619164 } } } } . FILTER ( ?t > ?w ) }
Mikhail Alexeyevich Khludov Amina Sean Flynn Tin Hinan Dave Toschi Sun Xia Isaac de Porthau Ted Key William Hatfield E. T. A. Hoffmann Aleksandr Figner
11
action count
action greater
action union
action find_reverse_tuple_counts
relation based on
type common name
type film
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
action count
action filter_multi_types
action find_reverse
entity Gisela Werler
relation based on
type film
type abstract being
[[{'concept': 'film'}, {'concept': 'abstract being'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?a ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?t ) WHERE { VALUES ( ?y ) { ( ontology:abstract_being ) ( ontology:film ) } . ?d rdf:type ?y } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:based_on resource:Gisela_Werler . { { ?h rdf:type ontology:film } UNION { ?h rdf:type ontology:abstract_being } } } } . FILTER ( ?t > ?w ) }
[]