Simple Question (Direct)
Simple Question
Q1672324
P463
Q811430
USER
What was Ira Herskowitz a member of ?
(Q1672324,P463,c(Q811430))
action filter_type
action find
entity Q1672324
relation P463
type Q811430
['Q1672324', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?k WHERE { resource:Q1672324 property:P463 ?k . ?k rdf:type ontology:Q811430 }
Ira Herskowitz
action filter_type
action find
entity Ira Herskowitz
relation member of
type construction
['Ira Herskowitz', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?k WHERE { resource:Ira_Herskowitz property:member_of ?k . ?k rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q1672324,P463,c(Q811430))
action filter_type
action find
entity Q1672324
relation P463
type Q811430
Ira Herskowitz was a member of [ANSWER]
['Q1672324', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?k WHERE { resource:Q1672324 property:P463 ?k . ?k rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
Ira Herskowitz was a member of American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity Ira Herskowitz
relation member of
type construction
['Ira Herskowitz', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?k WHERE { resource:Ira_Herskowitz property:member_of ?k . ?k rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q463303
P166
Q502895
USER
Which people received the award titled that construction ?
(c(Q502895),P166,Q463303)
action filter_type
action find_reverse
entity Q463303
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q463303']
SELECT DISTINCT ?r WHERE { ?r property:P166 resource:Q463303 . ?r rdf:type ontology:Q502895 }
American Academy of Arts and Sciences
action filter_type
action find_reverse
entity American Academy of Arts and Sciences
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'American Academy of Arts and Sciences']
SELECT DISTINCT ?r WHERE { ?r property:award_received resource:American_Academy_of_Arts_and_Sciences . ?r rdf:type ontology:common_name }
[]
common name
Q4706834 Q6829484
SYSTEM
Alan Hastings, Michael Cosmopoulos
Q4706834 Q6829484
(c(Q502895),P166,Q463303)
action filter_type
action find_reverse
entity Q463303
relation P166
type Q502895
[ANSWERS] received the award titled that construction
[{'concept': 'Q502895'}, 'P166', 'Q463303']
SELECT DISTINCT ?r WHERE { ?r property:P166 resource:Q463303 . ?r rdf:type ontology:Q502895 }
Alan Hastings Michael Cosmopoulos
Alan Hastings and Michael Cosmopoulos received the award titled that construction
Alan Hastings Michael Cosmopoulos
action filter_type
action find_reverse
entity American Academy of Arts and Sciences
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'American Academy of Arts and Sciences']
SELECT DISTINCT ?r WHERE { ?r property:award_received resource:American_Academy_of_Arts_and_Sciences . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P669
Q34442 Q811979 Q811430
USER
Which constructions are located on min number of roads or architectural structures ?
(c(Q811430),P669,c(Q34442)|c(Q811979))
action argmin
action union
action find_tuple_counts
relation P669
type Q811430
type Q34442
action find_tuple_counts
relation P669
type Q811430
type Q811979
[{'concept': 'Q811430'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?l WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:Q34442 ) ( ontology:Q811979 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?w WHERE { { ?w property:P669 ?f . ?w rdf:type ontology:Q811430 . ?f rdf:type ontology:Q34442 } UNION { ?w property:P669 ?f . ?w rdf:type ontology:Q811430 . ?f rdf:type ontology:Q811979 } } GROUP BY ?w } . FILTER ( ?e = ?o ) }
action argmin
action union
action find_tuple_counts
relation located on street
type construction
type road
action find_tuple_counts
relation located on street
type construction
type architectural structure
[{'concept': 'construction'}, 'located on street', [{'concept': 'road'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?l WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:road ) ( ontology:architectural_structure ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?w WHERE { { ?w property:located_on_street ?f . ?w rdf:type ontology:construction . ?f rdf:type ontology:road } UNION { ?w property:located_on_street ?f . ?w rdf:type ontology:construction . ?f rdf:type ontology:architectural_structure } } GROUP BY ?w } . FILTER ( ?e = ?o ) }
[]
road architectural structure construction
Q882778 Q439484 Q4546413
SYSTEM
Blue House, Old City Hall, 102 Petty France
Q30136 Q4645806 Q4546413 Q640412 Q691888 Q2126503 Q10270274 Q9698039 Q21539367 Q4546522 Q24560695 Q917820 Q635538 Q4546509 Q2023947 Q882778 Q439484 Q2887732 Q4595705 Q526847
(c(Q811430),P669,c(Q34442)|c(Q811979))
action argmin
action union
action find_tuple_counts
relation P669
type Q811430
type Q34442
action find_tuple_counts
relation P669
type Q811430
type Q811979
[ANSWERS] are located on min number of roads or architectural structures
[{'concept': 'Q811430'}, 'P669', [{'concept': 'Q34442'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?l WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:Q34442 ) ( ontology:Q811979 ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?w WHERE { { ?w property:P669 ?f . ?w rdf:type ontology:Q811430 . ?f rdf:type ontology:Q34442 } UNION { ?w property:P669 ?f . ?w rdf:type ontology:Q811430 . ?f rdf:type ontology:Q811979 } } GROUP BY ?w } . FILTER ( ?e = ?o ) }
Yangshupu Water Plant 927 Fifth Avenue 102 Petty France Baden-Powell House Windsor Tower Radisson Blu Scandinavia Hotel Maputo Post Office Building Casa Amarela Luitpoldstraße 15; Heigertgasse 2 1049 5th Avenue Edifício Sanguinal Museum of London Archive of the Hanseatic City of Lübeck 1040 Fifth Avenue One Aldwych Blue House Old City Hall Bastion no 1 19 South LaSalle Street House of Soviets
Blue House, Old City Hall and 102 Petty France are located on min number of roads or architectural structures
Blue House Old City Hall 102 Petty France
action argmin
action union
action find_tuple_counts
relation located on street
type construction
type road
action find_tuple_counts
relation located on street
type construction
type architectural structure
[{'concept': 'construction'}, 'located on street', [{'concept': 'road'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MIN ( ?r ) AS ?o ) { SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) ?l WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:road ) ( ontology:architectural_structure ) } } GROUP BY ?l } } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) ?w WHERE { { ?w property:located_on_street ?f . ?w rdf:type ontology:construction . ?f rdf:type ontology:road } UNION { ?w property:located_on_street ?f . ?w rdf:type ontology:construction . ?f rdf:type ontology:architectural_structure } } GROUP BY ?w } . FILTER ( ?e = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4706834
P27
Q15617994
USER
How many administrative territories do Alan Hastings belong to ?
(Q4706834,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4706834
relation P27
type Q15617994
['Q4706834', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q4706834 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Alan Hastings
action count
action filter_type
action find
entity Alan Hastings
relation country of citizenship
type designation for an administrative territorial entity
['Alan Hastings', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Alan_Hastings property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q4706834,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4706834
relation P27
type Q15617994
[ANSWER]
['Q4706834', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Q4706834 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Alan Hastings
relation country of citizenship
type designation for an administrative territorial entity
['Alan Hastings', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { resource:Alan_Hastings property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q23749347
P27
Q15617994
USER
And also tell me about Adrian Bălănescu?
(Q23749347,P27,c(Q15617994))
action count
action filter_type
action find
entity Q23749347
relation P27
type Q15617994
['Q23749347', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q23749347 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Adrian Bălănescu
action count
action filter_type
action find
entity Adrian Bălănescu
relation country of citizenship
type designation for an administrative territorial entity
['Adrian Bălănescu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Adrian_Bălănescu property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q218
(Q23749347,P27,c(Q15617994))
action count
action filter_type
action find
entity Q23749347
relation P27
type Q15617994
[ANSWER]
['Q23749347', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Q23749347 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Romania
1
action count
action filter_type
action find
entity Adrian Bălănescu
relation country of citizenship
type designation for an administrative territorial entity
['Adrian Bălănescu', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { resource:Adrian_Bălănescu property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q17382912
Q15617994
USER
And how about Markku Onttonen?
(Q17382912,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17382912
relation P27
type Q15617994
['Q17382912', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q17382912 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Markku Onttonen
action count
action filter_type
action find
entity Markku Onttonen
relation country of citizenship
type designation for an administrative territorial entity
['Markku Onttonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Markku_Onttonen property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q17382912,P27,c(Q15617994))
action count
action filter_type
action find
entity Q17382912
relation P27
type Q15617994
[ANSWER]
['Q17382912', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Q17382912 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Markku Onttonen
relation country of citizenship
type designation for an administrative territorial entity
['Markku Onttonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { resource:Markku_Onttonen property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q614624
P149
Q968159 Q811430
USER
How many art movements represent the architectural style of less number of constructions than Neo-Mudéjar ?
(c(Q811430),P149,c(Q968159))
action count
action less
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find_reverse
entity Q614624
relation P149
type Q811430
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P149 ?l . ?l rdf:type ontology:Q968159 . ?m rdf:type ontology:Q811430 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P149 resource:Q614624 . ?q rdf:type ontology:Q811430 } } . FILTER ( ?w < ?t ) }
Neo-Mudéjar
action count
action less
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find_reverse
entity Neo-Mudéjar
relation architectural style
type construction
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:architectural_style ?l . ?l rdf:type ontology:art_movement . ?m rdf:type ontology:construction } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:architectural_style resource:Neo-Mudéjar . ?q rdf:type ontology:construction } } . FILTER ( ?w < ?t ) }
[]
art movement construction
SYSTEM
2
Q37068 Q2406030
(c(Q811430),P149,c(Q968159))
action count
action less
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find_reverse
entity Q614624
relation P149
type Q811430
[ANSWER]
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P149 ?l . ?l rdf:type ontology:Q968159 . ?m rdf:type ontology:Q811430 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P149 resource:Q614624 . ?q rdf:type ontology:Q811430 } } . FILTER ( ?w < ?t ) }
Romanticism Mosan Renaissance
2
action count
action less
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find_reverse
entity Neo-Mudéjar
relation architectural style
type construction
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:architectural_style ?l . ?l rdf:type ontology:art_movement . ?m rdf:type ontology:construction } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:architectural_style resource:Neo-Mudéjar . ?q rdf:type ontology:construction } } . FILTER ( ?w < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1122677
P149
Q968159 Q811430
USER
And how about Modernisme?
(c(Q811430),P149,c(Q968159))
action count
action less
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find_reverse
entity Q1122677
relation P149
type Q811430
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P149 resource:Q1122677 . ?o rdf:type ontology:Q811430 } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P149 ?z . ?y rdf:type ontology:Q811430 . ?z rdf:type ontology:Q968159 } GROUP BY ?z } }
Modernisme
action count
action less
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find_reverse
entity Modernisme
relation architectural style
type construction
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:architectural_style resource:Modernisme . ?o rdf:type ontology:construction } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:architectural_style ?z . ?y rdf:type ontology:construction . ?z rdf:type ontology:art_movement } GROUP BY ?z } }
[]
art movement construction
SYSTEM
3
Q614624 Q37068 Q2406030
(c(Q811430),P149,c(Q968159))
action count
action less
action find_reverse_tuple_counts
relation P149
type Q968159
type Q811430
action count
action filter_type
action find_reverse
entity Q1122677
relation P149
type Q811430
[ANSWER]
[{'concept': 'Q811430'}, 'P149', {'concept': 'Q968159'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P149 resource:Q1122677 . ?o rdf:type ontology:Q811430 } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:P149 ?z . ?y rdf:type ontology:Q811430 . ?z rdf:type ontology:Q968159 } GROUP BY ?z } }
Neo-Mudéjar Romanticism Mosan Renaissance
3
action count
action less
action find_reverse_tuple_counts
relation architectural style
type art movement
type construction
action count
action filter_type
action find_reverse
entity Modernisme
relation architectural style
type construction
[{'concept': 'construction'}, 'architectural style', {'concept': 'art movement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?l < ?n ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:architectural_style resource:Modernisme . ?o rdf:type ontology:construction } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?l ) WHERE { ?y property:architectural_style ?z . ?y rdf:type ontology:construction . ?z rdf:type ontology:art_movement } GROUP BY ?z } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4706834
P1066
Q502895
USER
Which person was the professor of Alan Hastings ?
(Q4706834,P1066,c(Q502895))
action filter_type
action find
entity Q4706834
relation P1066
type Q502895
['Q4706834', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4706834 property:P1066 ?j . ?j rdf:type ontology:Q502895 }
Alan Hastings
action filter_type
action find
entity Alan Hastings
relation student of
type common name
['Alan Hastings', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Alan_Hastings property:student_of ?j . ?j rdf:type ontology:common_name }
[]
common name
Q3819820
SYSTEM
Simon A. Levin
Q3819820
(Q4706834,P1066,c(Q502895))
action filter_type
action find
entity Q4706834
relation P1066
type Q502895
[ANSWER] was the professor of Alan Hastings
['Q4706834', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q4706834 property:P1066 ?j . ?j rdf:type ontology:Q502895 }
Simon A. Levin
Simon A. Levin was the professor of Alan Hastings
Simon A. Levin
action filter_type
action find
entity Alan Hastings
relation student of
type common name
['Alan Hastings', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Alan_Hastings property:student_of ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3819820
P1412
Q34770
USER
Which language can that person understand ?
(Q3819820,P1412,c(Q34770))
action filter_type
action find
entity Q3819820
relation P1412
type Q34770
['Q3819820', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q3819820 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
Simon A. Levin
action filter_type
action find
entity Simon A. Levin
relation languages spoken, written or signed
type language
['Simon A. Levin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Simon_A._Levin property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3819820,P1412,c(Q34770))
action filter_type
action find
entity Q3819820
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q3819820', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q3819820 property:P1412 ?h . ?h rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Simon A. Levin
relation languages spoken, written or signed
type language
['Simon A. Levin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Simon_A._Levin property:languages_spoken,_written_or_signed ?h . ?h rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
Which languages utilizes around the same number of writing systems as the writing system as that language ?
(c(Q34770),P282,c(Q8192))
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { ?a property:P282 ?p . ?p rdf:type ontology:Q8192 . ?a rdf:type ontology:Q34770 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q1860 property:P282 ?m . ?m rdf:type ontology:Q34770 } } . FILTER ( ?h = ?g ) }
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { ?a property:writing_system ?p . ?p rdf:type ontology:writing_system . ?a rdf:type ontology:language } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:English property:writing_system ?m . ?m rdf:type ontology:language } } . FILTER ( ?h = ?g ) }
[]
writing system language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q8192))
action approx
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1860
relation P282
type Q34770
[ANSWER] utilizes around the same number of writing systems as the writing system as that language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { ?a property:P282 ?p . ?p rdf:type ontology:Q8192 . ?a rdf:type ontology:Q34770 } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q1860 property:P282 ?m . ?m rdf:type ontology:Q34770 } } . FILTER ( ?h = ?g ) }
Late Old Japanese
Late Old Japanese utilizes around the same number of writing systems as the writing system as that language
Late Old Japanese
action approx
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity English
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?p ) AS ?h ) WHERE { ?a property:writing_system ?p . ?p rdf:type ontology:writing_system . ?a rdf:type ontology:language } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:English property:writing_system ?m . ?m rdf:type ontology:language } } . FILTER ( ?h = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q811430 Q2235308 Q811430
USER
Which constructions are the main uses of approximately 1 ship types and constructions ?
(c(Q2235308)|c(Q811430),P366,c(Q811430))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q811430
type Q811430
value 1
[[{'concept': 'Q2235308'}, {'concept': 'Q811430'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P366 ?k . ?k rdf:type ontology:Q811430 . ?i rdf:type ontology:Q2235308 } UNION { ?k rdf:type ontology:Q811430 . ?i rdf:type ontology:Q811430 . ?i property:P366 ?k } } GROUP BY ?k } . FILTER ( ?d = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type ship type
action find_reverse_tuple_counts
relation use
type construction
type construction
value 1
[[{'concept': 'ship type'}, {'concept': 'construction'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:use ?k . ?k rdf:type ontology:construction . ?i rdf:type ontology:ship_type } UNION { ?k rdf:type ontology:construction . ?i rdf:type ontology:construction . ?i property:use ?k } } GROUP BY ?k } . FILTER ( ?d = 1 ) }
[]
construction ship type construction
Q174782 Q18674739 Q39715
SYSTEM
square, event venue, lighthouse
Q174782 Q18674739 Q39715
(c(Q2235308)|c(Q811430),P366,c(Q811430))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action find_reverse_tuple_counts
relation P366
type Q811430
type Q811430
value 1
[ANSWERS] are the main uses of approximately 1 ship types and constructions
[[{'concept': 'Q2235308'}, {'concept': 'Q811430'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:P366 ?k . ?k rdf:type ontology:Q811430 . ?i rdf:type ontology:Q2235308 } UNION { ?k rdf:type ontology:Q811430 . ?i rdf:type ontology:Q811430 . ?i property:P366 ?k } } GROUP BY ?k } . FILTER ( ?d = 1 ) }
square event venue lighthouse
Square, event venue and lighthouse are the main uses of approximately 1 ship types and constructions
square event venue lighthouse
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type ship type
action find_reverse_tuple_counts
relation use
type construction
type construction
value 1
[[{'concept': 'ship type'}, {'concept': 'construction'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?d ) WHERE { { ?i property:use ?k . ?k rdf:type ontology:construction . ?i rdf:type ontology:ship_type } UNION { ?k rdf:type ontology:construction . ?i rdf:type ontology:construction . ?i property:use ?k } } GROUP BY ?k } . FILTER ( ?d = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P103
Q6619679 Q95074
USER
How many fictional humanoids and fictional characters speaks English as his/her mother tongue ?
(c(Q6619679),P103,Q1860) (c(Q95074),P103,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P103
type Q6619679
action filter_type
action find_reverse
entity Q1860
relation P103
type Q95074
[{'concept': 'Q6619679'}, 'P103', 'Q1860'] [{'concept': 'Q95074'}, 'P103', 'Q1860']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:P103 resource:Q1860 . ?t rdf:type ontology:Q6619679 } UNION { ?t property:P103 resource:Q1860 . ?t rdf:type ontology:Q95074 } }
English
action count
action union
action filter_type
action find_reverse
entity English
relation native language
type fictional humanoid
action filter_type
action find_reverse
entity English
relation native language
type fictional character
[{'concept': 'fictional humanoid'}, 'native language', 'English'] [{'concept': 'fictional character'}, 'native language', 'English']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:native_language resource:English . ?t rdf:type ontology:fictional_humanoid } UNION { ?t property:native_language resource:English . ?t rdf:type ontology:fictional_character } }
[]
fictional humanoid fictional character
SYSTEM
7 fictional humanoids and 4 fictional characters
Q249898 Q1824049 Q3946354 Q3898780 Q3556005 Q3808548 Q4574639 Q2277080 Q2640712 Q3639189 Q3900793
(c(Q6619679),P103,Q1860) (c(Q95074),P103,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P103
type Q6619679
action filter_type
action find_reverse
entity Q1860
relation P103
type Q95074
[ANSWER]
[{'concept': 'Q6619679'}, 'P103', 'Q1860'] [{'concept': 'Q95074'}, 'P103', 'Q1860']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:P103 resource:Q1860 . ?t rdf:type ontology:Q6619679 } UNION { ?t property:P103 resource:Q1860 . ?t rdf:type ontology:Q95074 } }
David Palmer Aki Ross Sam Seaborn Peggy Olson Vernon Sullivan Joan Holloway Jack Crawford Clarice Starling Don Draper Betty Draper Pete Campbell
7 fictional humanoids and 4 fictional characters
action count
action union
action filter_type
action find_reverse
entity English
relation native language
type fictional humanoid
action filter_type
action find_reverse
entity English
relation native language
type fictional character
[{'concept': 'fictional humanoid'}, 'native language', 'English'] [{'concept': 'fictional character'}, 'native language', 'English']
SELECT DISTINCT ( COUNT ( ?t ) AS ?q ) WHERE { { ?t property:native_language resource:English . ?t rdf:type ontology:fictional_humanoid } UNION { ?t property:native_language resource:English . ?t rdf:type ontology:fictional_character } }
[]