Simple Question (Direct)
Simple Question
Q4864721
P69
Q163740
USER
Where was Barry Schwartz educated ?
(Q4864721,P69,c(Q163740))
action filter_type
action find
entity Q4864721
relation P69
type Q163740
['Q4864721', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q4864721 property:P69 ?r . ?r rdf:type ontology:Q163740 }
Barry Schwartz
action filter_type
action find
entity Barry Schwartz
relation educated at
type nonprofit organization
['Barry Schwartz', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:Barry_Schwartz property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49117
SYSTEM
University of Pennsylvania
Q49117
(Q4864721,P69,c(Q163740))
action filter_type
action find
entity Q4864721
relation P69
type Q163740
Barry Schwartz was educated by [ANSWER]
['Q4864721', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?r WHERE { resource:Q4864721 property:P69 ?r . ?r rdf:type ontology:Q163740 }
University of Pennsylvania
Barry Schwartz was educated by University of Pennsylvania
University of Pennsylvania
action filter_type
action find
entity Barry Schwartz
relation educated at
type nonprofit organization
['Barry Schwartz', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?r WHERE { resource:Barry_Schwartz property:educated_at ?r . ?r rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q49117
P138
Q23397
USER
Which lake is named after that nonprofit organization ?
(c(Q23397),P138,Q49117)
action filter_type
action find_reverse
entity Q49117
relation P138
type Q23397
[{'concept': 'Q23397'}, 'P138', 'Q49117']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q23397 . ?p property:P138 resource:Q49117 }
University of Pennsylvania
action filter_type
action find_reverse
entity University of Pennsylvania
relation named after
type lake
[{'concept': 'lake'}, 'named after', 'University of Pennsylvania']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:lake . ?p property:named_after resource:University_of_Pennsylvania }
[]
lake
Q7163314
SYSTEM
Penn Tarn
Q7163314
(c(Q23397),P138,Q49117)
action filter_type
action find_reverse
entity Q49117
relation P138
type Q23397
[ANSWER] is named after that nonprofit organization
[{'concept': 'Q23397'}, 'P138', 'Q49117']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q23397 . ?p property:P138 resource:Q49117 }
Penn Tarn
Penn Tarn is named after that nonprofit organization
Penn Tarn
action filter_type
action find_reverse
entity University of Pennsylvania
relation named after
type lake
[{'concept': 'lake'}, 'named after', 'University of Pennsylvania']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:lake . ?p property:named_after resource:University_of_Pennsylvania }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7163314
P30
Q2221906
USER
Which geographic location is that lake situated in ?
(Q7163314,P30,c(Q2221906))
action filter_type
action find
entity Q7163314
relation P30
type Q2221906
['Q7163314', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2221906 . resource:Q7163314 property:P30 ?z }
Penn Tarn
action filter_type
action find
entity Penn Tarn
relation continent
type geographic location
['Penn Tarn', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:geographic_location . resource:Penn_Tarn property:continent ?z }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q7163314,P30,c(Q2221906))
action filter_type
action find
entity Q7163314
relation P30
type Q2221906
That lake is situated in [ANSWER]
['Q7163314', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2221906 . resource:Q7163314 property:P30 ?z }
Antarctica
That lake is situated in Antarctica
Antarctica
action filter_type
action find
entity Penn Tarn
relation continent
type geographic location
['Penn Tarn', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:geographic_location . resource:Penn_Tarn property:continent ?z }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q2221906 Q43229 Q21114848
USER
Which geographic locations are the fields of work of less number of organizations or magazine genres than that geographic location ?
(c(Q43229)|c(Q21114848),P101,c(Q2221906))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q2221906
type Q43229
action find_reverse_tuple_counts
relation P101
type Q2221906
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q51
relation P101
type Q43229
type Q21114848
[[{'concept': 'Q43229'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?t ) { ( ontology:Q43229 ) ( ontology:Q21114848 ) } . ?z rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P101 resource:Q51 . { { ?u rdf:type ontology:Q21114848 } UNION { ?u rdf:type ontology:Q43229 } } } } . FILTER ( ?c < ?h ) }
action less
action union
action find_reverse_tuple_counts
relation field of work
type geographic location
type organization
action find_reverse_tuple_counts
relation field of work
type geographic location
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Antarctica
relation field of work
type organization
type magazine genre
[[{'concept': 'organization'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?t ) { ( ontology:organization ) ( ontology:magazine_genre ) } . ?z rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:field_of_work resource:Antarctica . { { ?u rdf:type ontology:magazine_genre } UNION { ?u rdf:type ontology:organization } } } } . FILTER ( ?c < ?h ) }
[]
geographic location organization magazine genre
Q48 Q15 Q7204
SYSTEM
Asia, Africa, Middle East
Q900636 Q44497 Q107425 Q11708 Q48 Q7204 Q15 Q48214 Q27468 Q1555938 Q837718 Q46 Q12585 Q8072 Q27509
(c(Q43229)|c(Q21114848),P101,c(Q2221906))
action less
action union
action find_reverse_tuple_counts
relation P101
type Q2221906
type Q43229
action find_reverse_tuple_counts
relation P101
type Q2221906
type Q21114848
action count
action filter_multi_types
action find_reverse
entity Q51
relation P101
type Q43229
type Q21114848
[ANSWERS] are the fields of work of less number of organizations or magazine genres than that geographic location
[[{'concept': 'Q43229'}, {'concept': 'Q21114848'}], 'P101', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?t ) { ( ontology:Q43229 ) ( ontology:Q21114848 ) } . ?z rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:P101 resource:Q51 . { { ?u rdf:type ontology:Q21114848 } UNION { ?u rdf:type ontology:Q43229 } } } } . FILTER ( ?c < ?h ) }
Central and Eastern Europe mining landscape Southeast Asia Asia Middle East Africa Near East Eastern Europe Antarctic energy storage Europe Latin America volcano Central Europe
Asia, Africa and Middle East are the fields of work of less number of organizations or magazine genres than that geographic location
Asia Africa Middle East
action less
action union
action find_reverse_tuple_counts
relation field of work
type geographic location
type organization
action find_reverse_tuple_counts
relation field of work
type geographic location
type magazine genre
action count
action filter_multi_types
action find_reverse
entity Antarctica
relation field of work
type organization
type magazine genre
[[{'concept': 'organization'}, {'concept': 'magazine genre'}], 'field of work', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?z ) AS ?c ) WHERE { VALUES ( ?t ) { ( ontology:organization ) ( ontology:magazine_genre ) } . ?z rdf:type ?t } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) WHERE { ?u property:field_of_work resource:Antarctica . { { ?u rdf:type ontology:magazine_genre } UNION { ?u rdf:type ontology:organization } } } } . FILTER ( ?c < ?h ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P361
Q2221906 Q16889133
USER
How many geographic locations or classes are that geographic location a portion of ?
(Q48,P361,c(Q2221906)) (Q48,P361,c(Q16889133)) (Q48,P361,c(Q2221906)) (Q48,P361,c(Q16889133)) (Q15,P361,c(Q2221906)) (Q15,P361,c(Q16889133)) (Q7204,P361,c(Q2221906)) (Q7204,P361,c(Q16889133))
['Q48', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q16889133'}] ['Q48', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q16889133'}] ['Q15', 'P361', {'concept': 'Q2221906'}] ['Q15', 'P361', {'concept': 'Q16889133'}] ['Q7204', 'P361', {'concept': 'Q2221906'}] ['Q7204', 'P361', {'concept': 'Q16889133'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q21469571 property:P361 ?z } UNION { resource:Q21469571 property:P361 ?y } UNION { resource:Q21469571 property:P361 ?z } UNION { resource:Q21469571 property:P361 ?y } UNION { resource:Q4689535 property:P361 ?z } UNION { resource:Q4689535 property:P361 ?y } UNION { resource:Q1940683 property:P361 ?z } UNION { resource:Q1940683 property:P361 ?y } } . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q16889133 }
['Asia', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'class'}] ['Asia', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'class'}] ['Africa', 'part of', {'concept': 'geographic location'}] ['Africa', 'part of', {'concept': 'class'}] ['Middle East', 'part of', {'concept': 'geographic location'}] ['Middle East', 'part of', {'concept': 'class'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Asia property:part_of ?z } UNION { resource:Asia property:part_of ?y } UNION { resource:Asia property:part_of ?z } UNION { resource:Asia property:part_of ?y } UNION { resource:Africa property:part_of ?z } UNION { resource:Africa property:part_of ?y } UNION { resource:Middle_East property:part_of ?z } UNION { resource:Middle_East property:part_of ?y } } . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:class }
[]
geographic location class
Quantitative|Count|Mult. entity type|Clarification
Q15
SYSTEM
Did you mean Africa ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q21469571 property:P361 ?z } UNION { resource:Q21469571 property:P361 ?y } UNION { resource:Q21469571 property:P361 ?z } UNION { resource:Q21469571 property:P361 ?y } UNION { resource:Q4689535 property:P361 ?z } UNION { resource:Q4689535 property:P361 ?y } UNION { resource:Q1940683 property:P361 ?z } UNION { resource:Q1940683 property:P361 ?y } } . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q16889133 }
Did you mean Africa ?
Africa
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Asia property:part_of ?z } UNION { resource:Asia property:part_of ?y } UNION { resource:Asia property:part_of ?z } UNION { resource:Asia property:part_of ?y } UNION { resource:Africa property:part_of ?z } UNION { resource:Africa property:part_of ?y } UNION { resource:Middle_East property:part_of ?z } UNION { resource:Middle_East property:part_of ?y } } . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:class }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Asia. Could you tell me the answer for that?
(Q48,P361,c(Q2221906)) (Q48,P361,c(Q16889133)) (Q48,P361,c(Q2221906)) (Q48,P361,c(Q16889133)) (Q15,P361,c(Q2221906)) (Q15,P361,c(Q16889133)) (Q7204,P361,c(Q2221906)) (Q7204,P361,c(Q16889133))
Q48
['Q48', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q16889133'}] ['Q48', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q16889133'}] ['Q15', 'P361', {'concept': 'Q2221906'}] ['Q15', 'P361', {'concept': 'Q16889133'}] ['Q7204', 'P361', {'concept': 'Q2221906'}] ['Q7204', 'P361', {'concept': 'Q16889133'}]
['Asia', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'class'}] ['Asia', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'class'}] ['Africa', 'part of', {'concept': 'geographic location'}] ['Africa', 'part of', {'concept': 'class'}] ['Middle East', 'part of', {'concept': 'geographic location'}] ['Middle East', 'part of', {'concept': 'class'}]
[]
SYSTEM
3
Q2035462 Q5401 Q2
(Q48,P361,c(Q2221906)) (Q48,P361,c(Q16889133)) (Q48,P361,c(Q2221906)) (Q48,P361,c(Q16889133)) (Q15,P361,c(Q2221906)) (Q15,P361,c(Q16889133)) (Q7204,P361,c(Q2221906)) (Q7204,P361,c(Q16889133))
[ANSWER]
['Q48', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q16889133'}] ['Q48', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q16889133'}] ['Q15', 'P361', {'concept': 'Q2221906'}] ['Q15', 'P361', {'concept': 'Q16889133'}] ['Q7204', 'P361', {'concept': 'Q2221906'}] ['Q7204', 'P361', {'concept': 'Q16889133'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q21469571 property:P361 ?z } UNION { resource:Q21469571 property:P361 ?y } UNION { resource:Q21469571 property:P361 ?z } UNION { resource:Q21469571 property:P361 ?y } UNION { resource:Q4689535 property:P361 ?z } UNION { resource:Q4689535 property:P361 ?y } UNION { resource:Q1940683 property:P361 ?z } UNION { resource:Q1940683 property:P361 ?y } } . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q16889133 }
Ostfeste Eurasia Earth
3
['Asia', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'class'}] ['Asia', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'class'}] ['Africa', 'part of', {'concept': 'geographic location'}] ['Africa', 'part of', {'concept': 'class'}] ['Middle East', 'part of', {'concept': 'geographic location'}] ['Middle East', 'part of', {'concept': 'class'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Asia property:part_of ?z } UNION { resource:Asia property:part_of ?y } UNION { resource:Asia property:part_of ?z } UNION { resource:Asia property:part_of ?y } UNION { resource:Africa property:part_of ?z } UNION { resource:Africa property:part_of ?y } UNION { resource:Middle_East property:part_of ?z } UNION { resource:Middle_East property:part_of ?y } } . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:class }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16445378 Q49117
P17
Q15617994
USER
Which administrative territories are University of Pennsylvania or Baravykai present in ?
OR((Q49117,P17,c(Q15617994)), (Q16445378,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49117
relation P17
action find
entity Q16445378
relation P17
type Q15617994
{'OR': [['Q49117', 'P17', {'concept': 'Q15617994'}], ['Q16445378', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q49117 property:P17 ?k } UNION { resource:Q16445378 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
Baravykai University of Pennsylvania
action filter_type
action union
action find
entity University of Pennsylvania
relation country
action find
entity Baravykai
relation country
type designation for an administrative territorial entity
{'OR': [['University of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Baravykai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:University_of_Pennsylvania property:country ?k } UNION { resource:Baravykai property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q37
SYSTEM
United States of America, Lithuania
Q30 Q37
OR((Q49117,P17,c(Q15617994)), (Q16445378,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q49117
relation P17
action find
entity Q16445378
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q49117', 'P17', {'concept': 'Q15617994'}], ['Q16445378', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q49117 property:P17 ?k } UNION { resource:Q16445378 property:P17 ?k } } . ?k rdf:type ontology:Q15617994 }
United States of America Lithuania
Which administrative territories are University of Pennsylvania or Baravykai present in
United States of America Lithuania
action filter_type
action union
action find
entity University of Pennsylvania
relation country
action find
entity Baravykai
relation country
type designation for an administrative territorial entity
{'OR': [['University of Pennsylvania', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Baravykai', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:University_of_Pennsylvania property:country ?k } UNION { resource:Baravykai property:country ?k } } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P530
Q15617994 Q5589178
USER
How many administrative territories or regimes have diplomatic relationships with that administrative territory ?
(Q37,P530,c(Q15617994)) (Q37,P530,c(Q5589178)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q5589178)) (Q37,P530,c(Q15617994)) (Q37,P530,c(Q5589178))
['Q37', 'P530', {'concept': 'Q15617994'}] ['Q37', 'P530', {'concept': 'Q5589178'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q5589178'}] ['Q37', 'P530', {'concept': 'Q15617994'}] ['Q37', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q6648231 property:P530 ?z } UNION { resource:Q6648231 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } UNION { resource:Q6648231 property:P530 ?z } UNION { resource:Q6648231 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q5589178 }
['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'diplomatic relation', {'concept': 'regime'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'regime'}] ['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Lithuania property:diplomatic_relation ?z } UNION { resource:Lithuania property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } UNION { resource:Lithuania property:diplomatic_relation ?z } UNION { resource:Lithuania property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:regime }
[]
designation for an administrative territorial entity regime
Quantitative|Count|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q6648231 property:P530 ?z } UNION { resource:Q6648231 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } UNION { resource:Q6648231 property:P530 ?z } UNION { resource:Q6648231 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q5589178 }
Did you mean United States of America ?
United States of America
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Lithuania property:diplomatic_relation ?z } UNION { resource:Lithuania property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } UNION { resource:Lithuania property:diplomatic_relation ?z } UNION { resource:Lithuania property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:regime }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Lithuania. Could you tell me the answer for that?
(Q37,P530,c(Q15617994)) (Q37,P530,c(Q5589178)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q5589178)) (Q37,P530,c(Q15617994)) (Q37,P530,c(Q5589178))
Q37
['Q37', 'P530', {'concept': 'Q15617994'}] ['Q37', 'P530', {'concept': 'Q5589178'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q5589178'}] ['Q37', 'P530', {'concept': 'Q15617994'}] ['Q37', 'P530', {'concept': 'Q5589178'}]
['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'diplomatic relation', {'concept': 'regime'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'regime'}] ['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'diplomatic relation', {'concept': 'regime'}]
[]
SYSTEM
4
Q30 Q38 Q842199 Q145
(Q37,P530,c(Q15617994)) (Q37,P530,c(Q5589178)) (Q30,P530,c(Q15617994)) (Q30,P530,c(Q5589178)) (Q37,P530,c(Q15617994)) (Q37,P530,c(Q5589178))
[ANSWER]
['Q37', 'P530', {'concept': 'Q15617994'}] ['Q37', 'P530', {'concept': 'Q5589178'}] ['Q30', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q5589178'}] ['Q37', 'P530', {'concept': 'Q15617994'}] ['Q37', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q6648231 property:P530 ?z } UNION { resource:Q6648231 property:P530 ?y } UNION { resource:Q30 property:P530 ?z } UNION { resource:Q30 property:P530 ?y } UNION { resource:Q6648231 property:P530 ?z } UNION { resource:Q6648231 property:P530 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q5589178 }
United States of America Italy Belarusian People's Republic United Kingdom
4
['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'diplomatic relation', {'concept': 'regime'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'regime'}] ['Lithuania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Lithuania', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Lithuania property:diplomatic_relation ?z } UNION { resource:Lithuania property:diplomatic_relation ?y } UNION { resource:United_States_of_America property:diplomatic_relation ?z } UNION { resource:United_States_of_America property:diplomatic_relation ?y } UNION { resource:Lithuania property:diplomatic_relation ?z } UNION { resource:Lithuania property:diplomatic_relation ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:regime }
[]