Simple Question (Direct)
Simple Question
Q1738251
P1412
Q34770
USER
Which language can Francisco Manoel de Nascimento understand ?
(Q1738251,P1412,c(Q34770))
action filter_type
action find
entity Q1738251
relation P1412
type Q34770
['Q1738251', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1738251 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Francisco Manoel de Nascimento
action filter_type
action find
entity Francisco Manoel de Nascimento
relation languages spoken, written or signed
type language
['Francisco Manoel de Nascimento', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Francisco_Manoel_de_Nascimento property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q397
SYSTEM
Latin
Q397
(Q1738251,P1412,c(Q34770))
action filter_type
action find
entity Q1738251
relation P1412
type Q34770
Francisco Manoel de Nascimento can understand the [ANSWER]
['Q1738251', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q1738251 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Latin
Francisco Manoel de Nascimento can understand the Latin
Latin
action filter_type
action find
entity Francisco Manoel de Nascimento
relation languages spoken, written or signed
type language
['Francisco Manoel de Nascimento', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Francisco_Manoel_de_Nascimento property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q397 Q6324196
P1412
Q502895
USER
Does K. Vadivel talk in that language ?
(Q6324196,P1412,Q397)
action is_in
entity Q6324196
action find
entity Q397
relation P1412
['Q6324196', 'P1412', 'Q397']
ASK WHERE { resource:Q397 property:P1412 resource:Q6324196 }
Latin K. Vadivel
action is_in
entity K. Vadivel
action find
entity Latin
relation languages spoken, written or signed
['K. Vadivel', 'languages spoken, written or signed', 'Latin']
ASK WHERE { resource:Latin property:languages_spoken,_written_or_signed resource:K._Vadivel }
[]
common name
SYSTEM
NO
(Q6324196,P1412,Q397)
action is_in
entity Q6324196
action find
entity Q397
relation P1412
[ANSWER]
['Q6324196', 'P1412', 'Q397']
ASK WHERE { resource:Q397 property:P1412 resource:Q6324196 }
No
action is_in
entity K. Vadivel
action find
entity Latin
relation languages spoken, written or signed
['K. Vadivel', 'languages spoken, written or signed', 'Latin']
ASK WHERE { resource:Latin property:languages_spoken,_written_or_signed resource:K._Vadivel }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1738251 Q597
P19
Q56061
USER
Was Lisbon that person born ?
(Q1738251,P19,Q597)
action is_in
entity Q597
action find
entity Q1738251
relation P19
['Q1738251', 'P19', 'Q597']
ASK WHERE { resource:Q1738251 property:P19 resource:Q597 }
Francisco Manoel de Nascimento Lisbon
action is_in
entity Lisbon
action find
entity Francisco Manoel de Nascimento
relation place of birth
['Francisco Manoel de Nascimento', 'place of birth', 'Lisbon']
ASK WHERE { resource:Francisco_Manoel_de_Nascimento property:place_of_birth resource:Lisbon }
[]
administrative territorial entity
SYSTEM
YES
(Q1738251,P19,Q597)
action is_in
entity Q597
action find
entity Q1738251
relation P19
[ANSWER]
['Q1738251', 'P19', 'Q597']
ASK WHERE { resource:Q1738251 property:P19 resource:Q597 }
Yes
action is_in
entity Lisbon
action find
entity Francisco Manoel de Nascimento
relation place of birth
['Francisco Manoel de Nascimento', 'place of birth', 'Lisbon']
ASK WHERE { resource:Francisco_Manoel_de_Nascimento property:place_of_birth resource:Lisbon }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q829464
P282
Q9779 Q34770
USER
How many alphabets are the writing systems of approximately the same number of languages known as as Serbian Cyrillic alphabet ?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q829464
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P282 ?w . ?y rdf:type ontology:Q34770 . ?w rdf:type ontology:Q9779 } GROUP BY ?w } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q829464 property:P282 ?c . ?c rdf:type ontology:Q9779 } } }
Serbian Cyrillic alphabet
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Serbian Cyrillic alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:writing_system ?w . ?y rdf:type ontology:language . ?w rdf:type ontology:alphabet } GROUP BY ?w } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Serbian_Cyrillic_alphabet property:writing_system ?c . ?c rdf:type ontology:alphabet } } }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q829464
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:P282 ?w . ?y rdf:type ontology:Q34770 . ?w rdf:type ontology:Q9779 } GROUP BY ?w } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q829464 property:P282 ?c . ?c rdf:type ontology:Q9779 } } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Serbian Cyrillic alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?y ) AS ?h ) WHERE { ?y property:writing_system ?w . ?y rdf:type ontology:language . ?w rdf:type ontology:alphabet } GROUP BY ?w } . FILTER ( ?h = ?s ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Serbian_Cyrillic_alphabet property:writing_system ?c . ?c rdf:type ontology:alphabet } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q83942
P282
Q9779 Q34770
USER
And how about Jawi alphabet?
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q83942
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P282 ?h . ?h rdf:type ontology:Q9779 . ?q rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q9779 . resource:Q83942 property:P282 ?s } } . FILTER ( ?e = ?j ) }
Jawi alphabet
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Jawi alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:writing_system ?h . ?h rdf:type ontology:alphabet . ?q rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:alphabet . resource:Jawi_alphabet property:writing_system ?s } } . FILTER ( ?e = ?j ) }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q83942
relation P282
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:P282 ?h . ?h rdf:type ontology:Q9779 . ?q rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:Q9779 . resource:Q83942 property:P282 ?s } } . FILTER ( ?e = ?j ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Jawi alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?e ) WHERE { ?q property:writing_system ?h . ?h rdf:type ontology:alphabet . ?q rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { ?s rdf:type ontology:alphabet . resource:Jawi_alphabet property:writing_system ?s } } . FILTER ( ?e = ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9211152 Q6324196
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof K. Vadivel or are Voivodeship road 131 located in ?
OR((Q6324196,P27,c(Q15617994)), (Q9211152,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6324196
relation P27
action find
entity Q9211152
relation P17
type Q15617994
{'OR': [['Q6324196', 'P27', {'concept': 'Q15617994'}], ['Q9211152', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6324196 property:P27 ?s } UNION { resource:Q9211152 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Voivodeship road 131 K. Vadivel
action filter_type
action union
action find
entity K. Vadivel
relation country of citizenship
action find
entity Voivodeship road 131
relation country
type designation for an administrative territorial entity
{'OR': [['K. Vadivel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Voivodeship road 131', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:K._Vadivel property:country_of_citizenship ?s } UNION { resource:Voivodeship_road_131 property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q668
SYSTEM
Poland, India
Q36 Q668
OR((Q6324196,P27,c(Q15617994)), (Q9211152,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6324196
relation P27
action find
entity Q9211152
relation P17
type Q15617994
[ANSWERS] are the native countriesof K. Vadivel or are Voivodeship road 131 located in
{'OR': [['Q6324196', 'P27', {'concept': 'Q15617994'}], ['Q9211152', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q6324196 property:P27 ?s } UNION { resource:Q9211152 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Poland India
Poland and India are the native countriesof K. Vadivel or are Voivodeship road 131 located in
Poland India
action filter_type
action union
action find
entity K. Vadivel
relation country of citizenship
action find
entity Voivodeship road 131
relation country
type designation for an administrative territorial entity
{'OR': [['K. Vadivel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Voivodeship road 131', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:K._Vadivel property:country_of_citizenship ?s } UNION { resource:Voivodeship_road_131 property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36 Q668
P159
Q43229
USER
Which organizations have HQ at those administrative territories ?
(c(Q43229),P159,Q36) (c(Q43229),P159,Q668)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q36'] [{'concept': 'Q43229'}, 'P159', 'Q668']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q43229 . ?e property:P159 ?d . VALUES ( ?d ) { ( resource:Q36 ) ( resource:Q668 ) } }
Poland India
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Poland'] [{'concept': 'organization'}, 'headquarters location', 'India']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:organization . ?e property:headquarters_location ?d . VALUES ( ?d ) { ( resource:Poland ) ( resource:India ) } }
[]
organization
Q1523539 Q26759586 Q906943
SYSTEM
All India Students Federation, Digitant Consulting Pvt Ltd, Grasim Industries
Q6127600 Q4035602 Q9164980 Q5058436 Q1523539 Q1371239 Q7937544 Q19903747 Q1584018 Q26759586 Q7317634 Q10981974 Q7669021 Q7912472 Q4835608 Q906943 Q5340835 Q4883110
(c(Q43229),P159,Q36) (c(Q43229),P159,Q668)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q43229
[ANSWERS] have HQ at those administrative territories
[{'concept': 'Q43229'}, 'P159', 'Q36'] [{'concept': 'Q43229'}, 'P159', 'Q668']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q43229 . ?e property:P159 ?d . VALUES ( ?d ) { ( resource:Q36 ) ( resource:Q668 ) } }
Polish Red Cross CD Projekt Investment Bank Gospodarki Żywnościowej Celoxis All India Students Federation Steel Authority of India Limited Vivanta By Taj TYKA Sports RITES Digitant Consulting Pvt Ltd Reuters Market Light Railway Recruitment Control Board T24 Mobile Vallée de Vin BHUMI Grasim Industries Educate Girls Bell Bajao
All India Students Federation, Digitant Consulting Pvt Ltd and Grasim Industries have HQ at those administrative territories
All India Students Federation Digitant Consulting Pvt Ltd Grasim Industries
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Poland'] [{'concept': 'organization'}, 'headquarters location', 'India']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:organization . ?e property:headquarters_location ?d . VALUES ( ?d ) { ( resource:Poland ) ( resource:India ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1523539 Q26759586 Q906943
P159
Q15617994
USER
Where are the head office for those organizations located ?
(Q1523539,P159,c(Q15617994)) (Q26759586,P159,c(Q15617994)) (Q906943,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
['Q1523539', 'P159', {'concept': 'Q15617994'}] ['Q26759586', 'P159', {'concept': 'Q15617994'}] ['Q906943', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?f property:P159 ?c . ?c rdf:type ontology:Q15617994 . VALUES ( ?f ) { ( resource:Q6127600 ) ( resource:Q4035602 ) ( resource:Q9164980 ) } }
All India Students Federation Digitant Consulting Pvt Ltd Grasim Industries
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['All India Students Federation', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Digitant Consulting Pvt Ltd', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Grasim Industries', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?f property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?f ) { ( resource:Polish_Red_Cross ) ( resource:CD_Projekt_Investment ) ( resource:Bank_Gospodarki_Żywnościowej ) } }
[]
designation for an administrative territorial entity
Q668 Q668 Q668
SYSTEM
India
Q668 Q668 Q668
(Q1523539,P159,c(Q15617994)) (Q26759586,P159,c(Q15617994)) (Q906943,P159,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P159
type Q15617994
Are the head office for those organizations located in [ANSWER], [ANSWER] and [ANSWER]
['Q1523539', 'P159', {'concept': 'Q15617994'}] ['Q26759586', 'P159', {'concept': 'Q15617994'}] ['Q906943', 'P159', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?f property:P159 ?c . ?c rdf:type ontology:Q15617994 . VALUES ( ?f ) { ( resource:Q6127600 ) ( resource:Q4035602 ) ( resource:Q9164980 ) } }
India India India
Are the head office for those organizations located in India, India and India
India India India
action filter_type
action find
entity prev_answer
relation headquarters location
type designation for an administrative territorial entity
['All India Students Federation', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Digitant Consulting Pvt Ltd', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}] ['Grasim Industries', 'headquarters location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?f property:headquarters_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?f ) { ( resource:Polish_Red_Cross ) ( resource:CD_Projekt_Investment ) ( resource:Bank_Gospodarki_Żywnościowej ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1523539
P463
Q43229
USER
Which organization was All India Students Federation a member of ?
(Q1523539,P463,c(Q43229))
action filter_type
action find
entity Q1523539
relation P463
type Q43229
['Q1523539', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . resource:Q1523539 property:P463 ?c }
All India Students Federation
action filter_type
action find
entity All India Students Federation
relation member of
type organization
['All India Students Federation', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . resource:All_India_Students_Federation property:member_of ?c }
[]
organization
Q27396
SYSTEM
World Federation of Democratic Youth
Q27396
(Q1523539,P463,c(Q43229))
action filter_type
action find
entity Q1523539
relation P463
type Q43229
The [ANSWER] was All India Students Federation a member of
['Q1523539', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q43229 . resource:Q1523539 property:P463 ?c }
World Federation of Democratic Youth
The World Federation of Democratic Youth was All India Students Federation a member of
World Federation of Democratic Youth
action filter_type
action find
entity All India Students Federation
relation member of
type organization
['All India Students Federation', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:organization . resource:All_India_Students_Federation property:member_of ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27396
P1142
Q7257
USER
Which ideology does that organization believe in ?
(Q27396,P1142,c(Q7257))
action filter_type
action find
entity Q27396
relation P1142
type Q7257
['Q27396', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?y WHERE { resource:Q27396 property:P1142 ?y . ?y rdf:type ontology:Q7257 }
World Federation of Democratic Youth
action filter_type
action find
entity World Federation of Democratic Youth
relation political ideology
type ideology
['World Federation of Democratic Youth', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?y WHERE { resource:World_Federation_of_Democratic_Youth property:political_ideology ?y . ?y rdf:type ontology:ideology }
[]
ideology
Q155059
SYSTEM
Leninism
Q155059
(Q27396,P1142,c(Q7257))
action filter_type
action find
entity Q27396
relation P1142
type Q7257
That organization believes in [ANSWER]
['Q27396', 'P1142', {'concept': 'Q7257'}]
SELECT DISTINCT ?y WHERE { resource:Q27396 property:P1142 ?y . ?y rdf:type ontology:Q7257 }
Leninism
That organization believes in Leninism
Leninism
action filter_type
action find
entity World Federation of Democratic Youth
relation political ideology
type ideology
['World Federation of Democratic Youth', 'political ideology', {'concept': 'ideology'}]
SELECT DISTINCT ?y WHERE { resource:World_Federation_of_Democratic_Youth property:political_ideology ?y . ?y rdf:type ontology:ideology }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q27396 Q2915473
P463
Q502895
USER
How many people are members of World Federation of Democratic Youth or The Dinner Party ?
(c(Q502895),P463,Q27396) (c(Q502895),P463,Q2915473)
action count
action union
action filter_type
action find_reverse
entity Q27396
relation P463
type Q502895
action filter_type
action find_reverse
entity Q2915473
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q27396'] [{'concept': 'Q502895'}, 'P463', 'Q2915473']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?e ) { ( resource:Q2915473 ) ( resource:Q27396 ) } . ?p property:P463 ?e }
World Federation of Democratic Youth The Dinner Party
action count
action union
action filter_type
action find_reverse
entity World Federation of Democratic Youth
relation member of
type common name
action filter_type
action find_reverse
entity The Dinner Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'World Federation of Democratic Youth'] [{'concept': 'common name'}, 'member of', 'The Dinner Party']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?e ) { ( resource:The_Dinner_Party ) ( resource:World_Federation_of_Democratic_Youth ) } . ?p property:member_of ?e }
[]
common name
SYSTEM
2
Q237886 Q2467169
(c(Q502895),P463,Q27396) (c(Q502895),P463,Q2915473)
action count
action union
action filter_type
action find_reverse
entity Q27396
relation P463
type Q502895
action filter_type
action find_reverse
entity Q2915473
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q27396'] [{'concept': 'Q502895'}, 'P463', 'Q2915473']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?e ) { ( resource:Q2915473 ) ( resource:Q27396 ) } . ?p property:P463 ?e }
Adela of Normandy Abella
2
action count
action union
action filter_type
action find_reverse
entity World Federation of Democratic Youth
relation member of
type common name
action filter_type
action find_reverse
entity The Dinner Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'World Federation of Democratic Youth'] [{'concept': 'common name'}, 'member of', 'The Dinner Party']
SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { VALUES ( ?e ) { ( resource:The_Dinner_Party ) ( resource:World_Federation_of_Democratic_Youth ) } . ?p property:member_of ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q668 Q237
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with India and Vatican City ?
(c(Q15617994),P530,Q668) (c(Q15617994),P530,Q237)
action count
action intersection
action filter_type
action find_reverse
entity Q668
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q237
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q668'] [{'concept': 'Q15617994'}, 'P530', 'Q237']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P530 resource:Q668 . ?y rdf:type ontology:Q15617994 . ?y property:P530 resource:Q237 . ?y rdf:type ontology:Q15617994 }
India Vatican City
action count
action intersection
action filter_type
action find_reverse
entity India
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Vatican City
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'India'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Vatican City']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:diplomatic_relation resource:India . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation resource:Vatican_City . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q230 Q801
(c(Q15617994),P530,Q668) (c(Q15617994),P530,Q237)
action count
action intersection
action filter_type
action find_reverse
entity Q668
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q237
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q668'] [{'concept': 'Q15617994'}, 'P530', 'Q237']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P530 resource:Q668 . ?y rdf:type ontology:Q15617994 . ?y property:P530 resource:Q237 . ?y rdf:type ontology:Q15617994 }
Georgia Israel
2
action count
action intersection
action filter_type
action find_reverse
entity India
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Vatican City
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'India'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Vatican City']
SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:diplomatic_relation resource:India . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y property:diplomatic_relation resource:Vatican_City . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]